接口文档 / 门诊接口

获取门诊单详情

GET/api/v2/open-agency/outpatient/{id}在线调试

响应参数

名称说明类型
Body 参数
data可选

数据

object
id必填

门诊单ID

string
clinicId必填

门店ID

string
patientOrderId可选

就诊单ID

string
patientOrderNo可选

诊号

示例:00019691

string
departmentId可选

就诊科室ID

string
departmentName可选

就诊科室名称

string
doctorId可选

就诊医生ID

string
doctorName可选

就诊医生名字

string
created必填

创建时间

格式:date-time

string
diagnosedDate可选

首次完成诊断时间

格式:date-time

string
status必填

状态 0:未诊 1:已诊

示例:0

integer
statusName必填

状态名称

string
revisitStatus可选

初复诊标识 1:初诊 2:复诊

示例:1

integer

响应示例

json
{
  "data": {
    "id": "string",
    "clinicId": "string",
    "patientOrderId": "string",
    "patientOrderNo": "00019691",
    "departmentId": "string",
    "departmentName": "string",
    "doctorId": "string",
    "doctorName": "string",
    "created": "2026-01-01T00:00:00Z",
    "diagnosedDate": "2026-01-01T00:00:00Z",
    "status": 0,
    "statusName": "string",
    "revisitStatus": 1,
    "patient": {
      "id": "000000fc446f4dbd989857e305b00d6s",
      "name": "张三",
      "mobile": 18080000000,
      "sex": "男",
      "birthday": "1970-08-14",
      "age": "60岁2月1天",
      "idCard": 630101200010075800,
      "idCardType": "身份证",
      "visitReason": "string"
    },
    "medicalRecord": {
      "id": "string",
      "outpatientSheetId": "ffffffff00000000094c2a500293c000",
      "chiefComplaint": "咽痛,干咳,咳痰",
      "pastHistory": "既往体健,既往有高血压",
      "familyHistory": "string",
      "presentHistory": "string",
      "physicalExamination": "string",
      "diagnosisInfos": "JX.001.001,急性上呼吸道感染,医保ICD10",
      "diagnosis": "急性上呼吸道感染",
      "doctorAdvice": "string",
      "syndrome": "string",
      "therapy": "string",
      "chineseExamination": "string",
      "wearGlassesHistory": "近视",
      "epidemiologicalHistory": "无",
      "obstetricalHistory": "string",
      "eyeExamination": {
        "items": [
          {
            "key": "string",
            "name": "string",
            "rightEyeValue": "string",
            "leftEyeValue": "string"
          }
        ]
      },
      "allergicHistory": "青霉素过敏",
      "auxiliaryExamination": "无",
      "attachments": [
        {
          "url": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/123.jpg",
          "fileName": "NatGeo09.jpg",
          "fileSize": 4771201
        }
      ]
    },
    "prescriptionChineseForms": [
      {
        "id": "string",
        "prescriptionFormItems": [
          {
            "id": "string",
            "verifySignatures": [
              {
                "productId": null,
                "productName": null,
                "status": null
              }
            ],
            "prescriptionFormId": "string",
            "productId": "string",
            "type": 1,
            "subType": 1,
            "name": "string",
            "specification": "string",
            "manufacturer": "string",
            "usage": "string",
            "ivgtt": 0,
            "ivgttUnit": "string",
            "freq": "string",
            "dosage": "string",
            "dosageUnit": "string",
            "days": 0,
            "specialRequirement": "string",
            "isDismounting": 0,
            "unitCount": 0,
            "unit": "string",
            "unitPrice": 0,
            "groupId": 0,
            "isAst": 0,
            "astResult": {
              "result": "阴性",
              "description": "执行人:王萍,执行时间:2022-04-13"
            },
            "productInfo": {
              "children": [
                null
              ],
              "id": "string",
              "name": "阿莫西林",
              "shebao": {
                "nationalCode": null,
                "insuranceTypes": null
              },
              "disableSell": 0,
              "typeId": 1,
              "dismounting": 0,
              "typeName": "药品",
              "customTypeId": 213,
              "isSell": 1,
              "customTypeName": "抗生素",
              "inTaxRat": 13,
              "manufacturer": "拜耳",
              "outTaxRat": 13,
              "medicineNmpn": "H20000001",
              "barCode": "string",
              "pieceUnit": "支",
              "pieceNum": 10,
              "piecePrice": 10.5,
              "packageUnit": "盒",
              "packagePrice": 105,
              "shortId": "K1001",
              "specification": "1ml:0.5mg*10支/盒",
              "otcType": 1,
              "status": 1,
              "lastModified": "2022-05-13 12:22:56",
              "goodsSpu": {
                "id": null,
                "name": null,
                "brandName": null,
                "material": null
              },
              "goodsSpec": {
                "color": null,
                "spec": null
              },
              "remark": "abc",
              "dosageFormType": 0,
              "dosageFormTypeName": "string",
              "priceType": 0,
              "priceMakeupPercent": 0
            }
          }
        ],
        "type": 1,
        "specification": "string",
        "doseCount": 0,
        "dailyDosage": "string",
        "usage": "string",
        "isUsageOut": 0,
        "freq": "string",
        "requirement": "string",
        "usageLevel": "string"
      }
    ],
    "prescriptionWesternForms": [
      {
        "id": "string",
        "prescriptionFormItems": [
          {
            "id": "string",
            "prescriptionFormId": "string",
            "productId": "string",
            "type": 1,
            "subType": 1,
            "name": "string",
            "specification": "string",
            "manufacturer": "string",
            "usage": "string",
            "ivgtt": 0,
            "ivgttUnit": "string",
            "freq": "string",
            "dosage": "string",
            "dosageUnit": "string",
            "days": 0,
            "specialRequirement": "string",
            "isDismounting": 0,
            "unitCount": 0,
            "unit": "string",
            "unitPrice": 0,
            "groupId": 0,
            "isAst": 0,
            "astResult": {
              "result": "阴性",
              "description": "执行人:王萍,执行时间:2022-04-13"
            },
            "productInfo": {
              "children": [
                null
              ],
              "id": "string",
              "name": "阿莫西林",
              "shebao": {
                "nationalCode": null,
                "insuranceTypes": null
              },
              "disableSell": 0,
              "typeId": 1,
              "dismounting": 0,
              "typeName": "药品",
              "customTypeId": 213,
              "isSell": 1,
              "customTypeName": "抗生素",
              "inTaxRat": 13,
              "manufacturer": "拜耳",
              "outTaxRat": 13,
              "medicineNmpn": "H20000001",
              "barCode": "string",
              "pieceUnit": "支",
              "pieceNum": 10,
              "piecePrice": 10.5,
              "packageUnit": "盒",
              "packagePrice": 105,
              "shortId": "K1001",
              "specification": "1ml:0.5mg*10支/盒",
              "otcType": 1,
              "status": 1,
              "lastModified": "2022-05-13 12:22:56",
              "goodsSpu": {
                "id": null,
                "name": null,
                "brandName": null,
                "material": null
              },
              "goodsSpec": {
                "color": null,
                "spec": null
              },
              "remark": "abc",
              "dosageFormType": 0,
              "dosageFormTypeName": "string",
              "priceType": 0,
              "priceMakeupPercent": 0
            }
          }
        ],
        "type": 1,
        "specification": "string",
        "doseCount": 0,
        "dailyDosage": "string",
        "usage": "string",
        "isUsageOut": 0,
        "freq": "string",
        "requirement": "string",
        "usageLevel": "string"
      }
    ],
    "prescriptionInfusionForms": [
      {
        "id": "string",
        "prescriptionFormItems": [
          {
            "id": "string",
            "prescriptionFormId": "string",
            "productId": "string",
            "type": 1,
            "subType": 1,
            "name": "string",
            "specification": "string",
            "manufacturer": "string",
            "usage": "string",
            "ivgtt": 0,
            "ivgttUnit": "string",
            "freq": "string",
            "dosage": "string",
            "dosageUnit": "string",
            "days": 0,
            "specialRequirement": "string",
            "isDismounting": 0,
            "unitCount": 0,
            "unit": "string",
            "unitPrice": 0,
            "groupId": 0,
            "isAst": 0,
            "astResult": {
              "result": "阴性",
              "description": "执行人:王萍,执行时间:2022-04-13"
            },
            "productInfo": {
              "children": [
                null
              ],
              "id": "string",
              "name": "阿莫西林",
              "shebao": {
                "nationalCode": null,
                "insuranceTypes": null
              },
              "disableSell": 0,
              "typeId": 1,
              "dismounting": 0,
              "typeName": "药品",
              "customTypeId": 213,
              "isSell": 1,
              "customTypeName": "抗生素",
              "inTaxRat": 13,
              "manufacturer": "拜耳",
              "outTaxRat": 13,
              "medicineNmpn": "H20000001",
              "barCode": "string",
              "pieceUnit": "支",
              "pieceNum": 10,
              "piecePrice": 10.5,
              "packageUnit": "盒",
              "packagePrice": 105,
              "shortId": "K1001",
              "specification": "1ml:0.5mg*10支/盒",
              "otcType": 1,
              "status": 1,
              "lastModified": "2022-05-13 12:22:56",
              "goodsSpu": {
                "id": null,
                "name": null,
                "brandName": null,
                "material": null
              },
              "goodsSpec": {
                "color": null,
                "spec": null
              },
              "remark": "abc",
              "dosageFormType": 0,
              "dosageFormTypeName": "string",
              "priceType": 0,
              "priceMakeupPercent": 0
            }
          }
        ],
        "type": 1,
        "specification": "string",
        "doseCount": 0,
        "dailyDosage": "string",
        "usage": "string",
        "isUsageOut": 0,
        "freq": "string",
        "requirement": "string",
        "usageLevel": "string"
      }
    ],
    "prescriptionExternalForms": [
      {
        "id": "string",
        "prescriptionFormItems": [
          {
            "id": "string",
            "prescriptionFormId": "string",
            "productId": "string",
            "type": 1,
            "subType": 1,
            "name": "string",
            "specification": "string",
            "manufacturer": "string",
            "usage": "string",
            "ivgtt": 0,
            "ivgttUnit": "string",
            "freq": "string",
            "dosage": "string",
            "dosageUnit": "string",
            "days": 0,
            "specialRequirement": "string",
            "isDismounting": 0,
            "unitCount": 0,
            "unit": "string",
            "unitPrice": 0,
            "groupId": 0,
            "isAst": 0,
            "astResult": {
              "result": "阴性",
              "description": "执行人:王萍,执行时间:2022-04-13"
            },
            "productInfo": {
              "children": [
                null
              ],
              "id": "string",
              "name": "阿莫西林",
              "shebao": {
                "nationalCode": null,
                "insuranceTypes": null
              },
              "disableSell": 0,
              "typeId": 1,
              "dismounting": 0,
              "typeName": "药品",
              "customTypeId": 213,
              "isSell": 1,
              "customTypeName": "抗生素",
              "inTaxRat": 13,
              "manufacturer": "拜耳",
              "outTaxRat": 13,
              "medicineNmpn": "H20000001",
              "barCode": "string",
              "pieceUnit": "支",
              "pieceNum": 10,
              "piecePrice": 10.5,
              "packageUnit": "盒",
              "packagePrice": 105,
              "shortId": "K1001",
              "specification": "1ml:0.5mg*10支/盒",
              "otcType": 1,
              "status": 1,
              "lastModified": "2022-05-13 12:22:56",
              "goodsSpu": {
                "id": null,
                "name": null,
                "brandName": null,
                "material": null
              },
              "goodsSpec": {
                "color": null,
                "spec": null
              },
              "remark": "abc",
              "dosageFormType": 0,
              "dosageFormTypeName": "string",
              "priceType": 0,
              "priceMakeupPercent": 0
            }
          }
        ],
        "type": 1,
        "specification": "string",
        "doseCount": 0,
        "dailyDosage": "string",
        "usage": "string",
        "isUsageOut": 0,
        "freq": "string",
        "requirement": "string",
        "usageLevel": "string"
      }
    ],
    "productForms": [
      {
        "id": "string",
        "type": 2,
        "productFormItems": [
          {
            "id": "string",
            "productFormId": "string",
            "productId": "string",
            "name": "string",
            "unitCount": 0,
            "unit": "string",
            "unitPrice": 0,
            "isDismounting": 0,
            "type": 1,
            "subType": 0,
            "days": 0,
            "dailyDosage": 0,
            "freq": "每日2次",
            "remark": "小心使用",
            "toothNos": [
              12,
              23
            ]
          }
        ]
      }
    ]
  },
  "error": null
}

业务失败包装示意

json
{
  "data": null,
  "error": {
    "code": 11003,
    "message": "不支持的授权类型{grantType}"
  }
}

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家