
Package ca.uhn.fhir.jpa.term
Class TermCodeSystemStorageSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.term.TermCodeSystemStorageSvcImpl
- All Implemented Interfaces:
ITermCodeSystemStorageSvc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ITermCodeSystemDaoprotected ITermCodeSystemVersionDaoprotected ITermConceptDaoprotected ITermConceptDesignationDaoprotected ITermConceptPropertyDaoprotected jakarta.persistence.EntityManagerprotected IIdHelperService<JpaPid> Fields inherited from interface ca.uhn.fhir.jpa.term.api.ITermCodeSystemStorageSvc
MAKE_LOADING_VERSION_CURRENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyDeltaCodeSystemsAdd(String theSystem, CustomTerminologySet theAdditions) applyDeltaCodeSystemsRemove(String theSystem, CustomTerminologySet theValue) intsaveConcept(TermConcept theConcept) Returns the number of saved conceptsvoidstoreNewCodeSystemVersion(String theSystemUri, String theSystemName, String theCodeSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IIdTypestoreNewCodeSystemVersion(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, TermCodeSystemVersion theCodeSystemVersion, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, List<org.hl7.fhir.r4.model.ValueSet> theValueSets, List<org.hl7.fhir.r4.model.ConceptMap> theConceptMaps) voidstoreNewCodeSystemVersionIfNeeded(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.term.api.ITermCodeSystemStorageSvc
storeNewCodeSystemVersion, storeNewCodeSystemVersionIfNeeded
-
Field Details
-
myEntityManager
-
myCodeSystemDao
-
myCodeSystemVersionDao
-
myConceptDao
-
myConceptPropertyDao
-
myConceptDesignationDao
-
myIdHelperService
-
-
Constructor Details
-
TermCodeSystemStorageSvcImpl
public TermCodeSystemStorageSvcImpl()
-
-
Method Details
-
applyDeltaCodeSystemsAdd
@Transactional public UploadStatistics applyDeltaCodeSystemsAdd(String theSystem, CustomTerminologySet theAdditions) - Specified by:
applyDeltaCodeSystemsAddin interfaceITermCodeSystemStorageSvc
-
applyDeltaCodeSystemsRemove
@Transactional public UploadStatistics applyDeltaCodeSystemsRemove(String theSystem, CustomTerminologySet theValue) - Specified by:
applyDeltaCodeSystemsRemovein interfaceITermCodeSystemStorageSvc
-
saveConcept
Returns the number of saved concepts- Specified by:
saveConceptin interfaceITermCodeSystemStorageSvc
-
storeNewCodeSystemVersionIfNeeded
@Transactional(propagation=MANDATORY) public void storeNewCodeSystemVersionIfNeeded(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
storeNewCodeSystemVersionIfNeededin interfaceITermCodeSystemStorageSvc
-
storeNewCodeSystemVersion
@Transactional public org.hl7.fhir.instance.model.api.IIdType storeNewCodeSystemVersion(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, TermCodeSystemVersion theCodeSystemVersion, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, List<org.hl7.fhir.r4.model.ValueSet> theValueSets, List<org.hl7.fhir.r4.model.ConceptMap> theConceptMaps) - Specified by:
storeNewCodeSystemVersionin interfaceITermCodeSystemStorageSvc- Returns:
- Returns the ID of the created/updated code system
-
storeNewCodeSystemVersion
@Transactional public void storeNewCodeSystemVersion(String theSystemUri, String theSystemName, String theCodeSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
storeNewCodeSystemVersionin interfaceITermCodeSystemStorageSvc
-