for (String conceptUuid : questionConceptUuids) { questionConcepts.add(((ConceptResource1_8) Context.getService(RestService.class) .getResourceBySupportedClass(Concept.class)).getByUniqueId(conceptUuid)); for (String conceptUuid : answerConceptUuids) { answerConcepts.add(((ConceptResource1_8) Context.getService(RestService.class) .getResourceBySupportedClass(Concept.class)).getByUniqueId(conceptUuid));
.getResourceBySupportedClass(Concept.class)).getByUniqueId(conceptUuid); if (concept != null) { List<Obs> obs = Context.getObsService().getObservationsByPersonAndConcept(patient, concept);