AjaxResultMedicalRecordGrowDetail.openapi.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. {
  2. "openapi": "3.1.0",
  3. "info": {
  4. "title": "智慧传承系统pc端",
  5. "description": "智慧传承系统pc端—相关接口文档",
  6. "version": "1.0-SNAPSHOT"
  7. },
  8. "paths": {
  9. "/medicalcase/getCaseById": {
  10. "get": {
  11. "tags": ["病历管理API"],
  12. "summary": "标定病历详情",
  13. "operationId": "detail",
  14. "parameters": [
  15. {
  16. "name": "id",
  17. "in": "query",
  18. "required": true,
  19. "schema": {
  20. "type": "integer",
  21. "format": "int64"
  22. }
  23. }
  24. ],
  25. "responses": {
  26. "200": {
  27. "description": "OK",
  28. "content": {
  29. "*/*": {
  30. "schema": {
  31. "$ref": "#/components/schemas/AjaxResultMedicalRecordGrowDetail"
  32. }
  33. }
  34. }
  35. }
  36. }
  37. }
  38. }
  39. },
  40. "components": {
  41. "schemas": {
  42. "AjaxResultMedicalRecordGrowDetail": {
  43. "type": "object",
  44. "description": "接口返回对象",
  45. "properties": {
  46. "code": {
  47. "type": "integer",
  48. "format": "int32",
  49. "description": "状态码"
  50. },
  51. "msg": {
  52. "type": "string",
  53. "description": "提示语"
  54. },
  55. "data": {
  56. "$ref": "#/components/schemas/MedicalRecordGrowDetail",
  57. "description": "数据对象"
  58. }
  59. }
  60. },
  61. "MedicalRecordGrowDetail": {
  62. "type": "object",
  63. "properties": {
  64. "diagnosisTimes": {
  65. "type": "string",
  66. "description": "诊次"
  67. },
  68. "chiefComplaint": {
  69. "type": "string",
  70. "description": "主诉"
  71. },
  72. "presentIllness": {
  73. "type": "string",
  74. "description": "现病史"
  75. },
  76. "historyIllness": {
  77. "type": "string",
  78. "description": "既往史"
  79. },
  80. "familyHistory": {
  81. "type": "string",
  82. "description": "家族史"
  83. },
  84. "allergyHistory": {
  85. "type": "string",
  86. "description": "过敏史"
  87. },
  88. "checkInspectionComplement": {
  89. "type": "string",
  90. "description": "检查检验结果补充"
  91. },
  92. "westernOtherMedicine": {
  93. "type": "array",
  94. "description": "西医其他诊断名称",
  95. "items": {
  96. "type": "string"
  97. }
  98. },
  99. "westernOtherMedicineCode": {
  100. "type": "array",
  101. "description": "西医其他诊断编码",
  102. "items": {
  103. "type": "string"
  104. }
  105. },
  106. "tcmPattern": {
  107. "type": "array",
  108. "description": "中医证型名称",
  109. "items": {
  110. "type": "string"
  111. }
  112. },
  113. "tcmPatternCode": {
  114. "type": "array",
  115. "description": "中医证型编码",
  116. "items": {
  117. "type": "string"
  118. }
  119. },
  120. "healthEducation": {
  121. "type": "string",
  122. "description": "健康教育"
  123. },
  124. "checkInspectionResultList": {
  125. "type": "array",
  126. "description": "检查检验项目和结果",
  127. "items": {
  128. "$ref": "#/components/schemas/MrCheckInspectionResult"
  129. }
  130. },
  131. "wmPrescriptions": {
  132. "type": "array",
  133. "description": "西药/中成药处方",
  134. "items": {
  135. "$ref": "#/components/schemas/MrWmPrescription"
  136. }
  137. },
  138. "tcmPrescription": {
  139. "$ref": "#/components/schemas/MrTcmPrescription",
  140. "description": "中药处方"
  141. },
  142. "tcmPrescriptionDetails": {
  143. "type": "array",
  144. "description": "中药处方药品明细",
  145. "items": {
  146. "$ref": "#/components/schemas/MrTcmPrescriptionDetail"
  147. }
  148. },
  149. "nondrugTreatments": {
  150. "type": "array",
  151. "description": "中/西医非药物治疗",
  152. "items": {
  153. "$ref": "#/components/schemas/MrNondrugTreatment"
  154. }
  155. },
  156. "pid": {
  157. "type": "integer",
  158. "format": "int64",
  159. "description": "主键ID"
  160. },
  161. "specificId": {
  162. "type": "integer",
  163. "format": "int64",
  164. "description": "专病id"
  165. },
  166. "caseCode": {
  167. "type": "string",
  168. "description": "病历编号"
  169. },
  170. "sourceCode": {
  171. "type": "string",
  172. "description": "病历编号"
  173. },
  174. "visitTime": {
  175. "type": "string",
  176. "format": "date-time",
  177. "description": "就诊日期"
  178. },
  179. "gender": {
  180. "type": "string",
  181. "description": "性别 1-男 2-女"
  182. },
  183. "age": {
  184. "type": "string",
  185. "description": "年龄"
  186. },
  187. "ageMonth": {
  188. "type": "string",
  189. "description": "年龄月"
  190. },
  191. "ageDay": {
  192. "type": "string",
  193. "description": "年龄天"
  194. },
  195. "westernMedicine": {
  196. "type": "string",
  197. "description": "西医诊断名称"
  198. },
  199. "westernMedicineCode": {
  200. "type": "string",
  201. "description": "西医诊断编码"
  202. },
  203. "tcmDiagnosis": {
  204. "type": "array",
  205. "description": "中医诊断名称",
  206. "items": {
  207. "type": "string"
  208. }
  209. },
  210. "tcmDiagnosisCode": {
  211. "type": "array",
  212. "description": "中医诊断编码",
  213. "items": {
  214. "type": "string"
  215. }
  216. },
  217. "chineseMedicineCode": {
  218. "type": "string",
  219. "description": "中医诊断编码"
  220. },
  221. "chineseMedicineName": {
  222. "type": "string",
  223. "description": "中医诊断名称"
  224. },
  225. "resource": {
  226. "type": "string",
  227. "description": "病历来源 1-新增 2-导入 3-接口"
  228. },
  229. "calibrateStatus": {
  230. "type": "string",
  231. "description": "标定状态 1-待标定 2-暂存 3-标定完成"
  232. },
  233. "calibrateCode": {
  234. "type": "string",
  235. "description": "标定编号"
  236. },
  237. "calibrateName": {
  238. "type": "string",
  239. "description": "标定者"
  240. },
  241. "calibrateTime": {
  242. "type": "string",
  243. "format": "date-time",
  244. "description": "标定时间"
  245. },
  246. "createUser": {
  247. "type": "string",
  248. "description": "创建者"
  249. },
  250. "sourceCreateUser": {
  251. "type": "string",
  252. "description": "创建者"
  253. },
  254. "createTime": {
  255. "type": "string",
  256. "format": "date-time",
  257. "description": "创建时间"
  258. },
  259. "sourceCreateTime": {
  260. "type": "string",
  261. "format": "date-time",
  262. "description": "创建时间"
  263. },
  264. "updateUser": {
  265. "type": "string",
  266. "description": "更新者"
  267. },
  268. "updateTime": {
  269. "type": "string",
  270. "format": "date-time",
  271. "description": "更新时间"
  272. }
  273. },
  274. "required": ["specificId"]
  275. },
  276. "MrCheckInspectionResult": {
  277. "type": "object",
  278. "properties": {
  279. "itemName": {
  280. "type": "string",
  281. "description": "项目名称"
  282. },
  283. "result": {
  284. "type": "string",
  285. "description": "结果"
  286. },
  287. "itemType": {
  288. "type": "integer",
  289. "format": "int32",
  290. "description": "类型 1检查 2检验"
  291. }
  292. }
  293. },
  294. "MrWmPrescription": {
  295. "type": "object",
  296. "properties": {
  297. "drugName": {
  298. "type": "string",
  299. "description": "药品名称"
  300. },
  301. "quantity": {
  302. "type": "integer",
  303. "format": "int32",
  304. "description": "数量"
  305. },
  306. "unit": {
  307. "type": "string",
  308. "description": "数量单位"
  309. },
  310. "specifications": {
  311. "type": "string",
  312. "description": "规格"
  313. },
  314. "dosage": {
  315. "type": "string",
  316. "description": "单次用量"
  317. },
  318. "frequency": {
  319. "type": "string",
  320. "description": "使用频率"
  321. },
  322. "useDays": {
  323. "type": "integer",
  324. "format": "int32",
  325. "description": "使用天数"
  326. }
  327. }
  328. },
  329. "MrTcmPrescription": {
  330. "type": "object",
  331. "properties": {
  332. "dosage": {
  333. "type": "string",
  334. "description": "剂数"
  335. },
  336. "dosageForm": {
  337. "type": "string",
  338. "description": "剂型"
  339. },
  340. "prescriptionUsage": {
  341. "type": "string",
  342. "description": "处方用法"
  343. },
  344. "thickFriedTime": {
  345. "type": "string",
  346. "description": "浓煎每次量"
  347. },
  348. "frequency": {
  349. "type": "string",
  350. "description": "频次"
  351. },
  352. "medicationTime": {
  353. "type": "string",
  354. "description": "服药时间"
  355. },
  356. "entrust": {
  357. "type": "string",
  358. "description": "嘱托"
  359. }
  360. }
  361. },
  362. "MrTcmPrescriptionDetail": {
  363. "type": "object",
  364. "properties": {
  365. "drugName": {
  366. "type": "string",
  367. "description": "药品名称"
  368. },
  369. "dose": {
  370. "type": "integer",
  371. "format": "int32",
  372. "description": "剂量g"
  373. },
  374. "drugUsage": {
  375. "type": "string",
  376. "description": "用法"
  377. }
  378. }
  379. },
  380. "MrNondrugTreatment": {
  381. "type": "object",
  382. "properties": {
  383. "itemName": {
  384. "type": "string",
  385. "description": "名称"
  386. },
  387. "quantity": {
  388. "type": "string",
  389. "description": "数量"
  390. },
  391. "itemType": {
  392. "type": "integer",
  393. "format": "int32",
  394. "description": "类型 1-西医 2-中医"
  395. }
  396. }
  397. }
  398. }
  399. }
  400. }