@kenyaemr/esm-care-panel-app 5.4.2-pre.2707 → 5.4.2-pre.2711

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"care-panel-patient-summary","component":"carePanelPatientSummary","slot":"patient-chart-care-panel-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"care-panel-summary-dashboard-link","component":"carePanelSummaryDashboardLink","order":3,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-care-panel-dashboard-slot","layoutMode":"anchored","path":"Care panel"}},{"name":"delete-regimen-confirmation-dialog","component":"deleteRegimenConfirmationDialog"},{"name":"hiv-patient-visit-summary-dashboard-link","component":"hivPatientSummaryDashboardLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-patient-summary-slot","path":"HIV Patient Summary","layoutMode":"anchored"}},{"name":"hiv-patient-visit-summary","slot":"hiv-patient-summary-slot","component":"hivPatientSummary","order":3,"online":true,"offline":false},{"name":"dispensing-patient-vitals","component":"dispensingPaentientVitals","slot":"dispensing-condition-and-diagnoses","order":1,"online":true,"offline":true},{"name":"patient-discharge-side-rail-icon","component":"patientDischargeSideRailIcon","slot":"action-menu-ward-patient-items-slot"}],"workspaces":[{"name":"patient-regimen-workspace","title":"Patient Regimen","component":"regimenFormWorkspace","type":"form","canMaximize":true,"canHide":true,"width":"wider"},{"name":"patient-care-discharge-workspace","title":"Patient Discharge","component":"patientDischargeWorkspace","type":"workspace","canMaximize":true,"canHide":true,"width":"extra-wide","groups":["ward-patient"]},{"name":"mch-program-form-workspace","component":"mchProgramForm","title":"Program Form","type":"workspace"}],"version":"5.4.2-pre.2707"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"care-panel-patient-summary","component":"carePanelPatientSummary","slot":"patient-chart-care-panel-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"care-panel-summary-dashboard-link","component":"carePanelSummaryDashboardLink","order":3,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-care-panel-dashboard-slot","layoutMode":"anchored","path":"Care panel"}},{"name":"delete-regimen-confirmation-dialog","component":"deleteRegimenConfirmationDialog"},{"name":"hiv-patient-visit-summary-dashboard-link","component":"hivPatientSummaryDashboardLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-patient-summary-slot","path":"HIV Patient Summary","layoutMode":"anchored"}},{"name":"hiv-patient-visit-summary","slot":"hiv-patient-summary-slot","component":"hivPatientSummary","order":3,"online":true,"offline":false},{"name":"dispensing-patient-vitals","component":"dispensingPaentientVitals","slot":"dispensing-condition-and-diagnoses","order":1,"online":true,"offline":true},{"name":"patient-discharge-side-rail-icon","component":"patientDischargeSideRailIcon","slot":"action-menu-ward-patient-items-slot"}],"workspaces":[{"name":"patient-regimen-workspace","title":"Patient Regimen","component":"regimenFormWorkspace","type":"form","canMaximize":true,"canHide":true,"width":"wider"},{"name":"patient-care-discharge-workspace","title":"Patient Discharge","component":"patientDischargeWorkspace","type":"workspace","canMaximize":true,"canHide":true,"width":"extra-wide","groups":["ward-patient"]},{"name":"mch-program-form-workspace","component":"mchProgramForm","title":"Program Form","type":"workspace"}],"version":"5.4.2-pre.2711"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-care-panel-app",
3
- "version": "5.4.2-pre.2707",
3
+ "version": "5.4.2-pre.2711",
4
4
  "description": "Patient care panels microfrontend for the OpenMRS SPA",
