Search in sources :

Example 1 with ObservationCategoryMap

use of org.openmrs.module.fhir2.api.mappings.ObservationCategoryMap in project openmrs-module-fhir2 by openmrs.

the class ObservationCategoryTranslatorImplTest method setup.

@Before
public void setup() throws Exception {
    observationCategoryTranslator = new ObservationCategoryTranslatorImpl();
    categoryMap = new ObservationCategoryMap();
    concept = new Concept();
    categoryMap.setSessionFactory(sessionFactory);
    observationCategoryTranslator.setCategoryMap(categoryMap);
    executeDataSet(OBSERVATION_CATEGORY_CONCEPT_CLASS_DATA);
}
Also used : CodeableConcept(org.hl7.fhir.r4.model.CodeableConcept) Concept(org.openmrs.Concept) ObservationCategoryMap(org.openmrs.module.fhir2.api.mappings.ObservationCategoryMap) Before(org.junit.Before)

Aggregations

CodeableConcept (org.hl7.fhir.r4.model.CodeableConcept)1 Before (org.junit.Before)1 Concept (org.openmrs.Concept)1 ObservationCategoryMap (org.openmrs.module.fhir2.api.mappings.ObservationCategoryMap)1