接口文档 / 医联平台第三方门诊数据接口

拉取第三方门诊收费单上传记录详情

GET/api/v2/open-agency/healthlink/third-party-outpatient/records/{patientOrderId}在线调试

响应参数

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

数据

object
uploadResult可选

医联平台上报结果原始JSON;尚未上报时为空

string

响应示例

json
{
  "data": {
    "record": {
      "uploadDataId": "string",
      "taskId": 0,
      "businessId": "string",
      "patientOrderId": "string",
      "patientName": "string",
      "patientId": "string",
      "patientIdCard": "string",
      "patientMobile": "string",
      "doctorName": "string",
      "patientOrderNo": "string",
      "insuranceRegion": "string",
      "uploadStatus": 0,
      "uploadMemo": "string",
      "reportTimes": 0,
      "businessTime": "2026-01-01T00:00:00Z",
      "uploadTime": "2026-01-01T00:00:00Z",
      "created": "2026-01-01T00:00:00Z",
      "lastModified": "2026-01-01T00:00:00Z"
    },
    "chargeSheet": {
      "id": "third-charge-202609280001",
      "patientOrderId": "third-register-202609280001",
      "patientName": "张三",
      "departmentInfo": {
        "departmentId": "third-department-001",
        "departmentName": "中医内科",
        "departmentType": 1,
        "departmentHead": "string",
        "caty": "string",
        "catyName": "string"
      },
      "doctorInfo": {
        "id": "third-doctor-001",
        "name": "张医生",
        "title": "string",
        "department": "string",
        "certno": "string",
        "practiceCertCode": "string",
        "credentials": "string",
        "shebaoDoctorCode": "string",
        "nationalDoctorCode": "string"
      },
      "doctorName": "张医生",
      "cashierInfo": {
        "id": "string",
        "name": "string",
        "certno": "string"
      },
      "type": 2,
      "status": 1,
      "deliveryType": 0,
      "isDraft": 0,
      "isOnline": 0,
      "isDecoction": 0,
      "isDeleted": 0,
      "isClosed": 0,
      "totalFee": 51.66,
      "receivableFee": 51.66,
      "receivedFee": 51.66,
      "refundFee": 0,
      "chargedTime": "2026-09-28T10:30:00Z",
      "firstChargedTime": "2026-09-28T10:30:00Z",
      "diagnosedDate": "2026-09-28T10:00:00Z",
      "created": "2026-09-28T10:00:00Z",
      "diagnosis": "急性上呼吸道感染",
      "chiefComplaint": "咳嗽三天",
      "patient": {
        "id": "third-patient-001",
        "name": "张三",
        "mobile": 13800138000,
        "countryCode": "+86",
        "sex": "男",
        "birthday": "1990-01-01",
        "age": {
          "year": 36,
          "month": 0,
          "day": 0
        },
        "idCardType": "身份证",
        "idCard": 310101199001010000,
        "ethnicity": "汉族",
        "nationality": "中国",
        "profession": "职员",
        "company": "string",
        "contactName": "string",
        "contactRelation": "string",
        "contactMobile": "string",
        "address": {
          "addressProvinceId": 310000,
          "addressProvinceName": "上海市",
          "addressCityId": 310100,
          "addressCityName": "上海市",
          "addressDistrictId": 310101,
          "addressDistrictName": "黄浦区",
          "addressDetail": "string",
          "fullAddress": "string",
          "addressPostcode": "string"
        }
      },
      "deliveryInfo": {
        "id": "string",
        "deliveryName": "string",
        "deliveryMobile": "string",
        "addressDetail": "string",
        "deliveryCompanyId": "string",
        "deliveryOrderNo": "string",
        "deliveryFee": 0
      },
      "shebaoPay": {
        "setlId": "string",
        "mdtrtId": "string",
        "psnNo": "string",
        "medType": "string",
        "insuplcAdmdvs": "string",
        "fundPaySumamt": 0,
        "acctPay": 0,
        "psnCashPay": 0,
        "allSelfpayAmt": 0,
        "preselfpayAmt": 0,
        "diagCode": "string",
        "diagName": "string",
        "doctorCode": "string",
        "doctorName": "string"
      },
      "chargeSheetSummary": {
        "totalFee": 0,
        "receivableFee": 0,
        "receivedFee": 0,
        "refundFee": 0,
        "registrationFee": 0,
        "westernMedicineFee": 0,
        "chineseMedicineFee": 0,
        "examinationTreatmentFee": 0,
        "materialFee": 0,
        "chargedTime": "2026-01-01T00:00:00Z"
      },
      "outpatient": {
        "id": "third-outpatient-001",
        "patientOrderId": "string",
        "patientOrderNo": 10001,
        "status": 0,
        "executeStatus": 0,
        "outpatientFrom": 0,
        "type": 0,
        "emergencyFlag": 0,
        "referralFlag": 0,
        "chargeStatus": 0,
        "registrationFee": 0,
        "totalFee": 0,
        "reserveDate": "2026-01-01T00:00:00Z",
        "diagnosedDate": "2026-01-01T00:00:00Z",
        "orderByDate": "2026-01-01T00:00:00Z",
        "created": "2026-01-01T00:00:00Z",
        "lastModified": "2026-01-01T00:00:00Z",
        "patient": {
          "id": "third-patient-001",
          "name": "张三",
          "mobile": 13800138000,
          "countryCode": "+86",
          "sex": "男",
          "birthday": "1990-01-01",
          "age": {
            "year": 36,
            "month": 0,
            "day": 0
          },
          "idCardType": "身份证",
          "idCard": 310101199001010000,
          "ethnicity": "汉族",
          "nationality": "中国",
          "profession": "职员",
          "company": "string",
          "contactName": "string",
          "contactRelation": "string",
          "contactMobile": "string",
          "address": {
            "addressProvinceId": 310000,
            "addressProvinceName": "上海市",
            "addressCityId": 310100,
            "addressCityName": "上海市",
            "addressDistrictId": 310101,
            "addressDistrictName": "黄浦区",
            "addressDetail": "string",
            "fullAddress": "string",
            "addressPostcode": "string"
          }
        },
        "doctor": {
          "id": "third-doctor-001",
          "name": "张医生",
          "title": "string",
          "department": "string",
          "certno": "string",
          "practiceCertCode": "string",
          "credentials": "string",
          "shebaoDoctorCode": "string",
          "nationalDoctorCode": "string"
        },
        "departmentInfo": {
          "departmentId": "third-department-001",
          "departmentName": "中医内科",
          "departmentType": 1,
          "departmentHead": "string",
          "caty": "string",
          "catyName": "string"
        },
        "medicalRecord": {
          "id": "string",
          "chiefComplaint": "string",
          "currentDiseaseHistory": "string",
          "pastHistory": "string",
          "personalHistory": "string",
          "allergyHistory": "string",
          "physicalExamination": "string",
          "preliminaryDiagnosis": "string",
          "diagnosis": "string",
          "diagnosisInfos": [
            {
              "code": "string",
              "name": "string",
              "hint": "string",
              "type": 0,
              "isMain": 0
            }
          ],
          "syndromes": [
            {
              "code": "string",
              "name": "string",
              "hint": "string",
              "type": 0,
              "isMain": 0
            }
          ],
          "therapy": "string",
          "treatmentOpinion": "string",
          "medicalAdvice": "string"
        },
        "prescriptionChineseForms": [
          {
            "id": "string",
            "name": "string",
            "type": 3,
            "doseCount": 0,
            "usage": "string",
            "freq": "string",
            "dailyDosage": "string",
            "usageDays": "string",
            "isDecoction": false,
            "chargeStatus": 0,
            "prescriptionFormItems": [
              {
                "id": null,
                "goodsId": null,
                "goodsName": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "specification": null,
                "usage": null,
                "dosage": null,
                "freq": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "prescriptionWesternForms": [
          {
            "id": "string",
            "name": "string",
            "type": 3,
            "doseCount": 0,
            "usage": "string",
            "freq": "string",
            "dailyDosage": "string",
            "usageDays": "string",
            "isDecoction": false,
            "chargeStatus": 0,
            "prescriptionFormItems": [
              {
                "id": null,
                "goodsId": null,
                "goodsName": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "specification": null,
                "usage": null,
                "dosage": null,
                "freq": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "prescriptionInfusionForms": [
          {
            "id": "string",
            "name": "string",
            "type": 3,
            "doseCount": 0,
            "usage": "string",
            "freq": "string",
            "dailyDosage": "string",
            "usageDays": "string",
            "isDecoction": false,
            "chargeStatus": 0,
            "prescriptionFormItems": [
              {
                "id": null,
                "goodsId": null,
                "goodsName": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "specification": null,
                "usage": null,
                "dosage": null,
                "freq": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "prescriptionExternalForms": [
          {
            "id": "string",
            "name": "string",
            "type": 3,
            "doseCount": 0,
            "usage": "string",
            "freq": "string",
            "dailyDosage": "string",
            "usageDays": "string",
            "isDecoction": false,
            "chargeStatus": 0,
            "prescriptionFormItems": [
              {
                "id": null,
                "goodsId": null,
                "goodsName": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "specification": null,
                "usage": null,
                "dosage": null,
                "freq": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "prescriptionForms": [
          {
            "id": "string",
            "name": "string",
            "type": 3,
            "doseCount": 0,
            "usage": "string",
            "freq": "string",
            "dailyDosage": "string",
            "usageDays": "string",
            "isDecoction": false,
            "chargeStatus": 0,
            "prescriptionFormItems": [
              {
                "id": null,
                "goodsId": null,
                "goodsName": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "specification": null,
                "usage": null,
                "dosage": null,
                "freq": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "productForms": [
          {
            "id": "string",
            "chargeStatus": 0,
            "productFormItems": [
              {
                "id": null,
                "productId": null,
                "name": null,
                "unitCount": null,
                "unit": null,
                "unitPrice": null,
                "totalPrice": null,
                "type": null,
                "subType": null,
                "purposeOfExamination": null
              }
            ],
            "totalPrice": 0
          }
        ],
        "curePlan": "string",
        "treatMeasure": "string",
        "observeRecord": "string"
      },
      "chargeForms": [
        {
          "id": "third-charge-form-001",
          "sourceFormId": "string",
          "sourceFormType": 1,
          "status": 1,
          "chargeFormItems": [
            {
              "id": "third-charge-item-001",
              "status": 1,
              "payStatus": 2,
              "name": "中药饮片调剂费",
              "medicineCadn": "string",
              "unit": "次",
              "unitCount": 1,
              "doseCount": 1,
              "unitPrice": 51.66,
              "totalPrice": 51.66,
              "receivedPrice": 51.66,
              "receivablePrice": 51.66,
              "productType": 1,
              "productSubType": 0,
              "productId": "string",
              "feeComposeType": 0,
              "feeTypeId": 0,
              "refundUnitCount": 0,
              "refundPrice": 0,
              "shebaoPayAmount": 0,
              "selfpayAmt": 0,
              "remark": "string"
            }
          ],
          "totalPrice": 51.66,
          "usageInfo": "string",
          "pharmacyNo": 0,
          "pharmacyType": 0
        }
      ],
      "diagnosisInfos": [
        {
          "code": "string",
          "name": "string",
          "hint": "string",
          "type": 0,
          "isMain": 0
        }
      ],
      "extendDiagnosisInfos": [
        {
          "diagnosisCode": "string",
          "diagnosisName": "string",
          "diagnosisType": 0,
          "isMain": 0
        }
      ],
      "additionalFees": [
        {
          "type": 0,
          "amount": 0
        }
      ]
    },
    "uploadResult": "string"
  },
  "error": null
}

业务失败包装示意

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

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

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

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

诊所管家