Package org.openmrs.module.htmlformentry.element

Examples of org.openmrs.module.htmlformentry.element.EncounterDetailSubmissionElement


      Map<String, String> parameters) {
   
    Map<String, Object> temp = new HashMap<String, Object>();
        temp.putAll(parameters);
        temp.put("showVoidEncounter", true);
        EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
        session.getSubmissionController().addAction(element);
       
    return element.generateHtml(session.getContext());
  }
View Full Code Here


  protected String getSubstitution(FormEntrySession session, FormSubmissionController controllerActions,
                                   Map<String, String> parameters) {
    Map<String, Object> temp = new HashMap<String, Object>();
    temp.putAll(parameters);
    temp.put("encounterType", true);
    EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
    session.getSubmissionController().addAction(element);
   
    return element.generateHtml(session.getContext());
  }
View Full Code Here

            Map<String, String> parameters) {
       
        Map<String, Object> temp = new HashMap<String, Object>();
        temp.putAll(parameters);
        temp.put("provider", true);
        EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
        session.getSubmissionController().addAction(element);
       
        return element.generateHtml(session.getContext());
    }
View Full Code Here

            Map<String, String> parameters) {

        Map<String, Object> temp = new HashMap<String, Object>();
        temp.putAll(parameters);
        temp.put("location", true);
        EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
        session.getSubmissionController().addAction(element);
       
        return element.generateHtml(session.getContext());
    }
View Full Code Here

        }
        Map<String, Object> temp = new HashMap<String, Object>();
        temp.putAll(parameters);
        temp.put("date", true);
        temp.put("defaultDate", date);
        EncounterDetailSubmissionElement element = new EncounterDetailSubmissionElement(session.getContext(), temp);
        session.getSubmissionController().addAction(element);
       
        return element.generateHtml(session.getContext());
    }
View Full Code Here

TOP

Related Classes of org.openmrs.module.htmlformentry.element.EncounterDetailSubmissionElement

Copyright © 2018 www.massapicom. 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.