Search in sources :

Example 1 with PastMedicalHistoryCheckboxTagHandler

use of org.openmrs.module.pihcore.htmlformentry.PastMedicalHistoryCheckboxTagHandler in project openmrs-module-pihcore by PIH.

the class HtmlFormSetup method setupHtmlFormEntryTagHandlers.

public static void setupHtmlFormEntryTagHandlers() throws Exception {
    HtmlFormEntryService htmlFormEntryService = Context.getService(HtmlFormEntryService.class);
    htmlFormEntryService.addHandler(PihCoreConstants.HTMLFORMENTRY_CAUSE_OF_DEATH_LIST_TAG_NAME, new CauseOfDeathListTagHandler());
    htmlFormEntryService.addHandler(PihCoreConstants.HTMLFORMENTRY_PAST_MEDICAL_HISTORY_CHECKBOX_TAG_NAME, new PastMedicalHistoryCheckboxTagHandler());
    htmlFormEntryService.addHandler(PihCoreConstants.HTMLFORMENTRY_FAMILY_HISTORY_RELATIVE_CHECKBOXES_TAG_NAME, new FamilyHistoryRelativeCheckboxesTagHandler());
}
Also used : HtmlFormEntryService(org.openmrs.module.htmlformentry.HtmlFormEntryService) PastMedicalHistoryCheckboxTagHandler(org.openmrs.module.pihcore.htmlformentry.PastMedicalHistoryCheckboxTagHandler) CauseOfDeathListTagHandler(org.openmrs.module.pihcore.htmlformentry.CauseOfDeathListTagHandler) FamilyHistoryRelativeCheckboxesTagHandler(org.openmrs.module.pihcore.htmlformentry.FamilyHistoryRelativeCheckboxesTagHandler)

Aggregations

HtmlFormEntryService (org.openmrs.module.htmlformentry.HtmlFormEntryService)1 CauseOfDeathListTagHandler (org.openmrs.module.pihcore.htmlformentry.CauseOfDeathListTagHandler)1 FamilyHistoryRelativeCheckboxesTagHandler (org.openmrs.module.pihcore.htmlformentry.FamilyHistoryRelativeCheckboxesTagHandler)1 PastMedicalHistoryCheckboxTagHandler (org.openmrs.module.pihcore.htmlformentry.PastMedicalHistoryCheckboxTagHandler)1