Skip to content

Commit 241551d

Browse files
slubwamassmusoke
authored andcommitted
DSDM Model management and display on patient dashboard (#365)
1 parent 2eb0d53 commit 241551d

File tree

17 files changed

+973
-27
lines changed

17 files changed

+973
-27
lines changed

api/src/main/java/org/openmrs/module/aijar/AijarConstants.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ public class AijarConstants {
2525
public static final String GP_NHPI_DEFAULT_ALERT_MESSAGE="The National Health Provider Identifier is not set please go to admin then Settings then Aijar and set it";
2626
public static final String GP_DHIS2_DEFAULT_ALERT_MESSAGE="The organization code in DHIS2 is not set please go to admin then Settings then Ugandaemr and set it";
2727

28+
public static final String GP_DSDM_PROGRAM_UUID_NAME="ugandaemr.dsdm.programsuuid";
29+
30+
public static final String GP_DSDM_CONCEPT_ID="ugandaemr.dsdm.conceptId";
31+
2832

2933
/**x
3034
* Concepts

api/src/main/java/org/openmrs/module/aijar/metadata/core/Programs.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ public String conceptUuid() {
124124

125125
@Override
126126
public String name() {
127-
return "Facility Based Individual Management";
127+
return "FBIM";
128128
}
129129

130130
@Override
131131
public String description() {
132-
return "This is a DSDM model for patients that need extra management at the health centre";
132+
return "Facility Based Individual Management a DSDM model for patients that need extra management at the health centre";
133133
}
134134

135135
@Override
@@ -147,12 +147,12 @@ public String conceptUuid() {
147147

148148
@Override
149149
public String name() {
150-
return "Fast Track Drug Refill";
150+
return "FTR";
151151
}
152152

153153
@Override
154154
public String description() {
155-
return "DSDM Model for patients who only pick drugs at the health centre";
155+
return "Fast Track Drug Refill is a DSDM Model for patients who only pick drugs at the health centre";
156156
}
157157

158158
@Override
@@ -170,12 +170,12 @@ public String conceptUuid() {
170170

171171
@Override
172172
public String name() {
173-
return "Facility Based Groups";
173+
return "FGB";
174174
}
175175

176176
@Override
177177
public String description() {
178-
return "DSDM for stable or unstable clients who need peer support";
178+
return "Facility Based Groups a DSDM for stable or unstable clients who need peer support";
179179
}
180180

181181
@Override
@@ -193,12 +193,12 @@ public String conceptUuid() {
193193

194194
@Override
195195
public String name() {
196-
return "Community Client Led ART Delivery";
196+
return "CCLAD";
197197
}
198198

199199
@Override
200200
public String description() {
201-
return "DSDM Model with client lead groups with rotation drug pickup by client them selves and distribution";
201+
return "Community Client Led ART Delivery is a DSDM Model with client lead groups with rotation drug pickup by client them selves and distribution";
202202
}
203203

204204
@Override
@@ -216,12 +216,12 @@ public String conceptUuid() {
216216

217217
@Override
218218
public String name() {
219-
return "Community Drug Distribution Point";
219+
return "CDDP";
220220
}
221221

222222
@Override
223223
public String description() {
224-
return "DSDM Model in community where patients pick drugs from a distribution point in community set by their health centre";
224+
return " Community Drug Distribution Point DSDM Model in community where patients pick drugs from a distribution point in community set by their health centre";
225225
}
226226

227227
@Override

api/src/main/resources/messages.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ aijar.registrationapp.deceased.confirmdeath.question=Check if this person is dec
5252
aijar.registrationapp.nationalid=National ID
5353
aijar.registrationapp.nationalid.confirm=Confirm National ID
5454
aijar.registrationapp.nationalid.question=National ID
55+
aijar.dsdm.program.addPatientProgram=Enroll In DSDM
56+
aijar.dsdm.select.program=Select DSDM Model
57+
aijar.dsdm.select.location=Select Location
5558

5659
ugandaemr.encounter.creator=Entered By
5760
ugandaemr.encounter.datecreated=Entered On

api/src/main/resources/metadata/Custom_Concepts.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@
323323
<concept concept_id="164981" retired="0" datatype_id="4" class_id="11" is_set="0" creator="1" date_created="2017-10-03 06:59:42" version="NULL" changed_by="1" date_changed="2017-10-03 06:59:42" uuid="164981AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
324324
<concept concept_id="164985" retired="0" datatype_id="3" class_id="5" is_set="0" creator="1" date_created="2017-10-13 15:50:22" version="NULL" changed_by="1" date_changed="2017-10-13 15:50:22" uuid="164985AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
325325
<concept concept_id="1628" retired="0" datatype_id="2" class_id="4" is_set="0" creator="1" date_created="2009-01-08 14:49:30" version="NULL" uuid="1628AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
326-
327326
<concept concept_id="116023" retired="0" datatype_id="4" class_id="4" is_set="0" creator="1" date_created="2007-11-03 00:00:00" version="NULL" changed_by="1" date_changed="2016-03-07 16:12:50" uuid="116023AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
328327
<concept concept_id="164989" retired="0" datatype_id="2" class_id="5" is_set="0" creator="1" date_created="2017-11-23 12:46:38" version="1.0" changed_by="1" date_changed="2017-11-23 12:46:38" uuid="164989AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
329328
<concept concept_id="164988" retired="0" datatype_id="2" class_id="5" is_set="0" creator="1" date_created="2017-11-23 12:45:43" version="1.0" changed_by="1" date_changed="2017-11-23 12:45:43" uuid="164988AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
330329
<concept concept_id="164987" retired="0" datatype_id="2" class_id="5" is_set="0" creator="1" date_created="2017-11-23 12:44:15" version="1.0" changed_by="1" date_changed="2017-11-23 12:44:15" uuid="164987AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
331330
<concept concept_id="164986" retired="0" datatype_id="3" class_id="5" is_set="0" creator="1" date_created="2017-11-23 12:42:49" version="1.0" changed_by="1" date_changed="2017-11-23 12:44:05" uuid="164986AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
331+
<concept concept_id="165144" retired="0" datatype_id="2" class_id="5" is_set="0" creator="1" date_created="2018-11-23 17:46:41" version="1.0" changed_by="1" date_changed="2018-11-23 17:46:41" uuid="cc183c11-0f94-4992-807c-84f33095ce37"/>
332332

333333

334334
<!--KP-->
@@ -581,7 +581,7 @@
581581
<concept concept_id="160541" retired="false" datatype_id="4" class_id="11" is_set="false" creator="1" date_created="2012-06-14 16:17:34.0" uuid="160541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
582582
<concept concept_id="160552" retired="false" datatype_id="4" class_id="11" is_set="false" creator="1" date_created="2012-06-14 18:30:42.0" uuid="160552AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
583583
<concept concept_id="160631" retired="false" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2012-06-23 14:33:42.0" uuid="160631AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
584-
<concept concept_id="165143" retired="false" datatype_id="4" class_id="18" is_set="true" creator="1" date_created="2018-09-28 12:18:23" uuid="73312fee-c321-11e8-a355-529269fb1459"/>
584+
<concept concept_id="165143" retired="false" datatype_id="2" class_id="18" is_set="true" creator="1" date_created="2018-09-28 12:18:23" uuid="73312fee-c321-11e8-a355-529269fb1459"/>
585585
<concept concept_id="165142" retired="false" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2018-09-28 12:10:10" uuid="73313728-c321-11e8-a355-529269fb1459"/>
586586
<concept concept_id="165141" retired="false" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2018-09-28 12:07:25" uuid="733139e4-c321-11e8-a355-529269fb1459"/>
587587
<concept concept_id="165140" retired="false" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2018-09-28 12:01:04" uuid="73313c96-c321-11e8-a355-529269fb1459"/>
@@ -1309,6 +1309,7 @@
13091309
<concept_name concept_name_id="159993" concept_id="164988" name="Restarted IAC" locale="en" locale_preferred="1" creator="1" date_created="2017-11-23 12:45:43" concept_name_type="FULLY_SPECIFIED" voided="0" uuid="159993BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"/>
13101310
<concept_name concept_name_id="159992" concept_id="164987" name="Serum Crag Screening" locale="en" locale_preferred="1" creator="1" date_created="2017-11-23 12:44:15" concept_name_type="FULLY_SPECIFIED" voided="0" uuid="159992BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"/>
13111311
<concept_name concept_name_id="159991" concept_id="164986" name="Serum Crag Screening Result" locale="en" locale_preferred="1" creator="1" date_created="2017-11-23 12:44:05" concept_name_type="FULLY_SPECIFIED" voided="0" uuid="159991BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"/>
1312+
<concept_name concept_name_id="160179" concept_id="165144" name="Stable In DSDM" locale="en" locale_preferred="1" creator="1" date_created="2018-11-23 17:46:41" concept_name_type="FULLY_SPECIFIED" voided="0" uuid="6f6e2d05-abcb-4e5d-9e3c-172a64747e5d"/>
13121313

13131314
<!--KP-->
13141315
<concept_name concept_id="1533" name="RESPONDENT GENDER" locale="en" creator="1" date_created="2008-02-16 13:53:50" concept_name_id="1792" voided="0" voided_by="1" uuid="1792BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" concept_name_type="FULLY_SPECIFIED" locale_preferred="1"/>
@@ -3555,6 +3556,10 @@
35553556
<concept_answer concept_answer_id="6858" concept_id="164988" answer_concept="1066" creator="1" date_created="2017-11-23 12:45:43" sort_weight="2" uuid="6858CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"/>
35563557
<concept_answer concept_answer_id="6855" concept_id="164987" answer_concept="1066" creator="1" date_created="2017-11-23 12:44:15" sort_weight="2" uuid="6855CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"/>
35573558
<concept_answer concept_answer_id="6856" concept_id="164987" answer_concept="1065" creator="1" date_created="2017-11-23 12:44:15" sort_weight="1" uuid="6856CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"/>
3559+
<concept_answer concept_answer_id="7092" concept_id="165144" answer_concept="90003" creator="1" date_created="2018-11-23 17:46:41" sort_weight="1" uuid="1d72d660-7781-4b0e-81a7-09ad988a9840"/>
3560+
<concept_answer concept_answer_id="7091" concept_id="165144" answer_concept="90004" creator="1" date_created="2018-11-23 17:46:41" sort_weight="2" uuid="1cc402f9-e757-4892-81bb-e81537426023"/>
3561+
3562+
35583563

35593564
<!--KP-->
35603565
<concept_answer concept_answer_id="3907" concept_id="160666" answer_concept="1066" creator="1" date_created="2012-06-25 22:43:01" uuid="3907CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC" sort_weight="3907"/>
@@ -4006,6 +4011,15 @@
40064011
<concept_answer concept_answer_id="7025" concept_id="165113" answer_concept="165103" creator="1" date_created="2017-12-04 16:38:04" sort_weight="3" uuid="2e035fda-661f-4a47-a9eb-8a4dd1282484"/>
40074012
<concept_answer concept_answer_id="7026" concept_id="165113" answer_concept="5622" creator="1" date_created="2017-12-04 16:38:04" sort_weight="4" uuid="658418df-0b58-4c36-8be4-b9e848b8b7dd"/>
40084013

4014+
<!--Program-->
4015+
<concept_answer concept_answer_id="7089" concept_id="165143" answer_concept="165141" creator="1" date_created="2018-10-15 13:02:40" sort_weight="4" uuid="0a2ac1f3-69ca-4b7d-99ba-0f55a512fa29"/>
4016+
<concept_answer concept_answer_id="7088" concept_id="165143" answer_concept="165139" creator="1" date_created="2018-10-15 13:02:40" sort_weight="3" uuid="84b93497-934c-44c8-b3c2-86b188b0751d"/>
4017+
<concept_answer concept_answer_id="7087" concept_id="165143" answer_concept="165140" creator="1" date_created="2018-10-15 13:02:40" sort_weight="2" uuid="7e9c8a31-3aee-4cd1-b3b8-32d18df2292a"/>
4018+
<concept_answer concept_answer_id="7090" concept_id="165143" answer_concept="165142" creator="1" date_created="2018-10-15 13:02:40" sort_weight="5" uuid="cf6cea6f-c3e7-49f6-a447-15613f36504e"/>
4019+
<concept_answer concept_answer_id="7086" concept_id="165143" answer_concept="165138" creator="1" date_created="2018-10-15 13:02:40" sort_weight="1" uuid="2faf6c05-3a99-41ef-be84-9fca5412b36c"/>
4020+
4021+
4022+
40094023
<!--CONCEPT SET-->
40104024
<!--MCH-->
40114025
<concept_set concept_set_id="167" concept_id="1410" concept_set="1421" sort_weight="2.0" creator="1" date_created="2006-12-08 18:48:21.0" uuid="167AEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"/>

0 commit comments

Comments
 (0)