事件订阅 / 就诊

完成接诊

完成接诊后发送门诊单事件。

字段值说明
eventModule2事件模块编号
eventType201具体事件编号

事件结构

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

消息 ID,作为接收端幂等键;同一次业务通知的重试使用同一消息 ID

string
clinicId可选

授权门店 ID

string
eventModule可选

枚举:2

integer
eventType可选

枚举:201

integer
eventName可选

枚举:完成接诊

string
callbackCount可选
integer

结构示例

json
{
  "id": "string",
  "clinicId": "string",
  "eventModule": 2,
  "eventType": 201,
  "eventName": "完成接诊",
  "callbackCount": 0,
  "eventData": {
    "id": "string",
    "patientId": "string",
    "patientOrderId": "string",
    "registrationSheetId": "string",
    "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,
    "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",
            "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
            ]
          }
        ]
      }
    ],
    "patientOrderNo": "00019691"
  }
}

返回事件目录

ABC 开放平台 · 诊所管家

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

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

诊所管家