Make all loinc files mandatory
This commit is contained in:
parent
1b40188aab
commit
d6bfce4a1d
|
@ -171,10 +171,7 @@ public class TerminologyLoaderSvcImpl implements IHapiTerminologyLoaderSvc {
|
||||||
LoadedFileDescriptors descriptors = new LoadedFileDescriptors(theFiles);
|
LoadedFileDescriptors descriptors = new LoadedFileDescriptors(theFiles);
|
||||||
List<String> mandatoryFilenameFragments = Arrays.asList(
|
List<String> mandatoryFilenameFragments = Arrays.asList(
|
||||||
LOINC_FILE,
|
LOINC_FILE,
|
||||||
LOINC_HIERARCHY_FILE);
|
LOINC_HIERARCHY_FILE,
|
||||||
descriptors.verifyMandatoryFilesExist(mandatoryFilenameFragments);
|
|
||||||
|
|
||||||
List<String> optionalFilenameFragments = Arrays.asList(
|
|
||||||
LOINC_UPLOAD_PROPERTIES_FILE,
|
LOINC_UPLOAD_PROPERTIES_FILE,
|
||||||
LOINC_ANSWERLIST_FILE,
|
LOINC_ANSWERLIST_FILE,
|
||||||
LOINC_ANSWERLIST_LINK_FILE,
|
LOINC_ANSWERLIST_LINK_FILE,
|
||||||
|
@ -189,6 +186,10 @@ public class TerminologyLoaderSvcImpl implements IHapiTerminologyLoaderSvc {
|
||||||
LOINC_IEEE_MEDICAL_DEVICE_CODE_MAPPING_TABLE_CSV,
|
LOINC_IEEE_MEDICAL_DEVICE_CODE_MAPPING_TABLE_CSV,
|
||||||
LOINC_IMAGING_DOCUMENT_CODES_FILE
|
LOINC_IMAGING_DOCUMENT_CODES_FILE
|
||||||
);
|
);
|
||||||
|
descriptors.verifyMandatoryFilesExist(mandatoryFilenameFragments);
|
||||||
|
|
||||||
|
List<String> optionalFilenameFragments = Arrays.asList(
|
||||||
|
);
|
||||||
descriptors.verifyOptionalFilesExist(optionalFilenameFragments);
|
descriptors.verifyOptionalFilesExist(optionalFilenameFragments);
|
||||||
|
|
||||||
ourLog.info("Beginning LOINC processing");
|
ourLog.info("Beginning LOINC processing");
|
||||||
|
|
Loading…
Reference in New Issue