Search in sources :

Example 1 with CodeConceptProperty

use of com.b2international.snowowl.fhir.core.model.property.CodeConceptProperty in project snow-owl by b2ihealthcare.

the class ConceptTest method build.

@Test
public void build() throws Exception {
    assertEquals(new Code("conceptCode"), concept.getCode());
    ConceptProperty conceptProperty = concept.getProperties().iterator().next();
    assertTrue(conceptProperty instanceof CodeConceptProperty);
}
Also used : CodeConceptProperty(com.b2international.snowowl.fhir.core.model.property.CodeConceptProperty) ConceptProperty(com.b2international.snowowl.fhir.core.model.property.ConceptProperty) Code(com.b2international.snowowl.fhir.core.model.dt.Code) CodeConceptProperty(com.b2international.snowowl.fhir.core.model.property.CodeConceptProperty) FhirTest(com.b2international.snowowl.fhir.tests.FhirTest) Test(org.junit.Test)

Aggregations

Code (com.b2international.snowowl.fhir.core.model.dt.Code)1 CodeConceptProperty (com.b2international.snowowl.fhir.core.model.property.CodeConceptProperty)1 ConceptProperty (com.b2international.snowowl.fhir.core.model.property.ConceptProperty)1 FhirTest (com.b2international.snowowl.fhir.tests.FhirTest)1 Test (org.junit.Test)1