接口文档 / 执行接口

执行单详情

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

响应参数

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

数据

object
id必填

执行单ID

示例:ffffffff000000003484c3816487c002

string
patientOrderId必填

就诊单ID

示例:ffffffff000000003484c3816487c002

string
status必填

执行状态 0:没有可执行项 1:待执行 2:已执行 3:已取消(已退费)

示例:1

integer
chargeStatus必填

收费单状态 0:未收费 1:部分收费 2:收费完成 3:部分退费 4:退费完成

示例:0

integer
created必填

创建时间

示例:2022-04-06 15:12:53

格式:date-time

string
sellerId可选

开单人ID

示例:ffffffff000000003484c3816487c002

string
sellerName可选

开单人姓名

示例:张三

string
doctorId可选

医生ID

示例:ffffffff000000003484c3816487c002

string
doctorName可选

医生名称

示例:李四

string
diagnosis可选

诊断

示例:慢性鼻窦炎,颞下间隙感染

string
isClosed可选

是否关闭 0:未关闭 1:已关闭

示例:0

integer

响应示例

json
{
  "data": {
    "id": "ffffffff000000003484c3816487c002",
    "patientOrderId": "ffffffff000000003484c3816487c002",
    "items": [
      {
        "id": "0002b62eaf9c461f85ff3fedc4583a79",
        "needExecutive": 1,
        "chargeFormId": "0002b62eaf9c461f85ff3fedc4583a80",
        "executedUnitCount": 2,
        "executeStatus": 1,
        "productId": "e8aa6074f8c44dfe9f49e076e30265a9",
        "productName": "注射用青霉素钠",
        "status": 0,
        "unit": "支",
        "receivedFee": 40,
        "unitPrice": 10,
        "displayUnitPrice": 10,
        "displayTotalPrice": 40,
        "unitCount": 4,
        "doseCount": 1,
        "totalCount": 4,
        "productType": 1,
        "productSubType": 3,
        "sourceItemType": 0,
        "productInfo": {
          "children": [
            null
          ],
          "id": "string",
          "name": "阿莫西林",
          "shebao": {
            "nationalCode": "T001700643",
            "insuranceTypes": [
              {
                "insuranceType": null,
                "reimbursementRatio": 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": "string",
            "name": "string",
            "brandName": "string",
            "material": "string"
          },
          "goodsSpec": {
            "color": "string",
            "spec": "string"
          },
          "remark": "abc",
          "dosageFormType": 0,
          "dosageFormTypeName": "string",
          "priceType": 0,
          "priceMakeupPercent": 0
        },
        "composeChildren": [
          null
        ],
        "extraInfo": "string",
        "giftFlag": 1,
        "deductDiscountInfos": [
          {
            "deductedCount": 1,
            "id": "string",
            "name": "string",
            "unitPrice": 54,
            "discountPrice": -4.5,
            "type": 0,
            "subType": 0
          }
        ],
        "discountPromotionInfos": [
          {
            "id": "string",
            "name": "string",
            "discountPrice": -4.5,
            "type": 0,
            "subType": 0
          }
        ]
      }
    ],
    "status": 1,
    "chargeStatus": 0,
    "created": "2022-04-06 15:12:53",
    "sellerId": "ffffffff000000003484c3816487c002",
    "sellerName": "张三",
    "doctorId": "ffffffff000000003484c3816487c002",
    "doctorName": "李四",
    "diagnosis": "慢性鼻窦炎,颞下间隙感染",
    "isClosed": 0
  },
  "error": null
}

业务失败包装示意

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

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

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

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

诊所管家