Making LOINC filenames configurable; fix implicit ValueSet URL for loinc-all.
This commit is contained in:
parent
1adfda44d9
commit
94c7fc49fd
|
@ -579,7 +579,7 @@ public class TerminologyLoaderSvcImpl implements IHapiTerminologyLoaderSvc {
|
||||||
ValueSet retVal = new ValueSet();
|
ValueSet retVal = new ValueSet();
|
||||||
|
|
||||||
retVal.setId("loinc-all");
|
retVal.setId("loinc-all");
|
||||||
retVal.setUrl("http://loinc.org/fhir/ValueSet/loinc-all");
|
retVal.setUrl("http://loinc.org/vs");
|
||||||
retVal.setVersion("1.0.0");
|
retVal.setVersion("1.0.0");
|
||||||
retVal.setName("All LOINC codes");
|
retVal.setName("All LOINC codes");
|
||||||
retVal.setStatus(Enumerations.PublicationStatus.ACTIVE);
|
retVal.setStatus(Enumerations.PublicationStatus.ACTIVE);
|
||||||
|
|
|
@ -259,7 +259,7 @@ public class TerminologyLoaderSvcLoincTest extends BaseLoaderTest {
|
||||||
// All LOINC codes
|
// All LOINC codes
|
||||||
assertTrue(valueSets.containsKey("loinc-all"));
|
assertTrue(valueSets.containsKey("loinc-all"));
|
||||||
vs = valueSets.get("loinc-all");
|
vs = valueSets.get("loinc-all");
|
||||||
assertEquals("http://loinc.org/fhir/ValueSet/loinc-all", vs.getUrl());
|
assertEquals("http://loinc.org/vs", vs.getUrl());
|
||||||
assertEquals("1.0.0", vs.getVersion());
|
assertEquals("1.0.0", vs.getVersion());
|
||||||
assertEquals("All LOINC codes", vs.getName());
|
assertEquals("All LOINC codes", vs.getName());
|
||||||
assertEquals(Enumerations.PublicationStatus.ACTIVE, vs.getStatus());
|
assertEquals(Enumerations.PublicationStatus.ACTIVE, vs.getStatus());
|
||||||
|
|
Loading…
Reference in New Issue