Bläddra i källkod

新增肺结核处方和严重精神障碍处方,优化多选项的长文本显示方式

loki.wu 1 år sedan
förälder
incheckning
9e4a59ba19

+ 308 - 0
assets/psychiatric_prescription.json

@@ -0,0 +1,308 @@
+[
+    {
+        "label": "姓名",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Name",
+        "type": "input",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "性别",
+        "defaultValue": null,
+        "span": 24,
+        "key": "Sex",
+        "type": "radio",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "男",
+                "value": "1"
+            },
+            {
+                "label": "女",
+                "value": "2"
+            }
+        ],
+        "children": null,
+        "append": null,
+        "placeholder": null,
+        "required": null,
+        "show-limit": null,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "年龄",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Age",
+        "type": "numberInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "诊断",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Diagnosis",
+        "type": "input",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "    严重精神障碍疾病:到目前为止国家认定的精神疾病近40种。但对社会、家庭和人身危害较大的主要有六种精神疾病,我们通常把这六种精神障碍定义为严重精神障碍。\r\n    分别是:1、精神分裂症;2、双向情感障碍;3、偏执性精神障碍;4、分裂性情感障碍;5、癫痫所致精神障碍;6、精神发育迟滞伴发精神障碍。\r\n    精神分裂症的主要表现:\r\n    1、幻觉:凭空听到人说话或看到不存在的物体。\r\n    2、妄想:歪曲事实的想法,病人对此坚信不疑,无法被说服。比如无端被人跟踪、迫害。\r\n    3、思想联想障碍:思维缺乏逻辑,令人难以置信,语言支离破碎。\r\n    4、情感障碍:对任何事情都漠不关心,表情呆板。或者经常表现为与环境无关的独自发笑。\r\n    5、意识行为障碍:活动减少,行为退缩,没有主动要求。有的病人吃一些不能吃的东西,如肥皂、果皮,幼稚愚蠢。\r\n    及时发现可疑迹象,及时诊断,及早治疗干预,防范危险性行为的发生,有助于控制疾病,回复社会功能,确保患者安全,促进社会稳定。",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Hint_Label",
+        "type": "label",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "健康生活方式",
+        "defaultValue": null,
+        "span": 12,
+        "key": "HealthyLifestyle",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "家属关注患者情绪变化。对于出现精神症状的严重精神障碍患者,应及时带到精神专科医院或综合医院精神科就诊,及早诊断,在专科医生指导下系统干预。",
+                "value": "1"
+            },
+            {
+                "label": "家属充分了解严重精神障碍疾病,积极配合医生干预、治疗。",
+                "value": "2"
+            },
+            {
+                "label": "努力营造温馨的家庭氛围,理解、支持、关爱患者,帮助患者建立自信和战胜疾病的信心。",
+                "value": "3"
+            },
+            {
+                "label": "合理安排学习生活内容,内容健康,积极,并适合于患者的建康状态。",
+                "value": "4"
+            },
+            {
+                "label": "合理安排饮食睡眠,尽可能保证规律,适量,均衡的饮食规律和良好的睡眠质量。",
+                "value": "5"
+            },
+            {
+                "label": "身体状态允许情况下可在医生的指导下进行适量的运动,但不以引起劳累和不适为宜。",
+                "value": "6"
+            },
+            {
+                "label": "禁止吸烟,饮酒或使用其他活性物质,尽量避免引用茶或咖啡。",
+                "value": "7"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "治疗与康复",
+        "defaultValue": null,
+        "span": 12,
+        "key": "HealthyLifestyle",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "心理治疗:根据患者具体情况,采用个性化的心理治疗方法进行干预。",
+                "value": "1"
+            },
+            {
+                "label": "药物治疗:严重精神障碍患者大都需要进行药物治疗。存在失眠或幻觉妄想症的患者要用相对应的药物治疗。药物治疗须在精神科专科医生指导下进行。治疗期间需注意药物的不良反应,定期复诊,不可随意自行改变药物剂量,不能擅自停药。",
+                "value": "2"
+            },
+            {
+                "label": "康复治疗:对病情严重的患者,在经系统治疗得到部分改善后,可以在专科医生指导下进行康复治疗,回复患者适应社会的能力。",
+                "value": "3"
+            },
+            {
+                "label": "预防复发:症状缓解后要定期复诊,规律用药,做好药物的巩固期和维持期,防止病情反复发作。",
+                "value": "4"
+            },
+            {
+                "label": "所有患者均应进行自伤,自杀及暴力风险评估。存在自伤,自杀及暴力等高风险的患者,尽快住院治疗。",
+                "value": "5"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "急症处理",
+        "defaultValue": null,
+        "span": 12,
+        "key": "EmergencyTreatment",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": "",
+        "options": [
+            {
+                "label": "严重精神障碍患者服药后出现明显药物不良反应,应及时到精神科专科医院或综合医院精神科就诊处理。",
+                "value": "1"
+            },
+            {
+                "label": "严重精神障碍患者如出现自伤,自杀或暴力等行为,应及时联系公安机关协助送往精神科专科医院或综合医院精神科就诊。",
+                "value": "2"
+            },
+            {
+                "label": "如出现其他严重情况,及时到医院就诊。",
+                "value": "3"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "其他指导建议",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Other",
+        "type": "textareaInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "医生/指导人员签名:",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Signature",
+        "type": "signature",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "咨询电话:",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Phone",
+        "type": "numberInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "日期",
+        "defaultValue": null,
+        "span": 12,
+        "key": "DateTime",
+        "type": "dateTime",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "严重精神障碍患者健康教育处方使用说明 \r\n ★使用对象:严重精神障碍患者或看护人。 \r\n ★使用方法 \r\n 1、本处方不能代替专科医生开具的医疗处方,主要用于帮助患者父母及看护人争取认识严重精神障碍患者,早发现,早治疗,系统干预该疾病。 \r\n 2.医务人员应结合患者的病情、健康危险因素等,提供有针对性的健康指导。",
+        "defaultValue": null,
+        "span": 12,
+        "key": "DescriptionLabel",
+        "type": "label",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    }
+]

+ 324 - 0
assets/tuberculosis_prescription.json

@@ -0,0 +1,324 @@
+[
+    {
+        "label": "姓名",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Name",
+        "type": "input",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "性别",
+        "defaultValue": null,
+        "span": 24,
+        "key": "Sex",
+        "type": "radio",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "男",
+                "value": "1"
+            },
+            {
+                "label": "女",
+                "value": "2"
+            }
+        ],
+        "children": null,
+        "append": null,
+        "placeholder": null,
+        "required": null,
+        "show-limit": null,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "年龄",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Age",
+        "type": "numberInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "诊断",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Diagnosis",
+        "type": "input",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "    肺结核是一种由结核分枝杆菌引起的严重危害健康的慢性传染病,主要通过呼吸道传播。肺结核的主要症状有咳嗽、咳痰,还会伴有痰中带血、午后低热、夜间盗汗、体重减轻、呼吸困难等症状。出现肺结核可疑症状应及时到当地结核病定点医疗机构就诊。经全程规范治疗,绝大多数肺结核患者可以治愈。如不规范治疗,容易产生耐药结核。一旦耐药,治愈率低、治疗费用高、社会危害大。\r\n    影响肺结核发病和传播的主要因素包括:与传染性肺结核患者密切接触;出现咳嗽、咳痰2周以上等肺结核可疑症状不及时去医院检查;患了肺结核不按医嘱坚持治疗,擅自停药;吸烟;居室环境通风不良;免疫力低下(如高龄、营养不良人群,艾滋病病毒感染者,糖尿病患者等)。\r\n    采取健康生活方式,积极治疗,有助于身体康复,改善生活质量。",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Hint_Label",
+        "type": "label",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "健康生活方式",
+        "defaultValue": null,
+        "span": 12,
+        "key": "HealthyLifestyle",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "居家治疗的肺结核患者,应当尽量与家人分室居住,保持居室通风。",
+                "value": "1"
+            },
+            {
+                "label": "不随地吐痰,痰液吐在有消毒液(如0.5%的84消毒液)的带盖痰盂里,不方便时可将痰液吐在消毒湿纸巾或密封痰袋里,然后焚烧处理。",
+                "value": "2"
+            },
+            {
+                "label": "咳嗽、打喷嚏时应当避让他人、掩住口鼻。",
+                "value": "3"
+            },
+            {
+                "label": "尽量不去集市、商场、车站等人群密集的公共场所。如必须去,应当佩戴口罩。",
+                "value": "4"
+            },
+            {
+                "label": "如家庭密切接触者出现咳嗽、咳痰2周以上等肺结核的可疑症状,应及时到医院检查。",
+                "value": "5"
+            },
+            {
+                "label": "加强营养,多吃奶类、蛋类、瘦内等高蛋白食物,多吃绿叶蔬菜、水果以及杂粮等食品,不吃辛辣刺激食物。",
+                "value": "6"
+            },
+            {
+                "label": "不吸烟(吸烟者戒烟)。",
+                "value": "7"
+            },
+            {
+                "label": "避免接触二手烟。",
+                "value": "8"
+            },
+            {
+                "label": "不饮酒。",
+                "value": "9"
+            },
+            {
+                "label": "有发热、胸痛、咳嗽、呼吸困难、乏力等明显症状时,不建议运动。",
+                "value": "10"
+            },
+            {
+                "label": "经过规范治疗症状改善后,可在医生指导下进行适量运动,但以不引起劳累和不适为宜。",
+                "value": "11"
+            },
+            {
+                "label": "生活起居规律、保证睡眠充足、避免过度劳累。",
+                "value": "12"
+            },
+            {
+                "label": "保持心情舒畅、情绪稳定,减轻精神压力,树立治疗信心。",
+                "value": "13"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "治疗与康复",
+        "defaultValue": null,
+        "span": 12,
+        "key": "HealthyLifestyle",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": null,
+        "options": [
+            {
+                "label": "遵医嘱服药,不要自行停药或调整药物。",
+                "value": "1"
+            },
+            {
+                "label": "出现药物不良反应,要及时和医生联系,不可自行停药或更改治疗方案。",
+                "value": "2"
+            },
+            {
+                "label": "遵医嘱定期复查。",
+                "value": "3"
+            },
+            {
+                "label": "遵医嘱妥善存放抗结核药物。药品放在阴凉干燥、孩子接触不到的地方。夏天宜放在冰箱的冷藏室。",
+                "value": "4"
+            },
+            {
+                "label": "如需短时间外出,应告知医生并带够足量药品按时服用。如要改变居住地,应与医生联系办理延续治疗相关手续。",
+                "value": "5"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "急症处理",
+        "defaultValue": null,
+        "span": 12,
+        "key": "EmergencyTreatment",
+        "type": "checkbox",
+        "border": null,
+        "disabledValue": "",
+        "options": [
+            {
+                "label": "治疗期间出现病情加重,如咯血,或药物不良反应引起的严重不适,如恶心、呕吐、腹胀、腹泻、腹痛、过敏反应、视物模糊、皮肤或者巩膜黄染等症状,或出现其他严重情况,应及时到医院就诊。",
+                "value": "1"
+            }
+        ],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "其他指导建议",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Other",
+        "type": "textareaInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "医生/指导人员签名:",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Signature",
+        "type": "signature",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "咨询电话:",
+        "defaultValue": null,
+        "span": 12,
+        "key": "Phone",
+        "type": "numberInput",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "日期",
+        "defaultValue": null,
+        "span": 12,
+        "key": "DateTime",
+        "type": "dateTime",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    },
+    {
+        "label": "严重精神障碍患者健康教育处方使用说明 \r\n ★使用对象:严重精神障碍患者或看护人。 \r\n ★使用方法 \r\n 1、本处方不能代替专科医生开具的医疗处方,主要用于帮助患者父母及看护人争取认识严重精神障碍患者,早发现,早治疗,系统干预该疾病。 \r\n 2.医务人员应结合患者的病情、健康危险因素等,提供有针对性的健康指导。",
+        "defaultValue": null,
+        "span": 12,
+        "key": "DescriptionLabel",
+        "type": "label",
+        "border": null,
+        "disabledValue": null,
+        "options": [],
+        "children": null,
+        "append": "",
+        "placeholder": "",
+        "required": null,
+        "show-limit": false,
+        "parentKey": null,
+        "buttonName": null,
+        "childrenKey": null
+    }
+]

+ 34 - 0
lib/pages/check/prescription/psychiatric_prescription.dart

@@ -0,0 +1,34 @@
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+import 'package:vitalapp/pages/form/form_view.dart';
+
+class PsychiatricPrescription extends StatefulWidget {
+  @override
+  State<StatefulWidget> createState() {
+    return PsychiatricPrescriptionState();
+  }
+}
+
+class PsychiatricPrescriptionState extends State<PsychiatricPrescription> {
+  String? _template;
+
+  @override
+  void initState() {
+    var _path = "assets/psychiatric_prescription.json";
+    rootBundle.loadString(_path).then((value) {
+      setState(() {
+        _template = value;
+      });
+    });
+    super.initState();
+  }
+
+  @override
+  Widget build(BuildContext context) {
+    return _template == null
+        ? Center(
+            child: CircularProgressIndicator(),
+          )
+        : FormView(_template!);
+  }
+}

+ 34 - 0
lib/pages/check/prescription/tuberculosis_prescription.dart

@@ -0,0 +1,34 @@
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+import 'package:vitalapp/pages/form/form_view.dart';
+
+class TuberculosisPrescription extends StatefulWidget {
+  @override
+  State<StatefulWidget> createState() {
+    return TuberculosisPrescriptionState();
+  }
+}
+
+class TuberculosisPrescriptionState extends State<TuberculosisPrescription> {
+  String? _template;
+
+  @override
+  void initState() {
+    var _path = "assets/tuberculosis_prescription.json";
+    rootBundle.loadString(_path).then((value) {
+      setState(() {
+        _template = value;
+      });
+    });
+    super.initState();
+  }
+
+  @override
+  Widget build(BuildContext context) {
+    return _template == null
+        ? Center(
+            child: CircularProgressIndicator(),
+          )
+        : FormView(_template!);
+  }
+}

+ 6 - 9
lib/pages/check/widgets/exam_configurable/exam_multi_select_list.dart

@@ -87,9 +87,8 @@ class ExammultiSelectListState extends State<ExammultiSelectList> {
         builder: (BuildContext context, BoxConstraints constraints) {
       var labelLength = (e.label?.length ?? 0);
       double width = 250;
-
       if (labelLength * 20 < constraints.maxWidth) {
-        width = labelLength * 20;
+        width = labelLength * 22;
       } else {
         width = constraints.maxWidth;
       }
@@ -115,13 +114,11 @@ class ExammultiSelectListState extends State<ExammultiSelectList> {
               padding: const EdgeInsets.all(15),
               alignment: Alignment.center,
               width: width,
-              child: FittedBox(
-                child: Text(
-                  e.label ?? '',
-                  style: TextStyle(
-                    fontSize: 20,
-                    color: txtColor,
-                  ),
+              child: Text(
+                e.label ?? '',
+                style: TextStyle(
+                  fontSize: 20,
+                  color: txtColor,
                 ),
               ),
             ),

+ 18 - 2
lib/pages/patient/detail/widgets/functions_panel.dart

@@ -6,6 +6,8 @@ import 'package:vitalapp/architecture/values/features.dart';
 import 'package:vitalapp/consts/styles.dart';
 import 'package:vitalapp/pages/check/prescription/blood_sugar_disorder.dart';
 import 'package:vitalapp/pages/check/prescription/hypertension_prescription.dart';
+import 'package:vitalapp/pages/check/prescription/psychiatric_prescription.dart';
+import 'package:vitalapp/pages/check/prescription/tuberculosis_prescription.dart';
 import 'package:vitalapp/pages/widgets/function_button.dart';
 import 'package:vitalapp/store/store.dart';
 
@@ -39,19 +41,33 @@ class FunctionsPanel extends GetView<PatientDetailController> {
         children: [
           if (kDebugMode) ...[
             FunctionButton(
-              label: "测试糖尿病处方",
+              label: "糖尿病处方",
               icon: _buildImgIcon("档案.png"),
               onTap: () {
                 Get.to(BloodSugarDisorder());
               },
             ),
             FunctionButton(
-              label: "测试高血压处方",
+              label: "高血压处方",
               icon: _buildImgIcon("档案.png"),
               onTap: () {
                 Get.to(HypertensionPrescription());
               },
             ),
+            FunctionButton(
+              label: "精神障碍处方",
+              icon: _buildImgIcon("档案.png"),
+              onTap: () {
+                Get.to(PsychiatricPrescription());
+              },
+            ),
+            FunctionButton(
+              label: "肺结核处方",
+              icon: _buildImgIcon("档案.png"),
+              onTap: () {
+                Get.to(TuberculosisPrescription());
+              },
+            ),
           ],
           if (Store.user.hasFeature(FeatureKeys.HealthRecordHandling))
             FunctionButton(

+ 2 - 0
pubspec.yaml

@@ -238,6 +238,8 @@ flutter:
     - assets/data/3-6.json
     - assets/diabetes_prescription.json
     - assets/hypertension_prescription.json
+    - assets/psychiatric_prescription.json
+    - assets/tuberculosis_prescription.json
   #   - images/a_dot_burr.jpeg
   #   - images/a_dot_ham.jpeg