Examples of ObsGroupEntity


Examples of org.openmrs.module.htmlformentry.matching.ObsGroupEntity

       
        if (thisGroup == null && (session.getContext().getMode() == Mode.EDIT || session.getContext().getMode() == Mode.VIEW)) {
          if (!session.getContext().isUnmatchedMode()) {
              unmatchedInd = true;

              ObsGroupEntity obsGroupEntity = new ObsGroupEntity();
              obsGroupEntity.setPath(ObsGroupComponent.getObsGroupPath(node));
              obsGroupEntity.setQuestionsAndAnswers(ObsGroupComponent.findQuestionsAndAnswersForGroup(attributes.get("groupingConceptId"), node));
              obsGroupEntity.setXmlObsGroupConcept(attributes.get("groupingConceptId"));
              obsGroupEntity.setGroupingConcept(groupingConcept);
              obsGroupEntity.setNode(node);
              int unmatchedObsGroupId = session.getContext().addUnmatchedObsGroupEntities(obsGroupEntity);
                out.print(String.format("<unmatched id=\"%s\" />", unmatchedObsGroupId));         
                digDeeper = false;
          }
        } else {
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.