use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method positive.
@Test
public void positive() {
ShortCode pos = ShortCode.POS;
String fhirPositive = "POS";
assertEquals(pos, FhirOutcomeCode.fhir2shortcode(fhirPositive));
}
use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method significantLow.
@Test
public void significantLow() {
ShortCode low = ShortCode.L;
String fhirOffScaleLow = "LU";
assertEquals(low, FhirOutcomeCode.fhir2shortcode(fhirOffScaleLow));
}
use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method significantlyHigh.
@Test
public void significantlyHigh() {
ShortCode high = ShortCode.H;
String fhirOffScaleHigh = "HU";
assertEquals(high, FhirOutcomeCode.fhir2shortcode(fhirOffScaleHigh));
}
use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method offScaleLow.
@Test
public void offScaleLow() {
ShortCode low = ShortCode.L;
String fhirOffScaleLow = "<";
assertEquals(low, FhirOutcomeCode.fhir2shortcode(fhirOffScaleLow));
}
use of org.monarchinitiative.loinc2hpocore.codesystems.ShortCode in project loinc2hpo by monarch-initiative.
the class FhirOutcomeCodeTest method offScaleHigh.
@Test
public void offScaleHigh() {
ShortCode high = ShortCode.H;
String fhirOffScaleHigh = ">";
assertEquals(high, FhirOutcomeCode.fhir2shortcode(fhirOffScaleHigh));
}
Aggregations