Package ca.uhn.fhir.jpa.term
Class TermLoaderSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.term.TermLoaderSvcImpl
- All Implemented Interfaces:
ca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.jpa.term.api.ITermLoaderSvc
ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.ByteArrayFileDescriptor, ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor
-
Field Summary
FieldsFields inherited from interface ca.uhn.fhir.jpa.term.api.ITermLoaderSvc
ICD10CM_URI, IEEE_11073_10101_URI, IMGTHLA_URI, LOINC_URI, SCT_URI
-
Constructor Summary
ConstructorsConstructorDescriptionTermLoaderSvcImpl
(ITermDeferredStorageSvc theDeferredStorageSvc, ITermCodeSystemStorageSvc theCodeSystemStorageSvc) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
firstNonBlank
(String... theStrings) protected LoincXmlFileZipContentsHandler
static TermConcept
getOrCreateConcept
(Map<String, TermConcept> id2concept, String id) static TermConceptProperty
getOrCreateConceptProperty
(Map<String, List<TermConceptProperty>> code2Properties, String code, String key) static void
iterateOverZipFileCsv
(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) static void
iterateOverZipFileCsvOptional
(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) ca.uhn.fhir.jpa.term.UploadStatistics
loadCustom
(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadDeltaAdd
(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadDeltaRemove
(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadIcd10cm
(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadImgthla
(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadLoinc
(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.jpa.term.UploadStatistics
loadSnomedCt
(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) static TermLoaderSvcImpl
withoutProxyCheck
(ITermDeferredStorageSvc theTermDeferredStorageSvc, ITermCodeSystemStorageSvc theTermCodeSystemStorageSvc)
-
Field Details
-
CUSTOM_CONCEPTS_FILE
- See Also:
-
CUSTOM_HIERARCHY_FILE
- See Also:
-
CUSTOM_PROPERTIES_FILE
- See Also:
-
-
Constructor Details
-
TermLoaderSvcImpl
@Autowired public TermLoaderSvcImpl(ITermDeferredStorageSvc theDeferredStorageSvc, ITermCodeSystemStorageSvc theCodeSystemStorageSvc)
-
-
Method Details
-
withoutProxyCheck
public static TermLoaderSvcImpl withoutProxyCheck(ITermDeferredStorageSvc theTermDeferredStorageSvc, ITermCodeSystemStorageSvc theTermCodeSystemStorageSvc) -
loadImgthla
public ca.uhn.fhir.jpa.term.UploadStatistics loadImgthla(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadImgthla
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadLoinc
public ca.uhn.fhir.jpa.term.UploadStatistics loadLoinc(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadLoinc
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadSnomedCt
public ca.uhn.fhir.jpa.term.UploadStatistics loadSnomedCt(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadSnomedCt
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadIcd10cm
public ca.uhn.fhir.jpa.term.UploadStatistics loadIcd10cm(List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadIcd10cm
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadCustom
public ca.uhn.fhir.jpa.term.UploadStatistics loadCustom(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadCustom
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadDeltaAdd
public ca.uhn.fhir.jpa.term.UploadStatistics loadDeltaAdd(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadDeltaAdd
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
loadDeltaRemove
public ca.uhn.fhir.jpa.term.UploadStatistics loadDeltaRemove(String theSystem, List<ca.uhn.fhir.jpa.term.api.ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadDeltaRemove
in interfaceca.uhn.fhir.jpa.term.api.ITermLoaderSvc
-
getLoincXmlFileZipContentsHandler
-
iterateOverZipFileCsv
public static void iterateOverZipFileCsv(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) -
iterateOverZipFileCsvOptional
public static void iterateOverZipFileCsvOptional(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) -
firstNonBlank
-
getOrCreateConcept
-
getOrCreateConceptProperty
public static TermConceptProperty getOrCreateConceptProperty(Map<String, List<TermConceptProperty>> code2Properties, String code, String key)
-