Terminology updates
This commit is contained in:
parent
32ddfff191
commit
7b809f059a
|
@ -20,7 +20,7 @@ public class ResourceIndexedSearchParamQuantityTest {
|
|||
|
||||
// Make sure our hashing function gives consistent results
|
||||
assertEquals(834432764963581074L, token.getHashIdentity().longValue());
|
||||
assertEquals(3029184989308001259L, token.getHashIdentityAndUnits().longValue());
|
||||
assertEquals(-1970227166134682431L, token.getHashIdentityAndUnits().longValue());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -314,16 +314,16 @@ public class TerminologyLoaderSvcLoincTest {
|
|||
vs = valueSets.get("LG100-4");
|
||||
ourLog.info(FhirContext.forR4().newXmlParser().setPrettyPrint(true).encodeResourceToString(vs));
|
||||
assertEquals("Chem_DrugTox_Chal_Sero_Allergy<SAME:Comp|Prop|Tm|Syst (except intravascular and urine)><ANYBldSerPlas,ANYUrineUrineSed><ROLLUP:Method>", vs.getName());
|
||||
assertEquals("http://loinc.org/fhir/loinc-group-LG100-4", vs.getUrl());
|
||||
assertEquals("http://loinc.org/vs/LG100-4", vs.getUrl());
|
||||
assertEquals(1, vs.getCompose().getInclude().size());
|
||||
assertEquals(1, vs.getCompose().getInclude().get(0).getValueSet().size());
|
||||
assertEquals("http://loinc.org/fhir/loinc-group-LG1695-8", vs.getCompose().getInclude().get(0).getValueSet().get(0).getValueAsString());
|
||||
assertEquals("http://loinc.org/vs/LG1695-8", vs.getCompose().getInclude().get(0).getValueSet().get(0).getValueAsString());
|
||||
|
||||
// Group - Child
|
||||
vs = valueSets.get("LG1695-8");
|
||||
ourLog.info(FhirContext.forR4().newXmlParser().setPrettyPrint(true).encodeResourceToString(vs));
|
||||
assertEquals("1,4-Dichlorobenzene|MCnc|Pt|ANYBldSerPl", vs.getName());
|
||||
assertEquals("http://loinc.org/fhir/loinc-group-LG1695-8", vs.getUrl());
|
||||
assertEquals("http://loinc.org/vs/LG1695-8", vs.getUrl());
|
||||
assertEquals(1, vs.getCompose().getInclude().size());
|
||||
assertEquals(2, vs.getCompose().getInclude().get(0).getConcept().size());
|
||||
assertEquals("17424-3", vs.getCompose().getInclude().get(0).getConcept().get(0).getCode());
|
||||
|
|
Loading…
Reference in New Issue