| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- {
- "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-中医"
- }
- }
- }
- }
- }
- }
|