# 以下是handler描述 ## Handler 1: 获取患者类型 ### HTTP Method: GET ### Headers - **Authorization** - **Language**: `en` 或 `zh` - **Product**: `DROS` 或 `VETDROS` - **Source**: `Electron` 或 `Browser` 或 `Android` ### Endpoint URL: /dr/api/v1/auth/protocol/patient_type ### Response Status: 200 (OK) ### Response Data: Returns a JSON Example: ```json { "code": "0x000000", "description": "Success", "solution": "", "data": { "patient_type_list": [ { "id": "1", "patient_type_id": "Human", "patient_type_name": "Human", "patient_type_local": "Human", "patient_type_description": "Human", "sort": 1, "is_enabled": true, "product": "DROC", "is_pre_install": true }, { "id": "2", "patient_type_id": "SpecialType", "patient_type_name": "SpecialType", "patient_type_local": "SpecialType", "patient_type_description": "SpecialType", "sort": 2, "is_enabled": false, "product": "DROC", "is_pre_install": true } ] } } ``` ### Dynamic Behavior: None ### Delay: 500ms to simulate network latency ### Error Handling: None ## handler 2: ### HTTP Method: GET ### Headers - **Authorization** - **Language**: `en` 或 `zh` - **Product**: `DROS` 或 `VETDROS` - **Source**: `Electron` 或 `Browser` 或 `Android` ### Endpoint URL: /dr/api/v1/auth/protocol/body_part ### query params - patient_type:从患者类型接口获取 - modality:暂时只有DX - is_enabled:true 或 false ### Response Status: 200 (OK) ### Response Data: Returns a JSON 响应数据示例: ```json { "code": "0x000000", "description": "Success", "solution": "", "data": { "body_part_list": [ { "id": "1", "body_part_id": "Human_SKULL", "body_part_name": "颅骨", "body_part_local": "颅骨", "body_part_description": "Skull", "patient_type": "Human", "category": "DX", "sort": 1, "is_enabled": true, "product": "DROC", "is_pre_install": true }, { "id": "2", "body_part_id": "Human_NECK", "body_part_name": "颈部", "body_part_local": "颈部", "body_part_description": "Neck", "patient_type": "Human", "category": "DX", "sort": 2, "is_enabled": true, "product": "DROC", "is_pre_install": true } ] } } ``` ### Dynamic Behavior: None ### Delay: None ### Error Handling: None