=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/GetOptionsByDataElementAction.java' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/GetOptionsByDataElementAction.java 2013-09-16 17:07:25 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/GetOptionsByDataElementAction.java 2013-10-15 10:28:59 +0000 @@ -28,19 +28,20 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import java.util.List; - +import com.opensymphony.xwork2.Action; import org.apache.commons.lang.StringUtils; import org.apache.struts2.ServletActionContext; +import org.hisp.dhis.dataelement.DataElement; +import org.hisp.dhis.dataelement.DataElementService; import org.hisp.dhis.option.OptionService; import org.hisp.dhis.option.OptionSet; import org.hisp.dhis.util.ContextUtils; +import org.springframework.beans.factory.annotation.Autowired; -import com.opensymphony.xwork2.Action; +import java.util.List; /** * @author Chau Thu Tran - * * @version $GetOptionsByDataElementAction.java Jun 15, 2012 10:36:29 AM$ */ public class GetOptionsByDataElementAction @@ -51,14 +52,23 @@ // ------------------------------------------------------------------------- // Dependencies // ------------------------------------------------------------------------- - + private OptionService optionService; + @Autowired public void setOptionService( OptionService optionService ) { this.optionService = optionService; } + private DataElementService dataElementService; + + @Autowired + public void setDataElementService( DataElementService dataElementService ) + { + this.dataElementService = dataElementService; + } + // ------------------------------------------------------------------------- // Input // ------------------------------------------------------------------------- @@ -98,6 +108,22 @@ OptionSet optionSet = optionService.getOptionSet( id ); + // retry using id as dataElementId + if ( optionSet == null ) + { + DataElement dataElement = dataElementService.getDataElement( id ); + + if ( dataElement != null ) + { + optionSet = dataElement.getOptionSet(); + } + } + + if ( optionSet == null ) + { + return INPUT; + } + // --------------------------------------------------------------------- // If the query is null and the option set has not changed since last // request we can tell the client to use its cached response (304) @@ -106,7 +132,7 @@ boolean isNotModified = (query == null && ContextUtils.isNotModified( ServletActionContext.getRequest(), ServletActionContext.getResponse(), optionSet )); - if ( !isNotModified && optionSet != null ) + if ( !isNotModified ) { options = optionService.getOptions( optionSet.getId(), query, MAX_OPTIONS_DISPLAYED ); } === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/META-INF/dhis/beans.xml 2013-10-09 11:26:54 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/META-INF/dhis/beans.xml 2013-10-15 10:28:59 +0000 @@ -146,7 +146,6 @@ id="org.hisp.dhis.caseentry.action.caseentry.GetOptionsByDataElementAction" class="org.hisp.dhis.caseentry.action.caseentry.GetOptionsByDataElementAction" scope="prototype"> - - - - - - - /main.vm - /dhis-web-caseentry/index.vm - /dhis-web-caseentry/menu.vm - - - - - - - /dhis-web-caseentry/responseSuccess.vm - - - /dhis-web-caseentry/responseError.vm - - - /dhis-web-caseentry/responseInput.vm - - plainTextError - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_SEARCH_PATIENT_IN_ALL_FACILITIES - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_SEARCH_PATIENT_IN_OTHER_ORGUNITS - - - - /content.vm - /dhis-web-caseentry/listPatient.vm - F_PATIENT_SEARCH - - - - /content.vm - true - /dhis-web-caseentry/listPatient.vm - F_PATIENT_LIST - - - - /content.vm - /dhis-web-caseentry/dataRecordingSelect.vm - style/style.css - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - /dhis-web-caseentry/jsonProgramStageInstances.vm - - - - - /dhis-web-caseentry/jsonProgramStageInstance.vm - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - /content.vm - /dhis-web-caseentry/dataEntryForm.vm - style/style.css - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - /dhis-web-caseentry/jsonResponseProgramCompleted.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - plainTextError - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - /dhis-web-caseentry/cacheManifest.vm - - - - - /dhis-web-caseentry/jsonProgramMetaData.vm - - - - - - /main.vm - /dhis-web-caseentry/anonymousRegistration.vm - /dhis-web-caseentry/dataEntryMenu.vm - ../dhis-web-caseentry/cacheManifest.action - ../dhis-web-commons/ouwt/ouwt.js - ,javascript/commons.js - ,javascript/anonymousRegistration.js - ,javascript/entry.js - ,../dhis-web-commons/javascripts/date.js - - style/style.css - F_ANONYMOUS_DATA_ENTRY - - - - /dhis-web-caseentry/jsonSingleEventPrograms.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - /dhis-web-caseentry/jsonProgramInstances.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseError.vm - - - - - /dhis-web-caseentry/jsonOptionSet.vm - - - - - /dhis-web-caseentry/jsonUsers.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseError.vm - - plainTextError - F_PROGRAM_STAGE_INSTANCE_DELETE - - - - /content.vm - /dhis-web-caseentry/validationResult.vm - - - - /dhis-web-caseentry/jsonOptions.vm - - - - - /dhis-web-caseentry/jsonProgramStageDataElements.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - - - /dhis-web-caseentry/jsonUsernames.vm - - - - - - /dhis-web-caseentry/jsonminOrganisationUnitPaths.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - - status.vm - - /dhis-web-caseentry/responseInput.vm - - plainTextError - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - plainTextError - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - - status.vm - status.vm - plainTextError - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - - - /main.vm - /dhis-web-caseentry/multiDataEntrySelect.vm - /dhis-web-caseentry/dataEntryMenu.vm - style/style.css - - ../dhis-web-commons/ouwt/ouwt.js, - javascript/commons.js, - javascript/patient.js, - javascript/entry.js, - javascript/relationshipPatient.js, - javascript/multiDataEntry.js - F_NAME_BASED_DATA_ENTRY - - - - /dhis-web-commons/ajax/jsonPrograms.vm - - - - - /dhis-web-commons/ajax/jsonPrograms.vm - - - - - /content.vm - /dhis-web-caseentry/dataentryRecords.vm - style/style.css - - - - /content.vm - /dhis-web-caseentry/reportDataEntryForm.vm - style/style.css - - - - /content.vm - /dhis-web-caseentry/dataEntryForm.vm - ../dhis-web-commons/javascripts/date.js - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - getDataRecords.action?programId=${programId} - - F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - - - /main.vm - /dhis-web-caseentry/singleEventSelect.vm - /dhis-web-caseentry/dataEntryMenu.vm - ../dhis-web-commons/ouwt/ouwt.js - ,javascript/commons.js - ,javascript/singleEvent.js - ,javascript/form.js - ,javascript/entry.js - ,../dhis-web-commons/javascripts/date.js - - style/style.css - F_SINGLE_EVENT_DATA_ENTRY - - - - /dhis-web-caseentry/jsonSingleEventPrograms.vm - - - - - /content.vm - /dhis-web-caseentry/addSingleEventRegistration.vm - style/style.css - F_PATIENT_ADD,F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - status.vm - F_PATIENT_ADD,F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE - - - - - - - /main.vm - /dhis-web-caseentry/reportSelect.vm - /dhis-web-caseentry/reportsMenu.vm - ../dhis-web-commons/ouwt/ouwt.js,javascript/report.js - style/style.css - F_GENERATE_PROGRAM_SUMMARY_REPORT - - - - /content.vm - /dhis-web-caseentry/report.vm - javascript/commons.js,javascript/report.js - F_GENERATE_PROGRAM_SUMMARY_REPORT - - - - /content.vm - /dhis-web-caseentry/reportDataEntryForm.vm - style/style.css - - - - - /main.vm - /dhis-web-caseentry/statisticalProgramReportSelect.vm - /dhis-web-caseentry/reportsMenu.vm - ../dhis-web-commons/ouwt/ouwt.js,javascript/statisticalReport.js - style/style.css - F_GENERATE_STATISTICAL_PROGRAM_REPORT - - - - /content.vm - /dhis-web-caseentry/statisticalProgramReport.vm - - F_GENERATE_STATISTICAL_PROGRAM_REPORT - - - - - - /dhis-web-caseentry/i18n.vm - - - - - - - /main.vm - /dhis-web-caseentry/caseAggregationForm.vm - /dhis-web-caseentry/caseAggregationMenu.vm - javascript/caseagg.js,javascript/caseAggregationForm.js - style/style.css - F_PATIENT_AGGREGATION - - - - - /dhis-web-caseentry/responseSuccess.vm - - - /dhis-web-caseentry/responseError.vm - - - /dhis-web-caseentry/responseInput.vm - - - - - /content.vm - /dhis-web-caseentry/caseAggregationResult.vm - /dhis-web-caseentry/caseAggregationMenu.vm - F_PATIENT_AGGREGATION - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_DATAVALUE_ADD,F_DATAVALUE_DELETE - - - - /content.vm - /dhis-web-caseentry/caseAggregationResultDetails.vm - - - - - - - /main.vm - /dhis-web-caseentry/selectPatient.vm - /dhis-web-caseentry/registrationMenu.vm - - ../dhis-web-commons/ouwt/ouwt.js - ,javascript/commons.js - ,javascript/patient.js - ,javascript/entry.js - ,javascript/relationshipPatient.js - - style/style.css - F_PATIENT_MANAGEMENT - - - - /content.vm - /dhis-web-caseentry/patientRegistrationList.vm - F_PATIENT_SEARCH - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseError.vm - - plainTextError - F_PATIENT_DELETE - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_ADD - - - - /content.vm - /dhis-web-caseentry/addPatientForm.vm - F_PATIENT_ADD - - - - /content.vm - - /dhis-web-caseentry/updatePatientForm.vm - - - ../dhis-web-commons/javascripts/jQuery/jquery-barcode.min.js - - F_PATIENT_ADD - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_ADD - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - - /dhis-web-caseentry/responseDuplicate.vm - - plainTextError - - - - /content.vm - /dhis-web-caseentry/underAgeForm.vm - javascript/underage.js, - ../dhis-web-commons/javascripts/date.js - - style/style.css - F_PATIENT_ADD - - - - responsePatients.vm - - F_PATIENT_SEARCH - - - - responseRepresentative.vm - - F_PATIENT_ADD - - - - /content.vm - - - /dhis-web-caseentry/patientHistory.vm - F_PATIENT_HISTORY - - - - /content.vm - - - /dhis-web-caseentry/programInstanceHistory.vm - - - - /content.vm - /dhis-web-caseentry/patientLocation.vm - F_PATIENT_CHANGE_LOCATION - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_CHANGE_LOCATION - - - - - - /content.vm - /dhis-web-caseentry/programEnrollmentSelectForm.vm - F_PROGRAM_ENROLLMENT - - - - /content.vm - /dhis-web-caseentry/programEnrollmentForm.vm - F_PROGRAM_INSTANCE_MANAGEMENT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseError.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - - - - - /dhis-web-caseentry/jsonProgramEnrollment.vm - - F_PROGRAM_ENROLLMENT - - - - - /dhis-web-caseentry/responseProgramInstance.vm - - - - - /content.vm - /dhis-web-caseentry/eventMessage.vm - F_PROGRAM_STAGE_INSTANCE_REMINDER - - - - status.vm - plainTextError - F_PROGRAM_ENROLLMENT - - - - status.vm - F_PATIENT_ADD, F_PROGRAM_ENROLLMENT - - - - status.vm - F_PROGRAM_UNENROLLMENT - - - - /content.vm - /dhis-web-caseentry/identifierAndAttributeForm.vm - F_PATIENT_ADD - - - - /content.vm - /dhis-web-caseentry/visitSchedule.vm - F_PROGRAM_ENROLLMENT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - plainTextError - - - - - - - /content.vm - /dhis-web-caseentry/detailsPartner.vm - - - - /content.vm - /dhis-web-caseentry/relationshipList.vm - - ../dhis-web-commons/javascripts/jQuery/jquery-barcode.min.js - - F_RELATIONSHIP_MANAGEMENT - - - - /content.vm - /dhis-web-caseentry/addRelationshipForm.vm - F_RELATIONSHIP_ADD - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - plainTextError - - - - /content.vm - /dhis-web-caseentry/relationshipPatients.vm - F_RELATIONSHIP_ADD - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - plainTextError - F_RELATIONSHIP_ADD - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_RELATIONSHIP_DELETE - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - plainTextError - F_RELATIONSHIP_ADD - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - plainTextError - F_RELATIONSHIP_DELETE - - - - /content.vm - /dhis-web-caseentry/addRelationshipPatientForm.vm - F_PATIENT_ADD, F_RELATIONSHIP_ADD - - - - - /dhis-web-commons/ajax/xmlResponseSuccess.vm - - - /dhis-web-commons/ajax/xmlResponseError.vm - - - /dhis-web-commons/ajax/xmlResponseInput.vm - - - /dhis-web-caseentry/responseDuplicate.vm - - plainTextError - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_RELATIONSHIP_ADD - - - - - - /content.vm - /dhis-web-caseentry/programStageInstancesList.vm - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-caseentry/jsonminOrganisationUnitChildren.vm - - - - - - /dhis-web-caseentry/jsonTabularInitialize.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - /dhis-web-caseentry/jsonProgramStages.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - /dhis-web-caseentry/jsonProgramStageSections.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - /dhis-web-caseentry/responseDataElements.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - /dhis-web-caseentry/responseTabularParams.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_TABULAR_REPORT_PUBLIC_ADD,F_PATIENT_TABULAR_REPORT_PRIVATE_ADD - - - - - /dhis-web-caseentry/jsonTabularReportList.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-caseentry/jsonTabularReport.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - - - /dhis-web-caseentry/jsonTabularReportList.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_AGGREGATE_REPORT_PUBLIC_ADD,F_PATIENT_AGGREGATE_REPORT_PRIVATE_ADD - - - - - /dhis-web-caseentry/jsonTabularReportList.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-caseentry/jsonTabularAggregateReport.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - /dhis-web-caseentry/jsonminOrganisationUnitPaths.vm - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseInput.vm - - F_GENERATE_BENEFICIARY_TABULAR_REPORT - - - - - - - /main.vm - /dhis-web-caseentry/programTrackingSelect.vm - /dhis-web-caseentry/registrationMenu.vm - style/style.css - - ../dhis-web-commons/ouwt/ouwt.js, - javascript/commons.js, - javascript/patient.js, - javascript/relationshipPatient.js, - javascript/entry.js, - javascript/smsReminder.js - - F_PROGRAM_TRACKING_MANAGEMENT - - - - /content.vm - /dhis-web-caseentry/programTrackingRecords.vm - style/style.css - F_PROGRAM_TRACKING_SEARCH - - - - /content.vm - /dhis-web-caseentry/programTrackingList.vm - style/style.css - F_PROGRAM_TRACKING_LIST - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - /dhis-web-commons/ajax/jsonResponseInput.vm - - /dhis-web-commons/ajax/jsonResponseError.vm - - plainTextError - F_MOBILE_SENDSMS - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - /dhis-web-commons/ajax/jsonResponseError.vm - - plainTextError - F_MOBILE_SENDSMS - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - /dhis-web-commons/ajax/jsonResponseError.vm - - F_PROGRAM_ENROLLMENT - - - - /content.vm - /dhis-web-caseentry/trackingEventMessage.vm - style/style.css - - - - - - /content.vm - /dhis-web-caseentry/patientDashboard.vm - style/style.css - F_PATIENT_DASHBOARD - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /dhis-web-commons/ajax/jsonResponseError.vm - - F_PROGRAM_INSTANCE_DELETE - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_COMMENT_ADD - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_COMMENT_DELETE - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_PATIENT_COMMENT_DELETE - - - - - - - /main.vm - /dhis-web-caseentry/activityPlanSelect.vm - /dhis-web-caseentry/registrationMenu.vm - style/style.css - - ../dhis-web-commons/ouwt/ouwt.js, - javascript/commons.js, - javascript/patient.js, - javascript/entry.js, - javascript/relationshipPatient.js, - javascript/activityPlan.js - - F_ACTIVITY_PLAN - - - - /content.vm - /dhis-web-caseentry/activityPlanRecords.vm - style/style.css - - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_ACCESS_PATIENT_ATTRIBUTES - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_ALLOW_EDIT_PATIENT_PROPERTIES - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_ALLOW_EDIT_PATIENT_ATTRIBUTES - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - - F_ALLOW_EDIT_PATIENT_IDENTIFIERS - - - - - - - - /main.vm - /dhis-web-caseentry/programStageCompletenessSelect.vm - /dhis-web-caseentry/reportsMenuWithoutOrgunit.vm - style/style.css - - javascript/commons.js, - javascript/programStageCompleteness.js - F_PROGRAM_STAGE_COMPLETENESS - - - - /content.vm - /dhis-web-caseentry/programStageCompleteness.vm - style/style.css - - - F_PROGRAM_STAGE_COMPLETENESS - - - + + + + + + /main.vm + /dhis-web-caseentry/index.vm + /dhis-web-caseentry/menu.vm + + + + + + + /dhis-web-caseentry/responseSuccess.vm + + + /dhis-web-caseentry/responseError.vm + + + /dhis-web-caseentry/responseInput.vm + + plainTextError + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_SEARCH_PATIENT_IN_ALL_FACILITIES + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_SEARCH_PATIENT_IN_OTHER_ORGUNITS + + + + /content.vm + /dhis-web-caseentry/listPatient.vm + F_PATIENT_SEARCH + + + + /content.vm + true + /dhis-web-caseentry/listPatient.vm + F_PATIENT_LIST + + + + /content.vm + /dhis-web-caseentry/dataRecordingSelect.vm + style/style.css + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + /dhis-web-caseentry/jsonProgramStageInstances.vm + + + + + /dhis-web-caseentry/jsonProgramStageInstance.vm + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + /content.vm + /dhis-web-caseentry/dataEntryForm.vm + style/style.css + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + /dhis-web-caseentry/jsonResponseProgramCompleted.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + plainTextError + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + /dhis-web-caseentry/cacheManifest.vm + + + + + /dhis-web-caseentry/jsonProgramMetaData.vm + + + + + + /main.vm + /dhis-web-caseentry/anonymousRegistration.vm + /dhis-web-caseentry/dataEntryMenu.vm + ../dhis-web-caseentry/cacheManifest.action + ../dhis-web-commons/ouwt/ouwt.js + ,javascript/commons.js + ,javascript/anonymousRegistration.js + ,javascript/entry.js + ,../dhis-web-commons/javascripts/date.js + + style/style.css + F_ANONYMOUS_DATA_ENTRY + + + + /dhis-web-caseentry/jsonSingleEventPrograms.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + /dhis-web-caseentry/jsonProgramInstances.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseError.vm + + + + + /dhis-web-caseentry/jsonOptionSet.vm + + + + + /dhis-web-caseentry/jsonUsers.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseError.vm + + plainTextError + F_PROGRAM_STAGE_INSTANCE_DELETE + + + + /content.vm + /dhis-web-caseentry/validationResult.vm + + + + /dhis-web-caseentry/jsonOptions.vm + /dhis-web-caseentry/responseInput.vm + + + + /dhis-web-caseentry/jsonProgramStageDataElements.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + + + /dhis-web-caseentry/jsonUsernames.vm + + + + + + /dhis-web-caseentry/jsonminOrganisationUnitPaths.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + + status.vm + /dhis-web-caseentry/responseInput.vm + plainTextError + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + plainTextError + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + + status.vm + status.vm + plainTextError + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + + + /main.vm + /dhis-web-caseentry/multiDataEntrySelect.vm + /dhis-web-caseentry/dataEntryMenu.vm + style/style.css + + ../dhis-web-commons/ouwt/ouwt.js, + javascript/commons.js, + javascript/patient.js, + javascript/entry.js, + javascript/relationshipPatient.js, + javascript/multiDataEntry.js + + F_NAME_BASED_DATA_ENTRY + + + + /dhis-web-commons/ajax/jsonPrograms.vm + + + + + /dhis-web-commons/ajax/jsonPrograms.vm + + + + + /content.vm + /dhis-web-caseentry/dataentryRecords.vm + style/style.css + + + + /content.vm + /dhis-web-caseentry/reportDataEntryForm.vm + style/style.css + + + + /content.vm + /dhis-web-caseentry/dataEntryForm.vm + ../dhis-web-commons/javascripts/date.js + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + getDataRecords.action?programId=${programId} + + F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + + + /main.vm + /dhis-web-caseentry/singleEventSelect.vm + /dhis-web-caseentry/dataEntryMenu.vm + ../dhis-web-commons/ouwt/ouwt.js + ,javascript/commons.js + ,javascript/singleEvent.js + ,javascript/form.js + ,javascript/entry.js + ,../dhis-web-commons/javascripts/date.js + + style/style.css + F_SINGLE_EVENT_DATA_ENTRY + + + + /dhis-web-caseentry/jsonSingleEventPrograms.vm + + + + + /content.vm + /dhis-web-caseentry/addSingleEventRegistration.vm + style/style.css + F_PATIENT_ADD,F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + status.vm + F_PATIENT_ADD,F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_DELETE + + + + + + + /main.vm + /dhis-web-caseentry/reportSelect.vm + /dhis-web-caseentry/reportsMenu.vm + ../dhis-web-commons/ouwt/ouwt.js,javascript/report.js + style/style.css + F_GENERATE_PROGRAM_SUMMARY_REPORT + + + + /content.vm + /dhis-web-caseentry/report.vm + javascript/commons.js,javascript/report.js + F_GENERATE_PROGRAM_SUMMARY_REPORT + + + + /content.vm + /dhis-web-caseentry/reportDataEntryForm.vm + style/style.css + + + + + /main.vm + /dhis-web-caseentry/statisticalProgramReportSelect.vm + /dhis-web-caseentry/reportsMenu.vm + ../dhis-web-commons/ouwt/ouwt.js,javascript/statisticalReport.js + style/style.css + F_GENERATE_STATISTICAL_PROGRAM_REPORT + + + + /content.vm + /dhis-web-caseentry/statisticalProgramReport.vm + + F_GENERATE_STATISTICAL_PROGRAM_REPORT + + + + + + /dhis-web-caseentry/i18n.vm + + + + + + + /main.vm + /dhis-web-caseentry/caseAggregationForm.vm + /dhis-web-caseentry/caseAggregationMenu.vm + javascript/caseagg.js,javascript/caseAggregationForm.js + style/style.css + F_PATIENT_AGGREGATION + + + + + /dhis-web-caseentry/responseSuccess.vm + + + /dhis-web-caseentry/responseError.vm + + + /dhis-web-caseentry/responseInput.vm + + + + + /content.vm + /dhis-web-caseentry/caseAggregationResult.vm + /dhis-web-caseentry/caseAggregationMenu.vm + F_PATIENT_AGGREGATION + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_DATAVALUE_ADD,F_DATAVALUE_DELETE + + + + /content.vm + /dhis-web-caseentry/caseAggregationResultDetails.vm + + + + + + + /main.vm + /dhis-web-caseentry/selectPatient.vm + /dhis-web-caseentry/registrationMenu.vm + + ../dhis-web-commons/ouwt/ouwt.js + ,javascript/commons.js + ,javascript/patient.js + ,javascript/entry.js + ,javascript/relationshipPatient.js + + style/style.css + F_PATIENT_MANAGEMENT + + + + /content.vm + /dhis-web-caseentry/patientRegistrationList.vm + F_PATIENT_SEARCH + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseError.vm + + plainTextError + F_PATIENT_DELETE + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_ADD + + + + /content.vm + /dhis-web-caseentry/addPatientForm.vm + F_PATIENT_ADD + + + + /content.vm + + /dhis-web-caseentry/updatePatientForm.vm + + + ../dhis-web-commons/javascripts/jQuery/jquery-barcode.min.js + + F_PATIENT_ADD + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_ADD + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + + /dhis-web-caseentry/responseDuplicate.vm + + plainTextError + + + + /content.vm + /dhis-web-caseentry/underAgeForm.vm + javascript/underage.js, + ../dhis-web-commons/javascripts/date.js + + style/style.css + F_PATIENT_ADD + + + + responsePatients.vm + + F_PATIENT_SEARCH + + + + responseRepresentative.vm + + F_PATIENT_ADD + + + + /content.vm + + + /dhis-web-caseentry/patientHistory.vm + F_PATIENT_HISTORY + + + + /content.vm + + + /dhis-web-caseentry/programInstanceHistory.vm + + + + /content.vm + /dhis-web-caseentry/patientLocation.vm + F_PATIENT_CHANGE_LOCATION + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_CHANGE_LOCATION + + + + + + /content.vm + /dhis-web-caseentry/programEnrollmentSelectForm.vm + F_PROGRAM_ENROLLMENT + + + + /content.vm + /dhis-web-caseentry/programEnrollmentForm.vm + F_PROGRAM_INSTANCE_MANAGEMENT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseError.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + + + + + /dhis-web-caseentry/jsonProgramEnrollment.vm + + F_PROGRAM_ENROLLMENT + + + + + /dhis-web-caseentry/responseProgramInstance.vm + + + + + /content.vm + /dhis-web-caseentry/eventMessage.vm + F_PROGRAM_STAGE_INSTANCE_REMINDER + + + + status.vm + plainTextError + F_PROGRAM_ENROLLMENT + + + + status.vm + F_PATIENT_ADD, F_PROGRAM_ENROLLMENT + + + + status.vm + F_PROGRAM_UNENROLLMENT + + + + /content.vm + /dhis-web-caseentry/identifierAndAttributeForm.vm + F_PATIENT_ADD + + + + /content.vm + /dhis-web-caseentry/visitSchedule.vm + F_PROGRAM_ENROLLMENT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + plainTextError + + + + + + + /content.vm + /dhis-web-caseentry/detailsPartner.vm + + + + /content.vm + /dhis-web-caseentry/relationshipList.vm + + ../dhis-web-commons/javascripts/jQuery/jquery-barcode.min.js + + F_RELATIONSHIP_MANAGEMENT + + + + /content.vm + /dhis-web-caseentry/addRelationshipForm.vm + F_RELATIONSHIP_ADD + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + plainTextError + + + + /content.vm + /dhis-web-caseentry/relationshipPatients.vm + F_RELATIONSHIP_ADD + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + plainTextError + F_RELATIONSHIP_ADD + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_RELATIONSHIP_DELETE + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + plainTextError + F_RELATIONSHIP_ADD + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + plainTextError + F_RELATIONSHIP_DELETE + + + + /content.vm + /dhis-web-caseentry/addRelationshipPatientForm.vm + F_PATIENT_ADD, F_RELATIONSHIP_ADD + + + + + /dhis-web-commons/ajax/xmlResponseSuccess.vm + + + /dhis-web-commons/ajax/xmlResponseError.vm + + + /dhis-web-commons/ajax/xmlResponseInput.vm + + + /dhis-web-caseentry/responseDuplicate.vm + + plainTextError + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_RELATIONSHIP_ADD + + + + + + /content.vm + /dhis-web-caseentry/programStageInstancesList.vm + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-caseentry/jsonminOrganisationUnitChildren.vm + + + + + + /dhis-web-caseentry/jsonTabularInitialize.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + /dhis-web-caseentry/jsonProgramStages.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + /dhis-web-caseentry/jsonProgramStageSections.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + /dhis-web-caseentry/responseDataElements.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + /dhis-web-caseentry/responseTabularParams.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_TABULAR_REPORT_PUBLIC_ADD,F_PATIENT_TABULAR_REPORT_PRIVATE_ADD + + + + + /dhis-web-caseentry/jsonTabularReportList.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-caseentry/jsonTabularReport.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + + + /dhis-web-caseentry/jsonTabularReportList.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_AGGREGATE_REPORT_PUBLIC_ADD,F_PATIENT_AGGREGATE_REPORT_PRIVATE_ADD + + + + + /dhis-web-caseentry/jsonTabularReportList.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-caseentry/jsonTabularAggregateReport.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + /dhis-web-caseentry/jsonminOrganisationUnitPaths.vm + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseInput.vm + + F_GENERATE_BENEFICIARY_TABULAR_REPORT + + + + + + + /main.vm + /dhis-web-caseentry/programTrackingSelect.vm + /dhis-web-caseentry/registrationMenu.vm + style/style.css + + ../dhis-web-commons/ouwt/ouwt.js, + javascript/commons.js, + javascript/patient.js, + javascript/relationshipPatient.js, + javascript/entry.js, + javascript/smsReminder.js + + F_PROGRAM_TRACKING_MANAGEMENT + + + + /content.vm + /dhis-web-caseentry/programTrackingRecords.vm + style/style.css + F_PROGRAM_TRACKING_SEARCH + + + + /content.vm + /dhis-web-caseentry/programTrackingList.vm + style/style.css + F_PROGRAM_TRACKING_LIST + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + /dhis-web-commons/ajax/jsonResponseInput.vm + + /dhis-web-commons/ajax/jsonResponseError.vm + + plainTextError + F_MOBILE_SENDSMS + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + /dhis-web-commons/ajax/jsonResponseError.vm + + plainTextError + F_MOBILE_SENDSMS + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + /dhis-web-commons/ajax/jsonResponseError.vm + + F_PROGRAM_ENROLLMENT + + + + /content.vm + /dhis-web-caseentry/trackingEventMessage.vm + style/style.css + + + + + + /content.vm + /dhis-web-caseentry/patientDashboard.vm + style/style.css + F_PATIENT_DASHBOARD + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + + /dhis-web-commons/ajax/jsonResponseError.vm + + F_PROGRAM_INSTANCE_DELETE + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_COMMENT_ADD + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_COMMENT_DELETE + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_PATIENT_COMMENT_DELETE + + + + + + + /main.vm + /dhis-web-caseentry/activityPlanSelect.vm + /dhis-web-caseentry/registrationMenu.vm + style/style.css + + ../dhis-web-commons/ouwt/ouwt.js, + javascript/commons.js, + javascript/patient.js, + javascript/entry.js, + javascript/relationshipPatient.js, + javascript/activityPlan.js + + F_ACTIVITY_PLAN + + + + /content.vm + /dhis-web-caseentry/activityPlanRecords.vm + style/style.css + + + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_ACCESS_PATIENT_ATTRIBUTES + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_ALLOW_EDIT_PATIENT_PROPERTIES + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_ALLOW_EDIT_PATIENT_ATTRIBUTES + + + + /dhis-web-commons/ajax/jsonResponseSuccess.vm + + F_ALLOW_EDIT_PATIENT_IDENTIFIERS + + + + + + + + /main.vm + /dhis-web-caseentry/programStageCompletenessSelect.vm + /dhis-web-caseentry/reportsMenuWithoutOrgunit.vm + style/style.css + + javascript/commons.js, + javascript/programStageCompleteness.js + + F_PROGRAM_STAGE_COMPLETENESS + + + + /content.vm + /dhis-web-caseentry/programStageCompleteness.vm + style/style.css + + + F_PROGRAM_STAGE_COMPLETENESS + + +