use of org.monarchinitiative.loinc2hpo.util.LoincCodeClass in project loinc2hpo by monarch-initiative.
the class LoincLongNameParserTest method testString7.
@Test
public void testString7() {
String name = "Microalbumin [Mass/time] in 24 hour Urine by Detection limit <= 1.0 mg/L";
LoincCodeClass loinc = LoincLongNameParser.parse(name);
assertEquals("Microalbumin", loinc.getLoincParameter());
assertEquals("24 hour Urine", loinc.getLoincTissue());
assertEquals("Mass/time", loinc.getLoincType());
assertEquals("Detection limit <= 1.0 mg/L", loinc.getLoincMethod());
}
use of org.monarchinitiative.loinc2hpo.util.LoincCodeClass in project loinc2hpo by monarch-initiative.
the class LoincLongNameParserTest method testString5.
@Test
public void testString5() {
String name = "Oxygen [Partial pressure] adjusted to patient's actual temperature in Arterial blood";
LoincCodeClass loinc = LoincLongNameParser.parse(name);
assertEquals("Oxygen adjusted to patient's actual temperature", loinc.getLoincParameter());
assertEquals("Arterial blood", loinc.getLoincTissue());
assertEquals("Partial pressure", loinc.getLoincType());
assertEquals("", loinc.getLoincMethod());
}
use of org.monarchinitiative.loinc2hpo.util.LoincCodeClass in project loinc2hpo by monarch-initiative.
the class LoincLongNameParserTest method testString17.
@Test
public void testString17() {
String name = "Glucose [Mass/volume] in Serum or Plasma --45 minutes post 50 g lactose PO";
LoincCodeClass loinc = LoincLongNameParser.parse(name);
assertEquals("Glucose", loinc.getLoincParameter());
assertEquals("Serum or Plasma", loinc.getLoincTissue());
assertEquals("Mass/volume", loinc.getLoincType());
assertEquals("", loinc.getLoincMethod());
}
Aggregations