Examples of whenValueThenDisplaySection()


Examples of org.openmrs.module.htmlformentry.element.ObsSubmissionElement.whenValueThenDisplaySection()

        ObsSubmissionElement obs = session.getContext().getHighestOnStack(ObsSubmissionElement.class);

        // for now we only implement the case where value is a concept id/uuid/code
        Concept concept = HtmlFormEntryUtil.getConcept(value);
        if (thenDisplay != null) {
            obs.whenValueThenDisplaySection(concept, thenDisplay);
        }
        if (thenJavaScript != null) {
            obs.whenValueThenJavaScript(concept, thenJavaScript);
        }
        if (elseJavaScript != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.