use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method detected.
@Test
public void detected() {
ShortCode pos = ShortCode.POS;
String fhirDetected = "DET";
assertEquals(pos, FhirOutcomeCode.fhir2shortcode(fhirDetected));
}
use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method negative.
@Test
public void negative() {
ShortCode neg = ShortCode.NEG;
String fhirNotDetected = "NEG";
assertEquals(neg, FhirOutcomeCode.fhir2shortcode(fhirNotDetected));
}
Aggregations