事件订阅 / 检查检验

检验单更新

检验单更新事件进入开放平台处理链路后,向已订阅应用发送通知。

字段值说明
eventModule6事件模块编号
eventType604具体事件编号

事件结构

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

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

string
clinicId可选

授权门店 ID

string
eventModule可选

枚举:6

integer
eventType可选

枚举:604

integer
eventName可选

枚举:检验单更新

string
callbackCount可选
integer

结构示例

json
{
  "id": "string",
  "clinicId": "string",
  "eventModule": 6,
  "eventType": 604,
  "eventName": "检验单更新",
  "callbackCount": 0,
  "eventData": {
    "id": "string",
    "outpatientFormItemId": "string",
    "chargeSheetId": "string",
    "chargeFormItemId": "string",
    "patientOrderId": "string",
    "patientOrderNumber": "string",
    "patient": {
      "id": "000000fc446f4dbd989857e305b00d6s",
      "sn": 100,
      "idCard": "string",
      "name": "张三",
      "mobile": 18080000000,
      "sex": "男",
      "birthday": "1970-08-14",
      "age": "60岁2月1天",
      "idCardType": "身份证",
      "visitReason": "string"
    },
    "doctorId": "string",
    "doctorName": "string",
    "doctorDepartmentId": "string",
    "doctorDepartmentName": "string",
    "sellerId": "string",
    "sellerName": "string",
    "sellerDepartmentId": "string",
    "sellerDepartmentName": "string",
    "productId": "string",
    "products": [
      {
        "productId": "string",
        "productName": "string",
        "examinationSheetId": "string"
      }
    ],
    "productIds": [
      "string"
    ],
    "composeParentProductId": "string",
    "composeParentName": "string",
    "name": "string",
    "orderNo": 202302140038,
    "status": 0,
    "statusName": "string",
    "sampleType": "string",
    "samplerId": "string",
    "samplerName": "string",
    "sampleTime": "2026-01-01T00:00:00Z",
    "collectorId": "string",
    "collectorName": "string",
    "collectTime": "2026-01-01T00:00:00Z",
    "results": [
      {
        "id": "string",
        "type": 1,
        "name": "string",
        "enName": "string",
        "unit": "string",
        "itemCode": "string",
        "ref": "阴性、阳性 | {\"min\":\"1\",\"max\":\"5\"}",
        "productId": "string",
        "resultDisplayScale": 0,
        "value": {},
        "valueType": "STRING",
        "abnormalFlag": "N",
        "abnormalText": "string"
      }
    ],
    "eyeResults": [
      {
        "productId": "string",
        "name": "string",
        "children": [
          {
            "name": "string",
            "children": [
              {
                "name": null,
                "children": null
              }
            ]
          }
        ],
        "checker": {
          "id": "string",
          "name": "string",
          "date": "string"
        }
      }
    ],
    "reports": [
      {
        "id": "string",
        "imageFiles": [
          {
            "url": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/123.jpg",
            "fileName": "NatGeo09.jpg",
            "fileSize": 4771201
          }
        ],
        "originalReportFiles": [
          {
            "url": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/123.jpg",
            "fileName": "NatGeo09.jpg",
            "fileSize": 4771201
          }
        ],
        "reportMode": 0,
        "videoDescription": "string",
        "suggestion": "string",
        "inspectionSite": "string",
        "deviceModelDesc": "string",
        "diagnosisFlag": 0,
        "recordDoctorId": "string",
        "consultationDoctorId": "string",
        "recordDoctorName": "string",
        "consultationDoctorName": "string",
        "diagnosisEntryItems": [
          {
            "id": 0,
            "name": "string",
            "abnormalFlag": 0
          }
        ]
      }
    ],
    "attachments": [
      {
        "url": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/123.jpg",
        "fileName": "NatGeo09.jpg",
        "fileSize": 4771201
      }
    ],
    "remark": "string",
    "testerId": "string",
    "testerName": "string",
    "testTime": "2026-01-01T00:00:00Z",
    "checkerId": "string",
    "checkerName": "string",
    "checkTime": "2026-01-01T00:00:00Z",
    "reportTime": "2026-01-01T00:00:00Z",
    "created": "2026-01-01T00:00:00Z",
    "type": 1,
    "subType": 20,
    "diagnosis": "急性上呼吸道感染",
    "reportUrl": "string",
    "examinationApplySheetNo": "string",
    "bedNo": "string",
    "deviceType": 0,
    "businessType": 0,
    "relationPatientOrderId": "string",
    "registrationFormItem": {
      "patientOrderId": "string",
      "registrationSheetId": "string",
      "patientId": "string",
      "departmentId": "string",
      "departmentName": "string",
      "doctorId": "string",
      "doctorName": "string",
      "orderNoNum": 1,
      "orderNo": "上午 01号",
      "reserveDate": "2019-04-04",
      "reserveTime": "10:10~10:30",
      "isReserved": 1,
      "revisitStatus": 1,
      "status": 10,
      "signIn": 0,
      "consultingRoomId": "string",
      "consultingRoomName": "string",
      "type": 0,
      "payStatus": 0,
      "code": 0,
      "registrationType": 0,
      "created": "2022-06-23 18:45:00"
    }
  }
}

返回事件目录

ABC 开放平台 · 诊所管家

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

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

诊所管家