Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 341 lines (303 sloc) 15.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!-- ===================== Configurations ===================== -->
<bean id="kenyaemr.config.form" class="org.openmrs.module.kenyacore.form.FormConfiguration">
<property name="commonPatientForms">
<set>
<ref bean="kenyaemr.common.form.hivFamilyHistory" />
<ref bean="kenyaemr.common.form.obstetricHistory" />
<!--<ref bean="kenyaemr.common.form.medicalAndSurgicalHistory" />-->
</set>
</property>
<property name="commonVisitForms">
<set>
<ref bean="kenyaemr.common.form.triage" />
<ref bean="kenyaemr.common.form.clinicalEncounter" />
<ref bean="kenyaemr.common.form.labResults" />
<ref bean="kenyaemr.common.form.otherMedications" />
<ref bean="kenyaemr.common.form.progressNote" />
</set>
</property>
</bean>
<bean id="kenyaemr.config.report" class="org.openmrs.module.kenyacore.report.ReportConfiguration">
<property name="commonReports">
<set>
<ref bean="kenyaemr.common.report.artDrug" />
<ref bean="kenyaemr.common.report.missedAppointment" />
<ref bean="kenyaemr.common.report.moh711" />
<ref bean="kenyaemr.common.report.moh731" />
<ref bean="kenyaemr.common.report.dhis2" />
<ref bean="kenyaemr.common.report.recordedDeceased" />
<ref bean="kenyaemr.common.report.allPatients" />
<ref bean="kenyaemr.common.report.rdqaReport" />
<ref bean="kenyaemr.common.report.clients.died" />
<ref bean="kenyaemr.common.report.clients.transferred.in" />
<ref bean="kenyaemr.common.report.clients.transferred.out" />
<ref bean="kenyaemr.common.report.mer-indicators" />
</set>
</property>
</bean>
<bean id="kenyaemr.config.regimen" class="org.openmrs.module.kenyaemr.regimen.RegimenConfiguration">
<property name="definitionsPath" value="regimens.xml" />
</bean>
<bean id="kenyaemr.config.lab" class="org.openmrs.module.kenyacore.lab.LabConfiguration">
<property name="commonCatalogs">
<set>
<ref bean="kenyaemr.common.lab.standardcatalog" />
</set>
</property>
</bean>
<!-- ===================== Identifiers ===================== -->
<!-- National Identification Number -->
<bean id="kenyaemr.common.identifier.national" class="org.openmrs.module.kenyacore.identifier.IdentifierDescriptor">
<property name="targetUuid" value="${metadata.identifiertype.NATIONAL_ID}" />
<property name="order" value="100" />
</bean>
<!-- Patient Clinic Number -->
<bean id="kenyaemr.common.identifier.pcn" class="org.openmrs.module.kenyacore.identifier.IdentifierDescriptor">
<property name="targetUuid" value="${metadata.identifiertype.PATIENT_CLINIC_NUMBER}" />
<property name="order" value="200" />
</bean>
<!-- Old Identification Number -->
<bean id="kenyaemr.common.identifier.old" class="org.openmrs.module.kenyacore.identifier.IdentifierDescriptor">
<property name="targetUuid" value="${metadata.identifiertype.OLD}" />
<property name="order" value="300" />
</bean>
<!-- OpenMRS ID -->
<bean id="kenyaemr.common.identifier.mrn" class="org.openmrs.module.kenyacore.identifier.IdentifierDescriptor">
<property name="targetUuid" value="${metadata.identifiertype.MEDICAL_RECORD_NUMBER}" />
</bean>
<!-- ===================== Forms ===================== -->
<!-- Family History -->
<bean id="kenyaemr.common.form.hivFamilyHistory" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.HIV_FAMILY_HISTORY}" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.clinician" />
<ref bean="kenyaemr.app.chart" />
</set>
</property>
<property name="icon" value="kenyaui:forms/family_history.png" />
<property name="htmlform" value="kenyaemr:hiv/hivFamilyHistory.html" />
<property name="order" value="100010" />
</bean>
<!-- Obstetric History -->
<bean id="kenyaemr.common.form.obstetricHistory" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.OBSTETRIC_HISTORY}" />
<property name="gender" value="FEMALE" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.registration" />
<ref bean="kenyaemr.app.intake" />
<ref bean="kenyaemr.app.clinician" />
<ref bean="kenyaemr.app.chart" />
</set>
</property>
<property name="icon" value="kenyaui:forms/obstetric.png" />
<property name="htmlform" value="kenyaemr:obstetricHistory.html" />
<property name="order" value="100020" />
</bean>
<!-- Triage -->
<bean id="kenyaemr.common.form.triage" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.TRIAGE}" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.registration" />
<ref bean="kenyaemr.app.intake" />
<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:triage.html" />
<property name="order" value="200010" />
</bean>
<!-- Clinical Encounter -->
<bean id="kenyaemr.common.form.clinicalEncounter" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.CLINICAL_ENCOUNTER}" />
<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:clinicalEncounter.html" />
<property name="order" value="200020" />
</bean>
<!-- Lab Results -->
<bean id="kenyaemr.common.form.labResults" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="7e603909-9ed5-4d0c-a688-26ecb05d8b6e" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.intake" />
<ref bean="kenyaemr.app.clinician" />
<ref bean="kenyaemr.app.chart" />
</set>
</property>
<property name="icon" value="kenyaui:forms/labresults.png" />
<property name="htmlform" value="kenyaemr:labResults.html" />
<property name="order" value="200030" />
</bean>
<!-- Medications -->
<bean id="kenyaemr.common.form.otherMedications" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="d4ff8ad1-19f8-484f-9395-04c755de9a47" />
<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:otherMedications.html" />
<property name="order" value="200040" />
</bean>
<!-- Progress Note -->
<bean id="kenyaemr.common.form.progressNote" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.PROGRESS_NOTE}" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.intake" />
<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:progressNote.html" />
<property name="order" value="200050" />
</bean>
<!-- TB Screening -->
<bean id="kenyaemr.common.form.tbScreening" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.TB_SCREENING}" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.intake" />
<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:tb/tbScreening.html" />
<property name="order" value="201020" />
</bean>
<!-- GENE XPERT FORM -->
<bean id="kenyaemr.common.form.geneXpert" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.GENE_XPERT}" />
<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:tb/tbGeneXpert.html" />
<property name="order" value="201021" />
</bean>
<!-- Medical and Surgical History -->
<!--<bean id="kenyaemr.common.form.medicalAndSurgicalHistory" class="org.openmrs.module.kenyacore.form.FormDescriptor">
<property name="targetUuid" value="${metadata.form.SURGICAL_AND_MEDICAL_HISTORY}" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.registration" />
<ref bean="kenyaemr.app.intake" />
<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:medicalAndSurgicalHistory.html" />
<property name="order" value="100030" />
</bean>-->
<!-- ===================== Reports ===================== -->
<bean id="kenyaemr.common.report.missedAppointment" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="d1e3d16f-74d8-47c7-9475-849e9d82408b" />
<property name="name" value="Patients who missed their last appointment" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.MissedLastAppointmentCalculation" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<bean id="kenyaemr.common.report.moh711" class="org.openmrs.module.kenyacore.report.IndicatorReportDescriptor">
<property name="targetUuid" value="c546b523-83f8-43ba-a979-e0631f0a5364" />
<property name="name" value="MOH 711" />
<property name="description" value="National Integrated Form for Reproductive Health, HIV/AIDS, Malaria, TB and Child Nutrition" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<bean id="kenyaemr.common.report.moh731" class="org.openmrs.module.kenyacore.report.IndicatorReportDescriptor">
<property name="targetUuid" value="dcd7d647-ea54-45a9-9d56-f56fc37c2b87" />
<property name="name" value="MOH 731" />
<property name="description" value="Comprehensive HIV/AIDS Facility Reporting Form - NASCOP" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
<property name="template" value="kenyaemr:moh731.xls" />
</bean>
<bean id="kenyaemr.common.report.artDrug" class="org.openmrs.module.kenyacore.report.IndicatorReportDescriptor">
<property name="targetUuid" value="5609a402-94b2-11e3-9ca9-93351facf9dd" />
<property name="name" value="ART Drugs" />
<property name="description" value="Monthly ART Drug Report" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
<property name="template" value="kenyaemr:artDrugs.xls" />
</bean>
<bean id="kenyaemr.common.report.dhis2" class="org.openmrs.module.kenyacore.report.IndicatorReportDescriptor">
<property name="targetUuid" value="e8f317ea-ebb9-11e3-abe5-7f8b2039b9d7" />
<property name="name" value="DHIS II File Generator" />
<property name="description" value="DHIS Compatible Report" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
<property name="template" value="kenyaemr:dhis2.xls" />
</bean>
<bean id="kenyaemr.common.report.recordedDeceased" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="e7736868-125e-11e4-ab7a-a327f879345f" />
<property name="name" value="Patients to be marked as deceased" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.RecordedDeceasedCalculation" />
<property name="displayIdentifier" ref="kenyaemr.hiv.identifier.upn" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<bean id="kenyaemr.common.report.allPatients" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="9e2ed586-130b-11e4-929a-8746415b715a" />
<property name="name" value="All Patients List" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.hiv.AllPatientsCalculation" />
<property name="displayIdentifier" ref="kenyaemr.hiv.identifier.upn" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<!-- =========================== RDQA Reports =============================-->
<bean id="kenyaemr.common.report.rdqaReport" class="org.openmrs.module.kenyacore.report.HybridReportDescriptor">
<property name="targetUuid" value="ed1cfbf2-64c6-11e4-86ed-10c37b209d8a" />
<property name="name" value="RDQA Report" />
<property name="description" value="Report for Routine Data Quality Analysis" />
<property name="apps">
<set>
<ref bean="kenyaemr.app.reports" />
</set></property>
<property name="template" value="kenyaemr:rdqa/rdqaTemplate.xls" />
<property name="repeatingSection" value="sheet:1,row:11,dataset:allPatients | sheet:2,row:11,dataset:activePatients " />
</bean>
<!--Additionals fpr 15.1 release-->
<bean id="kenyaemr.common.report.clients.transferred.out" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="fe5da2d2-7ecd-11e5-a6be-10c37b209c79" />
<property name="name" value="Clients transferred out" />
<property name="description" value="Patients who have been moved to other facilities" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.hiv.art.IsTransferOutCalculation" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<bean id="kenyaemr.common.report.clients.transferred.in" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="176edbce-7ece-11e5-a7d9-10c37b209c79" />
<property name="name" value="Clients transferred in" />
<property name="description" value="Patients who came in from other facilities" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.hiv.art.IsTransferInCalculation" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<bean id="kenyaemr.common.report.clients.died" class="org.openmrs.module.kenyacore.report.CalculationReportDescriptor">
<property name="targetUuid" value="d4c6805e-7ecf-11e5-8b43-10c37b209c79" />
<property name="name" value="Clients died" />
<property name="description" value="Patients who have died" />
<property name="calculation" value="org.openmrs.module.kenyaemr.calculation.library.DeceasedPatientsCalculation" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
</bean>
<!-- MER indicators-->
<bean id="kenyaemr.common.report.mer-indicators" class="org.openmrs.module.kenyacore.report.IndicatorReportDescriptor">
<property name="targetUuid" value="c51f5468-da01-11e5-97dd-10c37b209c79" />
<property name="name" value="MER Indicators" />
<property name="description" value="Enables facilities to properly manage their clients and also assisting in the national reporting mechanisms" />
<property name="apps"><set><ref bean="kenyaemr.app.reports" /></set></property>
<property name="template" value="kenyaemr:mer.xls" />
</bean>
</beans>
You can’t perform that action at this time.