Skip to content

Commit

Permalink
Merge pull request #1952 from makombe/iit-intervention-form
Browse files Browse the repository at this point in the history
Add high IIT intervention form metadata
  • Loading branch information
patryllus authored Jul 17, 2024
2 parents 125b1c0 + 652d622 commit 2723e11
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public static final class _EncounterType {
public static final String GENDER_BASED_VIOLENCE = "f091b067-bea5-4657-8445-cfec05dc46a2";
public static final String ENHANCED_ADHERENCE = "54df6991-13de-4efc-a1a9-2d5ac1b72ff8";
public static final String ART_PREPARATION = "ec2a91e5-444a-4ca0-87f1-f71ddfaf57eb";
public static final String HIGH_IIT_INTERVENTION = "84d66c25-e2bd-48a2-8686-c1652eb9d283";



}
Expand All @@ -70,6 +72,7 @@ public static final class _Form {
public static final String ENHANCED_ADHERENCE_SCREENING = "c483f10f-d9ee-4b0d-9b8c-c24c1ec24701";
public static final String CCC_DEFAULTER_TRACING = "a1a62d1e-2def-11e9-b210-d663bd873d93";
public static final String LAB_ORDERS_FORM_UUID = "2cdeded1-3f69-3bda-beff-1ed2ead94eaf";
public static final String HIGH_IIT_INTERVENTION = "6817d322-f938-4f38-8ccf-caa6fa7a499f";

}

Expand Down Expand Up @@ -104,6 +107,7 @@ public void install() {
install(encounterType("ART Preparation", "ART Preparation", _EncounterType.ART_PREPARATION));
install(encounterType("Enhanced Adherence Screening", "Enhanced Adherence Screening", _EncounterType.ENHANCED_ADHERENCE));
install(encounterType("Gender Based Violence Screening", "Gender Based Violence Screening", _EncounterType.GENDER_BASED_VIOLENCE));
install(encounterType("High IIT Intervention", "High IIT Intervention", _EncounterType.HIGH_IIT_INTERVENTION));

install(form("HIV Enrollment", null, _EncounterType.HIV_ENROLLMENT, "1", _Form.HIV_ENROLLMENT));
install(form("Clinical Encounter - HIV addendum", null, _EncounterType.HIV_CONSULTATION, "1", _Form.CLINICAL_ENCOUNTER_HIV_ADDENDUM));
Expand All @@ -122,6 +126,7 @@ public void install() {
install(form("Enhanced Adherence Screening", "Enhanced Adherence Screening", _EncounterType.ENHANCED_ADHERENCE, "1", _Form.ENHANCED_ADHERENCE_SCREENING));
install(form("CCC Defaulter Tracing", "Defaulter Tracing Form", _EncounterType.CCC_DEFAULTER_TRACING, "1", _Form.CCC_DEFAULTER_TRACING));
install(form("Laboratory Test Orders", "Laboratory Test Orders", _EncounterType.LAB_ORDER, "1", _Form.LAB_ORDERS_FORM_UUID));
install(form("High IIT Intervention", "High IIT Intervention", _EncounterType.HIGH_IIT_INTERVENTION, "1", _Form.HIGH_IIT_INTERVENTION));

install(patientIdentifierType("KDoD number", "Unique Id for KDoD patient", "(?i)^(KDOD)+[0-9]{4,5}$", "Must start with KDoD followed by 4-5 digit number. Example: KDoD12345 or kdod1233",
null, LocationBehavior.NOT_USED, false, _PatientIdentifierType.KDoD_NUMBER));
Expand Down
14 changes: 14 additions & 0 deletions api/src/main/resources/content/kenyaemr.hiv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<!-- <ref bean="kenyaemr.common.form.tbScreening" />-->
<ref bean="kenyaemr.hiv.form.artFastTrackForm"/>
<ref bean="kenyaemr.hiv.form.cccDefaulterTracing"/>
<ref bean="kenyaemr.hiv.form.hivHighITTIntervention" />
</set>
</property>
<property name="reports">
Expand Down Expand Up @@ -185,6 +186,19 @@
<property name="icon" value="kenyaui:forms/completion.png" />
<property name="htmlform" value="kenyaemr:hiv/hivDiscontinuation.html" />
</bean>
<!-- HIV- High IIT intervention -->
<bean id="kenyaemr.hiv.form.hivHighITTIntervention" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="6817d322-f938-4f38-8ccf-caa6fa7a499f" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.clinician" />
<ref bean="kenyaemr.app.chart" />
</set>
</property>
<property name="icon" value="kenyaui:forms/generic.png" />
<property name="htmlform" value="kenyaemr:hiv/formDoesNotExistOn2x.html" />
<property name="order" value="200015" />
</bean>

<!-- MOH257 Face Page -->
<bean id="kenyaemr.hiv.form.moh257FacePage" class="org.openmrs.module.kenyacore.form.FormDescriptor">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
~ The contents of this file are subject to the OpenMRS Public License
~ Version 1.0 (the "License"); you may not use this file except in
~ compliance with the License. You may obtain a copy of the License at
~ http://license.openmrs.org
~
~ Software distributed under the License is distributed on an "AS IS"
~ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
~ License for the specific language governing rights and limitations
~ under the License.
~
~ Copyright (C) OpenMRS, LLC. All Rights Reserved.
-->
<htmlform>
<script type="text/javascript">
jq(document).ready(function(){

});
</script>
<style>

</style>



<div class="ke-form-header">
<table width="100%">

</table>
</div>
<div class="ke-form-content">
<div>
This form DOES NOT EXIST in 2.x. Please use 3.x
</div>

</div>
<div class="ke-form-footer">

</div>

</htmlform>

0 comments on commit 2723e11

Please sign in to comment.