Skip to content

Commit

Permalink
Provide the correct name for the sexual GBV form object
Browse files Browse the repository at this point in the history
  • Loading branch information
ningosi committed Jan 7, 2022
1 parent 3175e92 commit b83f395
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 8 deletions.
10 changes: 5 additions & 5 deletions api/src/main/resources/moduleApplicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
<constructor-arg value="patientqueueapp:apps/triage.png" />
<constructor-arg value="1500" />
</bean>
<bean id="patientqueueapp.app.gbv" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="patientqueueapp.gbv" />
<constructor-arg value="GBV" />
<constructor-arg value="patientqueueapp/gbv/gbvMain.page?app=patientqueueapp.gbv" />
<bean id="patientqueueapp.app.sgbv" factory-bean="kenyacore.appFactoryBean" factory-method="createInstance">
<constructor-arg value="patientqueueapp.sgbv" />
<constructor-arg value="SGBV" />
<constructor-arg value="patientqueueapp/gbv/gbvMain.page?app=patientqueueapp.sgbv" />
<constructor-arg value="patientqueueapp:apps/gbv.png" />
<constructor-arg value="1600" />
</bean>
Expand All @@ -90,7 +90,7 @@
<property name="targetUuid" value="66ed9f50-5433-11ec-979c-17759fbd2edb" />
<property name="apps">
<set>
<ref bean="patientqueueapp.app.gbv" />
<ref bean="patientqueueapp.app.sgbv" />
</set>
</property>

Expand Down
33 changes: 30 additions & 3 deletions omod/src/main/webapp/resources/htmlforms/gbvInitial.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,43 @@
<div class="ke-form-header">
<table style="width: 100%">
<tr>
<td align="left">Date of enrollment:
<td align="left">Visit Date
<encounterDate id="encounter-date" showTime="true"/>
</td>
<td>Enrolled by: <encounterProvider default="currentUser" /></td>
<td align="right">Enrolled at:
<td>User<encounterProvider default="currentUser" /></td>
<td align="right">Facility
<encounterLocation default="GlobalProperty:kenyaemr.defaultLocation" type="autocomplete"/>
</td>
</tr>
</table>
</div>
<div class="ke-form-content">
<table>
<tbody>
<tr>
<td>Hours taken from the time the incident occurred to the time the client reported to the health facility:<obs conceptId="a9e7c05e-7381-4e2b-a968-05d5d6a884f6" /></td>
</tr>
<tr>
<td>
SGBV Reporter type:<obs conceptId="a6fcb31e-73fd-4a62-9548-efcc29d39204" answerConceptIds="81802439-4826-4063-9408-7623690cc083,f45b2051-0212-48e0-a0ae-b52809c5ba0c" answerLabels="Survivor,Perpetrator" style="radio" />
</td>
</tr>
<tr>
<td>
Type of Case:<obs conceptId="164181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerConceptIds="164180AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,160530AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerLabels="New Case,Repeat Case" style="radio" />
</td>
</tr>
<tr>
<td>
Referred from:<obs conceptId="166636AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerConceptIds="1537AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,253b40ec-54da-4e92-9ab1-2d99075b19e8,159928AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,1555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,162690AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerLabels="Health facilty,Police,School,Community health worker,Chief,Other" style="radio" />
</td>
</tr>
<tr>
<td>
Disability:<obs conceptId="162558AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerConceptIds="139075AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,159298AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" answerLabels="Hearing impairment,Visual impairment" style="radio"/>
</td>
</tr>
</tbody>
</table>
</div>
</htmlform>

0 comments on commit b83f395

Please sign in to comment.