Skip to content

Commit 9e4df7a

Browse files
authored
Merge pull request #2107 from makombe/fix-encounter-name
(fix) Correct violence screening encouter names with length more than allowed characters for field name
2 parents b01b55b + 696deaf commit 9e4df7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/main/java/org/openmrs/module/kenyaemr/metadata/GBVMetadata.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ public void install() {
8585
install(encounterType("PEP Management Non OCN Encounter", "PEP Management Non OCN Encounter", _EncounterType.PEP_MANAGEMENT_NON_OCN_ENCOUNTER));
8686
install(encounterType("PEP Management OCN Encounter", "PEP Management OCN Encounter", _EncounterType.PEP_MANAGEMENT_OCN_ENCOUNTER));
8787
install(encounterType("PEP Management Survivor Encounter", "PEP Management Survivor Encounter", _EncounterType.PEP_MANAGEMENT_SURVIVOR_ENCOUNTER));
88-
install(encounterType("Sexual violence Post Rape Care 363A Encounter", "Sexual violence Post Rape Care 363A Encounter", _EncounterType.SGBV_POST_RAPE_CARE_PART_A_ENCOUNTER));
89-
install(encounterType("Sexual violence PRC Psychological Assessment 363B Encounter", "Sexual violence PRC Psychological Assessment 363B Encounter", _EncounterType.SGBV_PSYCHOLOGICAL_ASSESSMENT_PART_B_ENCOUNTER));
90-
install(encounterType("ViolencePhysical and Emotional Abuse Encounter", "Violence Physical and Emotional Abuse Encounter", _EncounterType.GBV_PHYSICAL_EMOTIONAL_ABUSE_ENCOUNTER));
88+
install(encounterType("Sexual violence Post Rape Care 363A", "Sexual violence Post Rape Care 363A Encounter", _EncounterType.SGBV_POST_RAPE_CARE_PART_A_ENCOUNTER));
89+
install(encounterType("Sexual violence PRC Psychological Assessment 363B", "Sexual violence PRC Psychological Assessment 363B Encounter", _EncounterType.SGBV_PSYCHOLOGICAL_ASSESSMENT_PART_B_ENCOUNTER));
90+
install(encounterType("Violence Physical and Emotional Abuse", "Violence Physical and Emotional Abuse Encounter", _EncounterType.GBV_PHYSICAL_EMOTIONAL_ABUSE_ENCOUNTER));
9191
install(encounterType("Violence PEP Follow up Encounter", "Violence PEP Follow up Encounter", _EncounterType.GBV_PEP_FOLLOWUP_ENCOUNTER));
9292

9393
install(form("Violence Enrollment Form", "Gender Based Violence Enrollment Form", _EncounterType.GBV_ENROLLMENT_ENCOUNTER, "1", _Form.GBV_ENROLLMENT_FORM));

0 commit comments

Comments
 (0)