{ "openapi": "3.1.0", "info": { "title": "智慧传承系统pc端", "description": "智慧传承系统pc端—相关接口文档", "version": "1.0-SNAPSHOT" }, "paths": { "/medicalcase/getCaseById": { "get": { "tags": ["病历管理API"], "summary": "标定病历详情", "operationId": "detail", "parameters": [ { "name": "id", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/AjaxResultMedicalRecordGrowDetail" } } } } } } } }, "components": { "schemas": { "AjaxResultMedicalRecordGrowDetail": { "type": "object", "description": "接口返回对象", "properties": { "code": { "type": "integer", "format": "int32", "description": "状态码" }, "msg": { "type": "string", "description": "提示语" }, "data": { "$ref": "#/components/schemas/MedicalRecordGrowDetail", "description": "数据对象" } } }, "MedicalRecordGrowDetail": { "type": "object", "properties": { "diagnosisTimes": { "type": "string", "description": "诊次" }, "chiefComplaint": { "type": "string", "description": "主诉" }, "presentIllness": { "type": "string", "description": "现病史" }, "historyIllness": { "type": "string", "description": "既往史" }, "familyHistory": { "type": "string", "description": "家族史" }, "allergyHistory": { "type": "string", "description": "过敏史" }, "checkInspectionComplement": { "type": "string", "description": "检查检验结果补充" }, "westernOtherMedicine": { "type": "array", "description": "西医其他诊断名称", "items": { "type": "string" } }, "westernOtherMedicineCode": { "type": "array", "description": "西医其他诊断编码", "items": { "type": "string" } }, "tcmPattern": { "type": "array", "description": "中医证型名称", "items": { "type": "string" } }, "tcmPatternCode": { "type": "array", "description": "中医证型编码", "items": { "type": "string" } }, "healthEducation": { "type": "string", "description": "健康教育" }, "checkInspectionResultList": { "type": "array", "description": "检查检验项目和结果", "items": { "$ref": "#/components/schemas/MrCheckInspectionResult" } }, "wmPrescriptions": { "type": "array", "description": "西药/中成药处方", "items": { "$ref": "#/components/schemas/MrWmPrescription" } }, "tcmPrescription": { "$ref": "#/components/schemas/MrTcmPrescription", "description": "中药处方" }, "tcmPrescriptionDetails": { "type": "array", "description": "中药处方药品明细", "items": { "$ref": "#/components/schemas/MrTcmPrescriptionDetail" } }, "nondrugTreatments": { "type": "array", "description": "中/西医非药物治疗", "items": { "$ref": "#/components/schemas/MrNondrugTreatment" } }, "pid": { "type": "integer", "format": "int64", "description": "主键ID" }, "specificId": { "type": "integer", "format": "int64", "description": "专病id" }, "caseCode": { "type": "string", "description": "病历编号" }, "sourceCode": { "type": "string", "description": "病历编号" }, "visitTime": { "type": "string", "format": "date-time", "description": "就诊日期" }, "gender": { "type": "string", "description": "性别 1-男 2-女" }, "age": { "type": "string", "description": "年龄" }, "ageMonth": { "type": "string", "description": "年龄月" }, "ageDay": { "type": "string", "description": "年龄天" }, "westernMedicine": { "type": "string", "description": "西医诊断名称" }, "westernMedicineCode": { "type": "string", "description": "西医诊断编码" }, "tcmDiagnosis": { "type": "array", "description": "中医诊断名称", "items": { "type": "string" } }, "tcmDiagnosisCode": { "type": "array", "description": "中医诊断编码", "items": { "type": "string" } }, "chineseMedicineCode": { "type": "string", "description": "中医诊断编码" }, "chineseMedicineName": { "type": "string", "description": "中医诊断名称" }, "resource": { "type": "string", "description": "病历来源 1-新增 2-导入 3-接口" }, "calibrateStatus": { "type": "string", "description": "标定状态 1-待标定 2-暂存 3-标定完成" }, "calibrateCode": { "type": "string", "description": "标定编号" }, "calibrateName": { "type": "string", "description": "标定者" }, "calibrateTime": { "type": "string", "format": "date-time", "description": "标定时间" }, "createUser": { "type": "string", "description": "创建者" }, "sourceCreateUser": { "type": "string", "description": "创建者" }, "createTime": { "type": "string", "format": "date-time", "description": "创建时间" }, "sourceCreateTime": { "type": "string", "format": "date-time", "description": "创建时间" }, "updateUser": { "type": "string", "description": "更新者" }, "updateTime": { "type": "string", "format": "date-time", "description": "更新时间" } }, "required": ["specificId"] }, "MrCheckInspectionResult": { "type": "object", "properties": { "itemName": { "type": "string", "description": "项目名称" }, "result": { "type": "string", "description": "结果" }, "itemType": { "type": "integer", "format": "int32", "description": "类型 1检查 2检验" } } }, "MrWmPrescription": { "type": "object", "properties": { "drugName": { "type": "string", "description": "药品名称" }, "quantity": { "type": "integer", "format": "int32", "description": "数量" }, "unit": { "type": "string", "description": "数量单位" }, "specifications": { "type": "string", "description": "规格" }, "dosage": { "type": "string", "description": "单次用量" }, "frequency": { "type": "string", "description": "使用频率" }, "useDays": { "type": "integer", "format": "int32", "description": "使用天数" } } }, "MrTcmPrescription": { "type": "object", "properties": { "dosage": { "type": "string", "description": "剂数" }, "dosageForm": { "type": "string", "description": "剂型" }, "prescriptionUsage": { "type": "string", "description": "处方用法" }, "thickFriedTime": { "type": "string", "description": "浓煎每次量" }, "frequency": { "type": "string", "description": "频次" }, "medicationTime": { "type": "string", "description": "服药时间" }, "entrust": { "type": "string", "description": "嘱托" } } }, "MrTcmPrescriptionDetail": { "type": "object", "properties": { "drugName": { "type": "string", "description": "药品名称" }, "dose": { "type": "integer", "format": "int32", "description": "剂量g" }, "drugUsage": { "type": "string", "description": "用法" } } }, "MrNondrugTreatment": { "type": "object", "properties": { "itemName": { "type": "string", "description": "名称" }, "quantity": { "type": "string", "description": "数量" }, "itemType": { "type": "integer", "format": "int32", "description": "类型 1-西医 2-中医" } } } } } }