5
5
  "keywords": [
6
6
  "openmrs"
@@ -44,159 +44,6 @@ export interface ProgramWorkflowState {
44
44
  voided: boolean;
45
45
  }
46
46
 
47
- const programForms = [
48
- {
49
- programName: 'PNC',
50
- programUuid: '286598d5-1886-4f0d-9e5f-fa5473399cee',
51
- forms: [
52
- { formName: 'MCH Postnatal Visit Form', formUuId: '72aa78e0-ee4b-47c3-9073-26f3b9ecc4a7' },
53
- { formName: 'PNC Services Discontinuation', formUuId: '30db888b-d6d3-47fb-b0c9-dbdf10a57ff5' },
54
- ],
55
- },
56
- {
57
- programName: 'ANC',
58
- programUuid: '72635673-0613-4259-916e-e0d5d5ef8f66',
59
- forms: [
60
- { formName: 'ANC Follow Up form', formUuId: '6fb1a39b-0a57-4239-afd7-a5490d281cb9' },
61
- { formName: 'MCH Antenatal Visit', formUuId: 'e8f98494-af35-4bb8-9fc7-c409c8fed843' },
62
- { formName: 'Antenatal Care (ANC) Discontinuation', formUuId: '38885518-c71a-4661-8edf-3db67707e1d1' },
63
- ],
64
- },
65
- {
66
- programName: 'MCH - Child Services', // cwc
67
- programUuid: 'c2ecdf11-97cd-432a-a971-cfd9bd296b83',
68
- forms: [
69
- { formName: 'Child welfare clinic form', formUuId: '755b59e6-acbb-4853-abaf-be302039f902' }, // CWC followup
70
- { formName: 'MCH Postnatal Visit Form', formUuId: '72aa78e0-ee4b-47c3-9073-26f3b9ecc4a7' },
71
- { formName: 'Child Welfare Services Discontinuation', formUuId: '1dd02c43-904b-4206-8378-7b1a8414c326' },
72
- ],
73
- },
74
- {
75
- programName: 'Nutrition',
76
- programUuid: '504f179b-4a13-4790-9ecd-ca4963448af8',
77
- forms: [
78
- { formName: 'Nutrition form', formUuId: 'b8357314-0f6a-4fc9-a5b7-339f47095d62' },
79
- { formName: 'Nutrition Services Discontinuation', formUuId: '0648a046-f404-4246-806f-c9ee78232d6d' },
80
- ],
81
- },
82
- {
83
- programName: 'Family Planning',
84
- programUuid: '191269d2-9973-4958-9936-f687ed771050',
85
- forms: [
86
- { formName: 'Family Planning Form', formUuId: 'a52c57d4-110f-4879-82ae-907b0d90add6' },
87
- { formName: 'Family Planning Discontinuation', formUuId: 'efc782ea-9a16-4791-824a-18be7417eda4' },
88
- ],
89
- },
90
- {
91
- programName: 'TB',
92
- programUuid: '9f144a34-3a4a-44a9-8486-6b7af6cc64f6',
93
- forms: [
94
- { formName: 'TB Enrollment', formUuId: '89994550-9939-40f3-afa6-173bce445c79' },
95
- { formName: 'TB FollowUp', formUuId: '2daabb77-7ad6-4952-864b-8d23e109c69d' },
96
- { formName: 'TB Discontinuation', formUuId: '4b296dd0-f6be-4007-9eb8-d0fd4e94fb3a' },
97
- ],
98
- },
99
- {
100
- programName: 'Violence screening',
101
- programUuid: 'e41c3d74-37c7-4001-9f19-ef9e35224b70',
102
- forms: [
103
- { formName: 'Violence enrollment', formUuId: '9ba1d4aa-57d7-48f9-a635-a23508e8136c' },
104
- { formName: 'Violence Screening', formUuId: '03767614-1384-4ce3-aea9-27e2f4e67d01' },
105
- { formName: 'Violence Reporting Form', formUuId: '10cd2ca0-8d25-4876-b97c-b568a912957e' },
106
- { formName: 'Violence Consent Form', formUuId: 'd720a8b3-52cc-41e2-9a75-3fd0d67744e5' },
107
- { formName: 'Sexual Violence post rape care 363A', formUuId: 'c46aa4fd-8a5a-4675-90a7-a6f2119f61d8' }, // PRC Form Part A
108
- {
109
- formName: 'Sexual Violence PRC Psychological Assessment 363B',
110
- formUuId: '9d21275a-7657-433a-b305-a736423cc496',
111
- }, // PRC Form Part B
112
- { formName: 'Physical and Emotional Violence Form', formUuId: 'a0943862-f0fe-483d-9f11-44f62abae063' },
113
- { formName: 'Violence Trauma Counselling', formUuId: 'e983d758-5adf-4917-8172-0f4be4d8116a' },
114
- { formName: 'Violence Community Linkage Form', formUuId: 'f760e38c-3d2f-4a5d-aa3d-e9682576efa8' },
115
- { formName: 'Violence Legal Form', formUuId: 'd0c36426-4503-4236-ab5d-39bff77f2b50' },
116
- { formName: 'Violence Perpetrator Details', formUuId: 'f37d7e0e-95e8-430d-96a3-8e22664f74d6' },
117
- { formName: 'PEP FOLLOWUP Form', formUuId: '155ccbe2-a33f-4a58-8ce6-57a7372071ee' },
118
- { formName: 'Violence Discontinuation Form', formUuId: '8fed3d06-f8a1-4cb8-b853-cd93394bab79' },
119
- ],
120
- },
121
- {
122
- programName: 'TPT',
123
- programUuid: '335517a1-04bc-438b-9843-1ba49fb7fcd9',
124
- forms: [
125
- { formName: 'TPT Initiation', formUuId: '61ea2a72-b0f9-47cf-ae86-443f88656acc' },
126
- { formName: 'TPT FollowUp', formUuId: '9d0e4be8-ab72-4394-8df7-b509b9d45179' },
127
- { formName: 'TPT Outcome/Discontinuation', formUuId: '5bdd3b65-8b7b-46a0-9f7b-dfe764143848' },
128
- ],
129
- },
130
- {
131
- programName: 'PrEP',
132
- programUuid: '214cad1c-bb62-4d8e-b927-810a046daf62',
133
- forms: [
134
- { formName: 'PrEP Initial Form', formUuId: '1bfb09fc-56d7-4108-bd59-b2765fd312b8' },
135
- { formName: 'PrEP INITIATION', formUuId: 'd5ca78be-654e-4d23-836e-a934739be555' },
136
- { formName: 'PrEP Follow Up', formUuId: 'ee3e2017-52c0-4a54-99ab-ebb542fb8984' },
137
- { formName: 'PrEP Monthly Refill Form', formUuId: '291c03c8-a216-11e9-a2a3-2a2ae2dbcce4' },
138
- ],
139
- },
140
- {
141
- programName: 'NCD',
142
- programUuid: 'ffee43c4-9ccd-4e55-8a70-93194e7fafc6',
143
- forms: [
144
- { formName: 'NCD Initial Form', formUuId: 'c4994dd7-f2b6-4c28-bdc7-8b1d9d2a6a97' },
145
- { formName: 'NCD Follow Up', formUuId: '3e1057da-f130-44d9-b2bb-53e039b953c6' },
146
- { formName: 'NCD Discontinuation', formUuId: '63182d28-a23f-4d14-b48e-38077bbd8ed2' },
147
- ],
148
- },
149
- {
150
- programName: 'KVP',
151
- programUuid: '7447305a-18a7-11e9-ab14-d663bd873d93',
152
- forms: [
153
- { formName: 'KVP Contact Form', formUuId: '185dec84-df6f-4fc7-a370-15aa8be531ec' },
154
- { formName: 'KVP Clinical Enrollment', formUuId: 'c7f47cea-207b-11e9-ab14-d663bd873d93' },
155
- { formName: 'KVP Clinical Encounter form', formUuId: '92e041ac-9686-11e9-bc42-526af7764f64' },
156
- { formName: 'KVP Client Discontinuation', formUuId: '1f76643e-2495-11e9-ab14-d663bd873d93' },
157
- ],
158
- },
159
- {
160
- programName: 'HIV Program',
161
- programUuid: 'dfdc6d40-2f2f-463d-ba90-cc97350441a8',
162
- forms: [
163
- { formName: 'HIV Enrollment', formUuId: 'e4b506c1-7379-42b6-a374-284469cba8da' },
164
- { formName: 'ART Readyness', formUuId: '782a4263-3ac9-4ce8-b316-534571233f12' }, // USING ART prepairation form (closest to readiness)
165
- { formName: 'HIV Green Card', formUuId: '22c68f86-bbf0-49ba-b2d1-23fa7ccf0259' },
166
- { formName: 'HIV Discontinuation', formUuId: 'e3237ede-fa70-451f-9e6c-0908bc39f8b9' },
167
- ],
168
- },
169
- // { // TODO Uncomment and add conrect uuids after program is added by the BA
170
- // programName: 'Pre-Conception care program',
171
- // programUuid: '191269d2-9973-4958-9936-f687ed771050',
172
- // forms: [
173
- // { formName: 'Family Planning Form', formUuId: 'a52c57d4-110f-4879-82ae-907b0d90add6' },
174
- // { formName: 'Family Planning Discontinuation', formUuId: 'efc782ea-9a16-4791-824a-18be7417eda4' },
175
- // ],
176
- // },
177
- {
178
- programName: 'Medical Assited therapy',
179
- programUuid: '4b898e20-9b2d-11ee-b9d1-0242ac120002',
180
- forms: [
181
- { formName: 'MAT Initial Registration Form', formUuId: '9a9cadd7-fba1-4a24-94aa-43edfbecf8d9' },
182
- { formName: 'MAT Clinical Encounter Form', formUuId: '5ed937a0-0933-41c3-b638-63d8a4779845' },
183
- { formName: 'MAT Psycho-social Intake & Follow-up Form', formUuId: 'cfd2109b-63b3-43de-8bb3-682e80c5a965' },
184
- { formName: 'MAT Psychiatric Intake and Follow up Form', formUuId: 'fdea46a1-9423-4ef9-b780-93b32b48a528' },
185
- { formName: 'MAT Transit/Referral Form', formUuId: 'b9495048-eceb-4dd2-bfba-330dc4900ee9' },
186
- { formName: 'MAT Cessation Form', formUuId: 'fa58cbc1-91c8-4920-813b-fde7fd69533b' },
187
- { formName: 'MAT Discontinuation Form', formUuId: '38d6e116-b96c-4916-a821-b4dc83e2041d' },
188
- ],
189
- },
190
- ];
191
-
192
- export const getProgramForms = (programUuid: string) => {
193
- const program = programForms.find((p) => p.programUuid === programUuid);
194
- if (!program) {
195
- return [];
196
- }
197
- return program.forms;
198
- };
199
-
200
47
  export const usePrograms = () => {
201
48
  const rep = 'custom:(uuid,display,name,allWorkflows,concept:(uuid,display))';
202
49
  const url = `${restBaseUrl}/program?v=${rep}`;
@@ -24,13 +24,9 @@ import { useTranslation } from 'react-i18next';
24
24
  import { mutate } from 'swr';
25
25
  import { PatientCarePrograms, useCarePrograms } from '../hooks/useCarePrograms';
26
26
 
27
- import {
28
- getProgramForms,
29
- launchDeleteProgramDialog,
30
- launchProgramForm,
31
- usePatientEnrolledPrograms,
32
- } from './care-program.resource';
27
+ import { launchDeleteProgramDialog, launchProgramForm, usePatientEnrolledPrograms } from './care-program.resource';
33
28
  import styles from './care-programs.scss';
29
+ import useCareProgramForms from './useCareProgramForms';
34
30
 
35
31
  type CareProgramsProps = {
36
32
  patientUuid: string;
@@ -38,6 +34,7 @@ type CareProgramsProps = {
38
34
 
39
35
  const CarePrograms: React.FC<CareProgramsProps> = ({ patientUuid }) => {
40
36
  const { t } = useTranslation();
37
+ const { getProgramForms } = useCareProgramForms();
41
38
  const { currentVisit } = useVisit(patientUuid);
42
39
  const { eligibleCarePrograms, isLoading, isValidating, error, mutateEligiblePrograms } = useCarePrograms(patientUuid);
43
40
  const {
@@ -101,28 +98,41 @@ const CarePrograms: React.FC<CareProgramsProps> = ({ patientUuid }) => {
101
98
  <div className={styles.careProgramButtonContainer}>
102
99
  <Tag type="green">Enrolled</Tag>
103
100
  <OverflowMenu aria-label="overflow-menu" flipped>
104
- {forms.map((form) => (
105
- <OverflowMenuItem
106
- key={form.formUuId}
107
- itemText={form.formName}
108
- onClick={() => {
109
- currentVisit
110
- ? launchWorkspace('patient-form-entry-workspace', {
101
+ {forms.map((form) => {
102
+ const formEncounter = currentVisit?.encounters?.find((en) => en.form?.uuid === form.formUuId);
103
+ const areAllDependancyFormsFilled = form.dependancies.every((formUuid) =>
104
+ currentVisit?.encounters?.some((en) => en?.form?.uuid === formUuid),
105
+ );
106
+ const showForm = !form?.dependancies?.length || areAllDependancyFormsFilled;
107
+
108
+ if (!showForm) {
109
+ return null;
110
+ }
111
+
112
+ return (
113
+ <OverflowMenuItem
114
+ key={form.formUuId}
115
+ itemText={form.formName}
116
+ onClick={() => {
117
+ if (currentVisit) {
118
+ return launchWorkspace('patient-form-entry-workspace', {
111
119
  workspaceTitle: form.formName,
112
120
  mutateForm: () => {
113
121
  mutateEnrollments();
114
122
  mutateEligiblePrograms();
115
123
  },
116
124
  formInfo: {
117
- encounterUuid: '',
125
+ encounterUuid: formEncounter?.uuid ?? '',
118
126
  formUuid: form.formUuId,
119
127
  // additionalProps: { enrollmenrDetails: careProgram.enrollmentDetails ?? {} },
120
128
  },
121
- })
122
- : launchStartVisitPrompt();
123
- }}
124
- />
125
- ))}
129
+ });
130
+ }
131
+ launchStartVisitPrompt();
132
+ }}
133
+ />
134
+ );
135
+ })}
126
136
  <OverflowMenuItem
127
137
  itemText={t('edit', 'Edit')}
128
138
  onClick={() =>
@@ -173,7 +183,16 @@ const CarePrograms: React.FC<CareProgramsProps> = ({ patientUuid }) => {
173
183
  };
174
184
  }),
175
185
  ],
176
- [enrollments, eligibleCarePrograms, t, currentVisit, mutateEnrollments, patientUuid, mutateEligiblePrograms],
186
+ [
187
+ enrollments,
188
+ eligibleCarePrograms,
189
+ getProgramForms,
190
+ t,
191
+ currentVisit,
192
+ mutateEnrollments,
193
+ mutateEligiblePrograms,
194
+ patientUuid,
195
+ ],
177
196
  );
178
197
 
179
198
  const headers = [
@@ -0,0 +1,20 @@
1
+ import { useConfig } from '@openmrs/esm-framework';
2
+ import { useCallback } from 'react';
3
+ import { CarePanelConfig } from '../config-schema';
4
+
5
+ const useCareProgramForms = () => {
6
+ const { careProgramForms } = useConfig<CarePanelConfig>();
7
+ const getProgramForms = useCallback(
8
+ (programUuid: string) => {
9
+ const program = careProgramForms.find((p) => p.programUuid === programUuid);
10
+ if (!program) {
11
+ return [];
12
+ }
13
+ return program.forms;
14
+ },
15
+ [careProgramForms],
16
+ );
17
+ return { careProgramForms, getProgramForms };
18
+ };
19
+
20
+ export default useCareProgramForms;
@@ -9,6 +9,15 @@ export interface CarePanelConfig {
9
9
  uuid: string;
10
10
  display: string;
11
11
  }>;
12
+ careProgramForms: Array<{
13
+ programName: string;
14
+ programUuid: string;
15
+ forms: {
16
+ formName: string;
17
+ formUuId: string;
18
+ dependancies: string[];
19
+ }[];
20
+ }>;
12
21
  }
13
22
 
14
23
  export const configSchema = {
@@ -34,4 +43,317 @@ export const configSchema = {
34
43
  },
35
44
  ],
36
45
  },
46
+ careProgramForms: {
47
+ _type: Type.Array,
48
+ _description: 'Programs forms mapping with dependancy configuration',
49
+ _default: [
50
+ {
51
+ programName: 'PNC',
52
+ programUuid: '286598d5-1886-4f0d-9e5f-fa5473399cee',
53
+ forms: [
54
+ { formName: 'MCH Postnatal Visit Form', formUuId: '72aa78e0-ee4b-47c3-9073-26f3b9ecc4a7', dependancies: [] },
55
+ {
56
+ formName: 'PNC Services Discontinuation',
57
+ formUuId: '30db888b-d6d3-47fb-b0c9-dbdf10a57ff5',
58
+ dependancies: [],
59
+ },
60
+ ],
61
+ },
62
+ {
63
+ programName: 'ANC',
64
+ programUuid: '72635673-0613-4259-916e-e0d5d5ef8f66',
65
+ forms: [
66
+ { formName: 'MCH Antenatal Visit', formUuId: 'e8f98494-af35-4bb8-9fc7-c409c8fed843', dependancies: [] },
67
+ {
68
+ formName: 'ANC Follow Up form',
69
+ formUuId: '6fb1a39b-0a57-4239-afd7-a5490d281cb9',
70
+ dependancies: ['e8f98494-af35-4bb8-9fc7-c409c8fed843'],
71
+ },
72
+ {
73
+ formName: 'Antenatal Care (ANC) Discontinuation',
74
+ formUuId: '38885518-c71a-4661-8edf-3db67707e1d1',
75
+ dependancies: ['e8f98494-af35-4bb8-9fc7-c409c8fed843'],
76
+ },
77
+ ],
78
+ },
79
+ {
80
+ programName: 'MCH - Child Services', // cwc
81
+ programUuid: 'c2ecdf11-97cd-432a-a971-cfd9bd296b83',
82
+ forms: [
83
+ { formName: 'Child welfare clinic form', formUuId: '755b59e6-acbb-4853-abaf-be302039f902', dependancies: [] }, // CWC followup
84
+ // { formName: 'MCH Postnatal Visit Form', formUuId: '72aa78e0-ee4b-47c3-9073-26f3b9ecc4a7', dependancies: [] },
85
+ {
86
+ formName: 'Child Welfare Services Discontinuation',
87
+ formUuId: '1dd02c43-904b-4206-8378-7b1a8414c326',
88
+ dependancies: [],
89
+ },
90
+ ],
91
+ },
92
+ {
93
+ programName: 'Nutrition',
94
+ programUuid: '504f179b-4a13-4790-9ecd-ca4963448af8',
95
+ forms: [
96
+ { formName: 'Nutrition form', formUuId: 'b8357314-0f6a-4fc9-a5b7-339f47095d62', dependancies: [] },
97
+ {
98
+ formName: 'Nutrition Services Discontinuation',
99
+ formUuId: '0648a046-f404-4246-806f-c9ee78232d6d',
100
+ dependancies: [],
101
+ },
102
+ ],
103
+ },
104
+ {
105
+ programName: 'Family Planning',
106
+ programUuid: '191269d2-9973-4958-9936-f687ed771050',
107
+ forms: [
108
+ { formName: 'Family Planning Form', formUuId: 'a52c57d4-110f-4879-82ae-907b0d90add6', dependancies: [] },
109
+ {
110
+ formName: 'Family Planning Discontinuation',
111
+ formUuId: 'efc782ea-9a16-4791-824a-18be7417eda4',
112
+ dependancies: [],
113
+ },
114
+ ],
115
+ },
116
+ {
117
+ programName: 'TB',
118
+ programUuid: '9f144a34-3a4a-44a9-8486-6b7af6cc64f6',
119
+ forms: [
120
+ { formName: 'TB Enrollment', formUuId: '89994550-9939-40f3-afa6-173bce445c79', dependancies: [] },
121
+ {
122
+ formName: 'TB FollowUp',
123
+ formUuId: '2daabb77-7ad6-4952-864b-8d23e109c69d',
124
+ dependancies: ['89994550-9939-40f3-afa6-173bce445c79'],
125
+ },
126
+ {
127
+ formName: 'TB Discontinuation',
128
+ formUuId: '4b296dd0-f6be-4007-9eb8-d0fd4e94fb3a',
129
+ dependancies: ['89994550-9939-40f3-afa6-173bce445c79'],
130
+ },
131
+ ],
132
+ },
133
+ {
134
+ programName: 'Violence screening',
135
+ programUuid: 'e41c3d74-37c7-4001-9f19-ef9e35224b70',
136
+ forms: [
137
+ { formName: 'Violence enrollment', formUuId: '9ba1d4aa-57d7-48f9-a635-a23508e8136c', dependancies: [] },
138
+ {
139
+ formName: 'Violence Screening',
140
+ formUuId: '03767614-1384-4ce3-aea9-27e2f4e67d01',
141
+ dependancies: [],
142
+ },
143
+ {
144
+ formName: 'Violence Reporting Form',
145
+ formUuId: '10cd2ca0-8d25-4876-b97c-b568a912957e',
146
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
147
+ },
148
+ {
149
+ formName: 'Violence Consent Form',
150
+ formUuId: 'd720a8b3-52cc-41e2-9a75-3fd0d67744e5',
151
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
152
+ },
153
+ {
154
+ formName: 'Sexual Violence post rape care 363A',
155
+ formUuId: 'c46aa4fd-8a5a-4675-90a7-a6f2119f61d8',
156
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
157
+ }, // PRC Form Part A
158
+ {
159
+ formName: 'Sexual Violence PRC Psychological Assessment 363B',
160
+ formUuId: '9d21275a-7657-433a-b305-a736423cc496',
161
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
162
+ }, // PRC Form Part B
163
+ {
164
+ formName: 'Physical and Emotional Violence Form',
165
+ formUuId: 'a0943862-f0fe-483d-9f11-44f62abae063',
166
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
167
+ },
168
+ {
169
+ formName: 'Violence Trauma Counselling',
170
+ formUuId: 'e983d758-5adf-4917-8172-0f4be4d8116a',
171
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
172
+ },
173
+ {
174
+ formName: 'Violence Community Linkage Form',
175
+ formUuId: 'f760e38c-3d2f-4a5d-aa3d-e9682576efa8',
176
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
177
+ },
178
+ {
179
+ formName: 'Violence Legal Form',
180
+ formUuId: 'd0c36426-4503-4236-ab5d-39bff77f2b50',
181
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
182
+ },
183
+ {
184
+ formName: 'Violence Perpetrator Details',
185
+ formUuId: 'f37d7e0e-95e8-430d-96a3-8e22664f74d6',
186
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
187
+ },
188
+ {
189
+ formName: 'PEP FOLLOWUP Form',
190
+ formUuId: '155ccbe2-a33f-4a58-8ce6-57a7372071ee',
191
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
192
+ },
193
+ {
194
+ formName: 'Violence Discontinuation Form',
195
+ formUuId: '8fed3d06-f8a1-4cb8-b853-cd93394bab79',
196
+ dependancies: ['9ba1d4aa-57d7-48f9-a635-a23508e8136c', '03767614-1384-4ce3-aea9-27e2f4e67d01'],
197
+ },
198
+ ],
199
+ },
200
+ {
201
+ programName: 'TPT',
202
+ programUuid: '335517a1-04bc-438b-9843-1ba49fb7fcd9',
203
+ forms: [
204
+ { formName: 'TPT Initiation', formUuId: '61ea2a72-b0f9-47cf-ae86-443f88656acc', dependancies: [] },
205
+ {
206
+ formName: 'TPT FollowUp',
207
+ formUuId: '9d0e4be8-ab72-4394-8df7-b509b9d45179',
208
+ dependancies: ['61ea2a72-b0f9-47cf-ae86-443f88656acc'],
209
+ },
210
+ {
211
+ formName: 'TPT Outcome/Discontinuation',
212
+ formUuId: '5bdd3b65-8b7b-46a0-9f7b-dfe764143848',
213
+ dependancies: ['61ea2a72-b0f9-47cf-ae86-443f88656acc'],
214
+ },
215
+ ],
216
+ },
217
+ {
218
+ programName: 'PrEP',
219
+ programUuid: '214cad1c-bb62-4d8e-b927-810a046daf62',
220
+ forms: [
221
+ {
222
+ formName: 'PrEP INITIATION',
223
+ formUuId: 'd5ca78be-654e-4d23-836e-a934739be555',
224
+ dependancies: [],
225
+ },
226
+ {
227
+ formName: 'PrEP Initial Form',
228
+ formUuId: '1bfb09fc-56d7-4108-bd59-b2765fd312b8',
229
+ dependancies: ['d5ca78be-654e-4d23-836e-a934739be555'],
230
+ },
231
+ {
232
+ formName: 'PrEP Follow Up',
233
+ formUuId: 'ee3e2017-52c0-4a54-99ab-ebb542fb8984',
234
+ dependancies: ['d5ca78be-654e-4d23-836e-a934739be555'],
235
+ },
236
+ {
237
+ formName: 'PrEP Monthly Refill Form',
238
+ formUuId: '291c03c8-a216-11e9-a2a3-2a2ae2dbcce4',
239
+ dependancies: ['d5ca78be-654e-4d23-836e-a934739be555'],
240
+ },
241
+ ],
242
+ },
243
+ {
244
+ programName: 'NCD',
245
+ programUuid: 'ffee43c4-9ccd-4e55-8a70-93194e7fafc6',
246
+ forms: [
247
+ { formName: 'NCD Initial Form', formUuId: 'c4994dd7-f2b6-4c28-bdc7-8b1d9d2a6a97', dependancies: [] },
248
+ {
249
+ formName: 'NCD Follow Up',
250
+ formUuId: '3e1057da-f130-44d9-b2bb-53e039b953c6',
251
+ dependancies: ['c4994dd7-f2b6-4c28-bdc7-8b1d9d2a6a97'],
252
+ },
253
+ {
254
+ formName: 'NCD Discontinuation',
255
+ formUuId: '63182d28-a23f-4d14-b48e-38077bbd8ed2',
256
+ dependancies: ['c4994dd7-f2b6-4c28-bdc7-8b1d9d2a6a97'],
257
+ },
258
+ ],
259
+ },
260
+ {
261
+ programName: 'KVP',
262
+ programUuid: '7447305a-18a7-11e9-ab14-d663bd873d93',
263
+ forms: [
264
+ { formName: 'KVP Contact Form', formUuId: '185dec84-df6f-4fc7-a370-15aa8be531ec', dependancies: [] },
265
+ {
266
+ formName: 'KVP Clinical Enrollment',
267
+ formUuId: 'c7f47cea-207b-11e9-ab14-d663bd873d93',
268
+ dependancies: ['185dec84-df6f-4fc7-a370-15aa8be531ec'],
269
+ },
270
+ {
271
+ formName: 'KVP Clinical Encounter form',
272
+ formUuId: '92e041ac-9686-11e9-bc42-526af7764f64',
273
+ dependancies: ['185dec84-df6f-4fc7-a370-15aa8be531ec', 'c7f47cea-207b-11e9-ab14-d663bd873d93'],
274
+ },
275
+ {
276
+ formName: 'KVP Client Discontinuation',
277
+ formUuId: '1f76643e-2495-11e9-ab14-d663bd873d93',
278
+ dependancies: ['185dec84-df6f-4fc7-a370-15aa8be531ec', 'c7f47cea-207b-11e9-ab14-d663bd873d93'],
279
+ },
280
+ ],
281
+ },
282
+ {
283
+ programName: 'HIV Program',
284
+ programUuid: 'dfdc6d40-2f2f-463d-ba90-cc97350441a8',
285
+ forms: [
286
+ { formName: 'HIV Enrollment', formUuId: 'e4b506c1-7379-42b6-a374-284469cba8da', dependancies: [] },
287
+ {
288
+ formName: 'ART Readyness',
289
+ formUuId: '782a4263-3ac9-4ce8-b316-534571233f12',
290
+ dependancies: ['e4b506c1-7379-42b6-a374-284469cba8da'],
291
+ }, // USING ART prepairation form (closest to readiness)
292
+ {
293
+ formName: 'HIV Green Card',
294
+ formUuId: '22c68f86-bbf0-49ba-b2d1-23fa7ccf0259',
295
+ dependancies: ['e4b506c1-7379-42b6-a374-284469cba8da'],
296
+ },
297
+ {
298
+ formName: 'HIV Discontinuation',
299
+ formUuId: 'e3237ede-fa70-451f-9e6c-0908bc39f8b9',
300
+ dependancies: ['e4b506c1-7379-42b6-a374-284469cba8da'],
301
+ },
302
+ ],
303
+ },
304
+ {
305
+ programName: 'Pre-Conception care program',
306
+ programUuid: 'fd549de0-2e6d-4e76-a2c1-64df26351bdd',
307
+ forms: [
308
+ { formName: 'Pre- Conception Care', formUuId: '2cf38f9a-f910-492b-a055-e29924e513f8', dependancies: [] },
309
+ {
310
+ formName: 'Pre-Conception Discontinuation',
311
+ formUuId: 'a9128c54-3a05-4d66-ba50-149565eadfd7',
312
+ dependancies: [],
313
+ },
314
+ ],
315
+ },
316
+ {
317
+ programName: 'Medical Assited therapy',
318
+ programUuid: '4b898e20-9b2d-11ee-b9d1-0242ac120002',
319
+ forms: [
320
+ {
321
+ formName: 'MAT Initial Registration Form',
322
+ formUuId: '9a9cadd7-fba1-4a24-94aa-43edfbecf8d9',
323
+ dependancies: [],
324
+ },
325
+ {
326
+ formName: 'MAT Clinical Encounter Form',
327
+ formUuId: '5ed937a0-0933-41c3-b638-63d8a4779845',
328
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
329
+ },
330
+ {
331
+ formName: 'MAT Psycho-social Intake & Follow-up Form',
332
+ formUuId: 'cfd2109b-63b3-43de-8bb3-682e80c5a965',
333
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
334
+ },
335
+ {
336
+ formName: 'MAT Psychiatric Intake and Follow up Form',
337
+ formUuId: 'fdea46a1-9423-4ef9-b780-93b32b48a528',
338
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
339
+ },
340
+ {
341
+ formName: 'MAT Transit/Referral Form',
342
+ formUuId: 'b9495048-eceb-4dd2-bfba-330dc4900ee9',
343
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
344
+ },
345
+ {
346
+ formName: 'MAT Cessation Form',
347
+ formUuId: 'fa58cbc1-91c8-4920-813b-fde7fd69533b',
348
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
349
+ },
350
+ {
351
+ formName: 'MAT Discontinuation Form',
352
+ formUuId: '38d6e116-b96c-4916-a821-b4dc83e2041d',
353
+ dependancies: ['9a9cadd7-fba1-4a24-94aa-43edfbecf8d9'],
354
+ },
355
+ ],
356
+ },
357
+ ],
358
+ },
37
359
  };