template_gxy.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. //随访项目数据
  2. //--------------------随访模板------------------------
  3. //-----type 1-文本输入,2-radio选择,3-checkbox, 4-textarea
  4. //-----textType :string, number ,date (type == 1时,才区分)
  5. var gTemplate = {
  6. // - 症状
  7. "1":{
  8. "NO_SYMPTOM":{
  9. "label": "无症状",
  10. "type": 3,
  11. "width": ""
  12. },
  13. "HEADACHE":{
  14. "label": "头痛头晕",
  15. "type": 3
  16. },
  17. "NAUSEA":{
  18. "label": "恶心呕吐",
  19. "type": 3
  20. },
  21. "VERTIGO_TINNITUS":{
  22. "label": "眼花耳鸣",
  23. "type": 3
  24. },
  25. "DIFFICULTY_BREATHING":{
  26. "label": "呼吸困难",
  27. "type": 3
  28. },
  29. "PALPITATIONS":{
  30. "label": "心悸胸闷",
  31. "type": 3
  32. },
  33. "EPISTAXIS_BLEEDING":{
  34. "label": "鼻衄出血不止",
  35. "type": 3
  36. },
  37. "LIMBS_NUMB":{
  38. "label": "四肢发麻",
  39. "type": 3
  40. },
  41. "EXTREMITY_EDEMA":{
  42. "label": "下肢水肿",
  43. "type": 3
  44. },
  45. "POLYDIPSIA":{
  46. "label": "多饮",
  47. "type": 3
  48. },
  49. "MORE_FOOD":{
  50. "label": "多食",
  51. "type": 3
  52. },
  53. "MORE_URINE":{
  54. "label": "多尿",
  55. "type": 3
  56. },
  57. "BLURRED_VISION":{
  58. "label": "视力模糊",
  59. "type": 3
  60. },
  61. "INFECTION":{
  62. "label": "感染",
  63. "type": 3
  64. },
  65. "NUMB_HANDS":{
  66. "label": "四肢麻痹",
  67. "type": 3
  68. },
  69. "WEIGHT_LOSS":{
  70. "label": "体重下降",
  71. "type": 3
  72. },
  73. "HYPOG_REACT_CODE":{
  74. "label": "低血糖反应",
  75. "type": 2,
  76. "items": {
  77. "0": "无",
  78. "1": "偶尔",
  79. "2": "频繁"
  80. }
  81. },
  82. "SYMPTOM_OTHER":{
  83. "label": "其他",
  84. "type":4,
  85. "row": 1,
  86. "maxLength": 100,
  87. "width": "100%"
  88. }
  89. },
  90. //-体征
  91. "2":{
  92. "BP": {
  93. "label": "血压",
  94. "type": 5, //联动输入框
  95. "unit": "mmHg",
  96. "required": true,
  97. "separate": " / ",
  98. "items": [{
  99. "textType": "number",
  100. "type": 1,
  101. "name": "BP_U", //收缩压
  102. "step": 1,
  103. "width": "60px"
  104. },{
  105. "textType": "number",
  106. "type": 1,
  107. "name": "BP_D", //舒张压
  108. "step": 1,
  109. "width": "60px"
  110. }]
  111. },
  112. "HEIGHT":{
  113. "label":"身高",
  114. "type":1,
  115. "unit":"cm",
  116. "textType": "number",
  117. "step": 0.1,
  118. "width": "100px"
  119. },
  120. "WEIGHT":{
  121. "label":"体重",
  122. "type":1,
  123. "unit":"Kg",
  124. "textType": "number",
  125. "step": 0.1,
  126. "width": "100px"
  127. },
  128. "BMI":{
  129. "label":"体质指数",
  130. "type":1,
  131. "textType": "string",
  132. "readonly": "readonly",
  133. "width": "100px"
  134. },
  135. "WEIGHT_EXP":{
  136. "label":"期望体重",
  137. "type":1,
  138. "unit":"Kg",
  139. "textType": "number",
  140. "step": 0.1,
  141. "width": "100px"
  142. },
  143. "BMI_EXP":{
  144. "label":"期望体质指数",
  145. "type":1,
  146. "textType": "string",
  147. "readonly": "readonly",
  148. "width": "100px"
  149. },
  150. "HEART_RATE":{
  151. "label":"心率",
  152. "type":1,
  153. "unit":"次/分",
  154. "textType": "number",
  155. "step": 1,
  156. "width": "100px"
  157. },
  158. "POFDA_MARK":{
  159. "label":"足背动脉搏动",
  160. "type":1,
  161. "textType": "select",
  162. "options": [{
  163. "key": "1",
  164. "value": "未触及"
  165. },{
  166. "key": "2",
  167. "value": "触及"
  168. }],
  169. "width": "100px"
  170. },
  171. "OTHER_POSITIVE_SIGNS":{
  172. "label":"其他",
  173. "type":1,
  174. "textType": "string",
  175. "width": "180px"
  176. }
  177. },
  178. //-实验室检查
  179. "3":{
  180. "EXAM_DATE":{
  181. "label":"检查日期",
  182. "type":1,
  183. "textType": "date"
  184. },
  185. "BS_FPG":{
  186. "label":"空腹血糖",
  187. "type":1,
  188. "unit":"mmol/L",
  189. "textType": "number",
  190. "step": 0.01,
  191. "width": "80px"
  192. },
  193. "NO_BS_FPG":{
  194. "label":"餐后血糖",
  195. "type":1,
  196. "unit":"mmol/L",
  197. "textType": "number",
  198. "step": 0.01,
  199. "width": "80px"
  200. },
  201. "RANDOM_BLOOD_SUGAR": {
  202. "label":"随机血糖",
  203. "type":1,
  204. "unit":"mmol/L",
  205. "textType": "number",
  206. "step": 0.01,
  207. "width": "80px"
  208. },
  209. "GHB":{
  210. "label":"糖化血红蛋白",
  211. "type":1,
  212. "unit":"%",
  213. "textType": "number",
  214. "step": 0.1,
  215. "width": "80px"
  216. },
  217. "BLOOD_FAT_TRIGLYCERIDE":{
  218. "label":"甘油三酯",
  219. "type":1,
  220. "unit":"mmol/L",
  221. "textType": "number",
  222. "step": 0.01,
  223. "width": "80px"
  224. },
  225. "BLOOD_FAT_TC":{
  226. "label":"总胆固醇",
  227. "type":1,
  228. "unit":"mmol/L",
  229. "textType": "number",
  230. "step": 0.01,
  231. "width": "80px"
  232. },
  233. "BLOOD_FAT_LDLC":{
  234. "label":"低密度脂蛋白",
  235. "type":1,
  236. "unit":"mmol/L",
  237. "textType": "number",
  238. "step": 0.01,
  239. "width": "80px"
  240. },
  241. "RENAL_FUNCTION_CREATININE":{
  242. "label":"血清肌酐",
  243. "type":1,
  244. "unit":"umol/L",
  245. "textType": "number",
  246. "step": 0.1,
  247. "width": "80px"
  248. },
  249. "RENAL_FUNCTION_BUN":{
  250. "label":"血尿素氮",
  251. "type":1,
  252. "unit":"mmol/L",
  253. "textType": "number",
  254. "step": 0.1,
  255. "width": "80px"
  256. },
  257. "MICROALBUMINURIA":{
  258. "label":"尿微量白蛋白",
  259. "type":1,
  260. "unit":"μg/min",
  261. "textType": "number",
  262. "step": 0.01,
  263. "width": "80px"
  264. }
  265. },
  266. //-生活方式指导
  267. "4":{
  268. "DAILY_SMOKING":{
  269. "label":"日吸烟量",
  270. "type":1,
  271. "unit":"支",
  272. "textType": "number",
  273. "step": 1,
  274. "width": "60px"
  275. },
  276. "SOMKING_EXP":{
  277. "label":"日吸烟量期望",
  278. "type":1,
  279. "unit":"支",
  280. "textType": "number",
  281. "step": 1,
  282. "width": "60px"
  283. },
  284. "DAILY_DRINKING":{
  285. "label":"日饮酒量",
  286. "type":1,
  287. "unit":"两",
  288. "textType": "number",
  289. "step": 1,
  290. "width": "60px"
  291. },
  292. "DRINK_EXP":{
  293. "label":"日饮酒量期望",
  294. "type":1,
  295. "unit":"两",
  296. "textType": "number",
  297. "step": 1,
  298. "width": "60px"
  299. },
  300. "EXERCISE_FREQ_CODE":{
  301. "label":"运动频率",
  302. "type":5,
  303. "required": true,
  304. "unit": "分钟/次",
  305. "separate": "",
  306. "items": [{
  307. "name": "EXERCISE_FREQ_CODE",
  308. "type": 1,
  309. "textType": "select",
  310. "width": "200px",
  311. "options":[{
  312. "key": "1",
  313. "value": "每周 <= 三次"
  314. },{
  315. "key": "2",
  316. "value": "每周 > 三次"
  317. },{
  318. "key": "3",
  319. "value": "极少运动"
  320. },{
  321. "key": "4",
  322. "value": "残疾、关节等原因不能运动"
  323. },{
  324. "key": "99",
  325. "value": "不详"
  326. }]
  327. },{
  328. "name": "EXERCISE_DURATION_MINS",
  329. "type": 1,
  330. "textType": "number",
  331. "step": 1,
  332. "width": "60px"
  333. }]
  334. },
  335. "EXERCISE_FREQ_CODE_EXP":{
  336. "label":"运动频率期望",
  337. "type":5,
  338. "required": true,
  339. "unit": "分钟/次",
  340. "separate": "",
  341. "items": [{
  342. "name": "EXERCISE_FREQ_CODE_EXP",
  343. "type": 1,
  344. "textType": "select",
  345. "width": "200px",
  346. "options":[{
  347. "key": "1",
  348. "value": "每周 <= 三次"
  349. },{
  350. "key": "2",
  351. "value": "每周 > 三次"
  352. },{
  353. "key": "3",
  354. "value": "极少运动"
  355. },{
  356. "key": "4",
  357. "value": "残疾、关节等原因不能运动"
  358. },{
  359. "key": "99",
  360. "value": "不详"
  361. }]
  362. },{
  363. "name": "EXERCISE_DURATION_MINS_EXP",
  364. "type": 1,
  365. "textType": "number",
  366. "step": 1,
  367. "width": "60px"
  368. }]
  369. },
  370. "SALT_TAKEN_LEVEL_CODE":{
  371. "label":"摄盐情况",
  372. "type":1,
  373. "required": true,
  374. "textType": "select",
  375. "width": "120px",
  376. "options":[{
  377. "key": "1",
  378. "value": "轻"
  379. },{
  380. "key": "2",
  381. "value": "中"
  382. },{
  383. "key": "3",
  384. "value": "重"
  385. }]
  386. },
  387. "SALT_TAKEN_LEVEL_EXP":{
  388. "label":"摄盐情况期望",
  389. "type":1,
  390. "textType": "select",
  391. "width": "120px",
  392. "options":[{
  393. "key": "1",
  394. "value": "轻"
  395. },{
  396. "key": "2",
  397. "value": "中"
  398. },{
  399. "key": "3",
  400. "value": "重"
  401. }]
  402. },
  403. "PSY_ADJUST_RESULT_CODE":{
  404. "label":"心理调整",
  405. "type":1,
  406. "textType": "select",
  407. "width": "120px",
  408. "options":[{
  409. "key": "1",
  410. "value": "理想"
  411. },{
  412. "key": "2",
  413. "value": "良好"
  414. },{
  415. "key": "3",
  416. "value": "一般"
  417. },{
  418. "key": "4",
  419. "value": "差"
  420. }]
  421. },
  422. "COMPLIANCE_RESULT_CODE":{
  423. "label":"遵医行为",
  424. "type":1,
  425. "textType": "select",
  426. "width": "120px",
  427. "options":[{
  428. "key": "1",
  429. "value": "理想"
  430. },{
  431. "key": "2",
  432. "value": "良好"
  433. },{
  434. "key": "3",
  435. "value": "一般"
  436. },{
  437. "key": "4",
  438. "value": "差"
  439. }]
  440. },
  441. "DAILY_STAPLE":{
  442. "label":"主食",
  443. "type":1,
  444. "unit":"克/天",
  445. "textType":"number",
  446. "step": 1,
  447. "width": "60px"
  448. }
  449. },
  450. // - 评价
  451. "5":{
  452. "HYP_FOLLOWUP_TYPE_CODE":{
  453. "label":"高血压随访分类",
  454. "required":true,
  455. "type":1,
  456. "textType": 'select',
  457. "width": "120px",
  458. "options":[{
  459. "key": "1",
  460. "value": "控制满意"
  461. },{
  462. "key": "2",
  463. "value": "控制不满意"
  464. },{
  465. "key": "3",
  466. "value": "不良反应"
  467. },{
  468. "key": "4",
  469. "value": "并发症"
  470. },{
  471. "key": "5",
  472. "value": "控制一般"
  473. }]
  474. },
  475. "HYP_COMPLICATION_DETAIL":{
  476. "label":"详情",
  477. "type":4,
  478. "row": 3,
  479. "maxLength": 100,
  480. "width": "100%",
  481. },
  482. "DIA_FOLLOWUP_TYPE_CODE":{
  483. "label":"糖尿病随访分类",
  484. "required":true,
  485. "type":1,
  486. "textType": 'select',
  487. "width": "120px",
  488. "options":[{
  489. "key": "1",
  490. "value": "控制满意"
  491. },{
  492. "key": "2",
  493. "value": "控制不满意"
  494. },{
  495. "key": "3",
  496. "value": "不良反应"
  497. },{
  498. "key": "4",
  499. "value": "并发症"
  500. },{
  501. "key": "5",
  502. "value": "控制一般"
  503. }]
  504. },
  505. "DIA_COMPLICATION_DETAIL":{
  506. "label":"详情",
  507. "type":4,
  508. "row": 3,
  509. "maxLength": 100,
  510. "width": "100%",
  511. }
  512. },
  513. // - 用药情况
  514. "6":{
  515. "DRUG_COMPLIANCE_CODE":{
  516. "label": "服药依从性",
  517. "type": 2,
  518. "items":{
  519. "1":"规律服药",
  520. "2": "间断服药",
  521. "3": "不服药"
  522. }
  523. },
  524. "DRUG_LIST":{
  525. "label":"用药记录",
  526. "type":"json"
  527. }
  528. },
  529. // - 控制目标
  530. "7":{
  531. "CONTROL_DATE":{
  532. "label":"控制日期",
  533. "type":1,
  534. "textType": "date"
  535. },
  536. "CONTROL_CONSTITUTOR":{
  537. "label":"制定者",
  538. "type":1,
  539. "textType": "string",
  540. "readonly":"readonly",
  541. "width": "120px"
  542. },
  543. "CONTROL_BP":{
  544. "label": "血压",
  545. "type": 5,
  546. "unit": "mmHg",
  547. "separate": " / ",
  548. "items":[{
  549. "name": "CONTROL_BP_U",
  550. "type": 1,
  551. "textType": "number",
  552. "step": 1,
  553. "width": "60px"
  554. },{
  555. "name": "CONTROL_BP_D",
  556. "type": 1,
  557. "textType": "number",
  558. "step": 1,
  559. "width": "60px"
  560. }]
  561. },
  562. "CONTROL_BS_FPG":{
  563. "label":"空腹血糖",
  564. "type":1,
  565. "unit": "mmol/L",
  566. "textType": "number",
  567. "step": 0.01,
  568. "width": "60px"
  569. },
  570. "CONTROL_NO_BS_FPG":{
  571. "label":"餐后血糖",
  572. "type":1,
  573. "unit": "mmol/L",
  574. "textType": "number",
  575. "step": 0.01,
  576. "width": "60px"
  577. },
  578. "CONTROL_GHB":{
  579. "label":"糖化血红蛋白",
  580. "type":1,
  581. "unit": "%",
  582. "textType": "number",
  583. "step": 0.1,
  584. "width": "60px"
  585. },
  586. "CONTROL_TRIGLYCERIDE":{
  587. "label":"甘油三酯",
  588. "type":1,
  589. "unit": "mmol/L",
  590. "textType": "number",
  591. "step": 0.01,
  592. "width": "60px"
  593. },
  594. "CONTROL_TOTAL_CHOLESTEROL":{
  595. "label":"总胆固醇",
  596. "type":1,
  597. "unit": "mmol/L",
  598. "textType": "number",
  599. "step": 0.01,
  600. "width": "60px"
  601. },
  602. "CONTROL_LDL":{
  603. "label":"低密度脂蛋白",
  604. "type":1,
  605. "unit": "mmol/L",
  606. "textType": "number",
  607. "step": 0.1,
  608. "width": "60px"
  609. },
  610. "CONTROL_WEIGHT":{
  611. "label":"体重",
  612. "type":1,
  613. "unit": "Kg",
  614. "textType": "number",
  615. "step": 0.1,
  616. "width": "60px"
  617. },
  618. "CONTROL_EXERCISE_FREQ_CODE":{
  619. "label":"运动频率",
  620. "type":5,
  621. "unit": "分钟/次",
  622. "items":[{
  623. "name": "CONTROL_EXERCISE_FREQ_CODE",
  624. "type": 1,
  625. "textType": "select",
  626. "width": "200px",
  627. "options":[{
  628. "key": "1",
  629. "value": "每周 <= 三次"
  630. },{
  631. "key": "2",
  632. "value": "每周 > 三次"
  633. },{
  634. "key": "3",
  635. "value": "极少运动"
  636. },{
  637. "key": "4",
  638. "value": "残疾、关节等原因不能运动"
  639. },{
  640. "key": "99",
  641. "value": "不详"
  642. }]
  643. },{
  644. "name": "CONTROL_EXERCISE_DURATION_MINS",
  645. "type": 1,
  646. "textType": "number",
  647. "step": 1,
  648. "width": "60px"
  649. }]
  650. },
  651. },
  652. //- 健康教育
  653. "8":{
  654. "ARCHIVE_TIME":{
  655. "label":"日期",
  656. "type":1,
  657. "textType": "date"
  658. },
  659. "ARCHIVE_OPERATOR_NAME":{
  660. "label":"记录者",
  661. "type":1,
  662. "textType": "string",
  663. "width": "100px"
  664. },
  665. "HEALTH_EDUCATE":{
  666. "label":"健康教育",
  667. "required":true,
  668. "type":1,
  669. "textType": "select",
  670. "width": "200px",
  671. "options":[{
  672. "key": 1,
  673. "value": "高血压健康教育"
  674. },{
  675. "key": 2,
  676. "value": "糖尿病健康教育"
  677. },{
  678. "key": 3,
  679. "value": "低盐饮食"
  680. },{
  681. "key": 4,
  682. "value": "自定义高血压健康教育"
  683. },{
  684. "key": 5,
  685. "value": "自定义糖尿病健康教育"
  686. },{
  687. "key": 6,
  688. "value": "高糖并存健康教育处方"
  689. }]
  690. },
  691. "EDUCATE_CONTENT":{
  692. "label":"教育内容",
  693. "type":4,
  694. "row": 8,
  695. "maxLength": 2000,
  696. "width": "100%",
  697. }
  698. },
  699. //- 转诊
  700. "9":{
  701. "DRUG_ADVERSE":{
  702. "label":"药物不良反应",
  703. "type": 5,
  704. "items": [{
  705. "name": "DRUG_ADVERSE_MARK",
  706. "type": 2,
  707. "textType": "radio",
  708. "options":{
  709. "0": "无",
  710. "1": "有"
  711. }
  712. },{
  713. "name": "ADR_REMARK",
  714. "type": 1,
  715. "textType": "text",
  716. "width": "200px",
  717. "maxLength": 200
  718. }]
  719. },
  720. "DISAGREE_TRANSFER":{
  721. "label":"患者拒绝转诊",
  722. "type":5,
  723. "items":[{
  724. "name": "DISAGREE_TRANSFER",
  725. "type": 2,
  726. "textType": "radio",
  727. "options":{
  728. "0": "否",
  729. "1": "是"
  730. }
  731. },{
  732. "name": "DISAGREE_TRANSFER_REASON",
  733. "type": 1,
  734. "textType": "text",
  735. "width": "200px",
  736. "maxLength": 200
  737. }]
  738. },
  739. "TRANSFER_RESON":{
  740. "label":"转诊原因",
  741. "type":4,
  742. "required": true,
  743. "row": 3,
  744. "maxLength": 200,
  745. "width": "100%"
  746. },
  747. "TRANSFER_ORG_DEPT":{
  748. "label":"转诊机构科室",
  749. "type":4,
  750. "required": true,
  751. "row": 3,
  752. "maxLength": 200,
  753. "width": "100%"
  754. }
  755. }
  756. }