
Package ca.uhn.fhir.jpa.term
Class TermLoaderSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.term.TermLoaderSvcImpl
- All Implemented Interfaces:
ITermLoaderSvc
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.jpa.term.api.ITermLoaderSvc
ITermLoaderSvc.ByteArrayFileDescriptor, ITermLoaderSvc.FileDescriptor -
Field Summary
FieldsFields inherited from interface ca.uhn.fhir.jpa.term.api.ITermLoaderSvc
ICD10_URI, ICD10CM_URI, IEEE_11073_10101_URI, IMGTHLA_URI, LOINC_URI, SCT_URI -
Constructor Summary
ConstructorsConstructorDescriptionTermLoaderSvcImpl(ITermDeferredStorageSvc theDeferredStorageSvc, ITermCodeSystemStorageSvc theCodeSystemStorageSvc) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfirstNonBlank(String... theStrings) protected LoincXmlFileZipContentsHandlerstatic TermConceptgetOrCreateConcept(Map<String, TermConcept> id2concept, String id) static TermConceptPropertygetOrCreateConceptProperty(Map<String, List<TermConceptProperty>> code2Properties, String code, String key) static voiditerateOverZipFileCsv(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) static voiditerateOverZipFileCsvOptional(LoadedFileDescriptors theDescriptors, String theFileNamePart, IZipContentsHandlerCsv theHandler, char theDelimiter, org.apache.commons.csv.QuoteMode theQuoteMode, boolean theIsPartialFilename) loadCustom(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadDeltaAdd(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadDeltaRemove(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadIcd10(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadIcd10cm(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadImgthla(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadLoinc(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) loadSnomedCt(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) static TermLoaderSvcImplwithoutProxyCheck(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 UploadStatistics loadImgthla(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadImgthlain interfaceITermLoaderSvc
-
loadLoinc
public UploadStatistics loadLoinc(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadLoincin interfaceITermLoaderSvc
-
loadSnomedCt
public UploadStatistics loadSnomedCt(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadSnomedCtin interfaceITermLoaderSvc
-
loadIcd10
public UploadStatistics loadIcd10(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadIcd10in interfaceITermLoaderSvc
-
loadIcd10cm
public UploadStatistics loadIcd10cm(List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadIcd10cmin interfaceITermLoaderSvc
-
loadCustom
public UploadStatistics loadCustom(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadCustomin interfaceITermLoaderSvc
-
loadDeltaAdd
public UploadStatistics loadDeltaAdd(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadDeltaAddin interfaceITermLoaderSvc
-
loadDeltaRemove
public UploadStatistics loadDeltaRemove(String theSystem, List<ITermLoaderSvc.FileDescriptor> theFiles, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
loadDeltaRemovein interfaceITermLoaderSvc
-
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)
-