Search in sources :

Example 1 with Concept

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

the class ConceptTest method deserialize.

@Test
public void deserialize() throws Exception {
    Concept readConcept = objectMapper.readValue(objectMapper.writeValueAsString(concept), Concept.class);
    assertEquals(new Code("conceptCode"), readConcept.getCode());
}
Also used : Concept(com.b2international.snowowl.fhir.core.model.codesystem.Concept) Code(com.b2international.snowowl.fhir.core.model.dt.Code) FhirTest(com.b2international.snowowl.fhir.tests.FhirTest) Test(org.junit.Test)

Aggregations

Concept (com.b2international.snowowl.fhir.core.model.codesystem.Concept)1 Code (com.b2international.snowowl.fhir.core.model.dt.Code)1 FhirTest (com.b2international.snowowl.fhir.tests.FhirTest)1 Test (org.junit.Test)1