接口文档 / 发药接口

根据收费单ID查询发药单详情列表

GET/api/v2/open-agency/dispensing/by-charge-sheet-id/{id}在线调试

响应参数

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

数据

object

响应示例

json
{
  "data": {
    "dispensingSheets": [
      {
        "clinicId": "ffffffff000000002620d6280d751234",
        "id": "ffffffff000000002620d6280d751234",
        "sourceSheetId": "ffffffff000000002620d6280d751234",
        "outpatientSheetId": "ffffffff00000000352d2a270fd78000",
        "doctorId": "ffffffff0000000022e9e9580179a123",
        "patientOrderId": "ffffffff0000000022e9e9580179a123",
        "patientOrderNo": "诊号:00003447",
        "diagnosedDate": "2022-07-14 12:00:00",
        "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": null,
                "name": null,
                "rightEyeValue": null,
                "leftEyeValue": null
              }
            ]
          },
          "allergicHistory": "青霉素过敏",
          "auxiliaryExamination": "无",
          "attachments": [
            {
              "url": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/123.jpg",
              "fileName": "NatGeo09.jpg",
              "fileSize": 4771201
            }
          ]
        },
        "patientInfo": {
          "id": "000000fc446f4dbd989857e305b00d6s",
          "name": "张三",
          "mobile": 18080000000,
          "sex": "男",
          "birthday": "1970-08-14",
          "age": "60岁2月1天",
          "idCard": 630101200010075800,
          "idCardType": "身份证",
          "visitReason": "string"
        },
        "deliveryInfo": {
          "addressProvinceName": "四川省",
          "addressCityName": "成都市",
          "addressDistrictName": "高新区",
          "addressDetail": "四川省成都市高新区xxx街道xxx",
          "deliveryName": "张三",
          "deliveryMobile": 18088888888,
          "deliveryCompany": {
            "id": 127203805890060290,
            "name": "string"
          },
          "deliveryOrderNo": 20827634879930370,
          "deliveryPayType": 1,
          "deliveryFee": 10
        },
        "deliveredStatus": 0,
        "deliveryType": 0,
        "status": 0,
        "statusName": "未发药",
        "dispensedBy": "ffffffff000000002622cbd801e7777",
        "dispensedByName": "张三",
        "dispensedTime": "2022-07-14 12:00:00",
        "created": "2022-07-14 12:00:00",
        "pharmacy": {
          "no": 0
        },
        "netIncomeFee": 43.75,
        "doctor": {
          "id": "string",
          "name": "string"
        },
        "department": {
          "id": "ffffffff0000000006dddfe002e22000",
          "name": "儿保科室",
          "type": 1,
          "isClinical": 1,
          "mainMedicalName": "儿科",
          "mainMedicalCode": 50,
          "secondMedicalName": "小儿呼吸",
          "secondMedicalCode": 5001,
          "customId": 5001
        },
        "isShebaoPay": 0,
        "dispensingForms": [
          {
            "id": "ffffffff00000000264a75300d759999",
            "outpatientFormId": "ffffffff00000000352f50a8cfe00000",
            "dispseneFormType": 0,
            "numberOfHerbs": 0,
            "usageInfo": {
              "usage": "煎服",
              "isUsageOut": 0,
              "freq": "1日3次",
              "medicineRequirement": "先煎",
              "doseCount": 3,
              "dailyDosage": "1日3剂",
              "requirement": "饭前服用",
              "usageLevel": "每次150ml",
              "processUsage": "机器煎药(普通)",
              "processRemark": "加工备注信息",
              "usageDays": "约服30天",
              "processBagUnitCount": 3,
              "totalProcessCount": 9,
              "isDecoction": 0
            },
            "totalPrice": 30.23,
            "vendorId": "ffffffff0000000034e6cae04206c09c",
            "vendorName": "供应商A",
            "dispensingFormItems": [
              {
                "id": null,
                "sourceFormItemId": null,
                "status": null,
                "productId": null,
                "productName": null,
                "unit": null,
                "unitCount": null,
                "doseCount": null,
                "totalCount": null,
                "usageInfo": null,
                "productInfo": null,
                "totalPrice": null,
                "dispensingBatches": null,
                "composeChildren": null,
                "traceableCodeList": null
              }
            ],
            "compoundInfo": {
              "compoundBy": "ffffffff00000000264a75300d757777",
              "compoundByName": "张三",
              "compoundByHandSign": "http://www.baidu.com",
              "compoundTime": "2025-01-09 17:20:00"
            },
            "auditInfo": {
              "auditBy": "ffffffff00000000264a75300d757777",
              "auditByName": "张三",
              "auditByHandSign": "http://www.baidu.com",
              "auditTime": "2025-01-09 17:20:00"
            }
          }
        ]
      }
    ]
  },
  "error": null
}

业务失败包装示意

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

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

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

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

诊所管家