Package ca.uhn.fhir.jpa.term.api
Interface ITermCodeSystemStorageSvc
- All Known Implementing Classes:
TermCodeSystemStorageSvcImpl
public interface ITermCodeSystemStorageSvc
This service handles writes to the CodeSystem/Concept tables within the terminology services
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyDeltaCodeSystemsAdd
(String theSystem, CustomTerminologySet theAdditions) applyDeltaCodeSystemsRemove
(String theSystem, CustomTerminologySet theRemovals) static boolean
isMakeVersionCurrent
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Defaults to true when parameter is null or entry is not present in requestDetails.myUserDataint
saveConcept
(TermConcept theNextConcept) default void
storeNewCodeSystemVersion
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theCodeSystemResourcePid, String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable) Default implementation supports previous signature of method which was added RequestDetails parametervoid
storeNewCodeSystemVersion
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theCodeSystemResourcePid, String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IIdType
storeNewCodeSystemVersion
(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, TermCodeSystemVersion theCodeSystemVersion, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<org.hl7.fhir.r4.model.ValueSet> theValueSets, List<org.hl7.fhir.r4.model.ConceptMap> theConceptMaps) default void
storeNewCodeSystemVersionIfNeeded
(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity) Default implementation supports previous signature of method which was added RequestDetails parametervoid
storeNewCodeSystemVersionIfNeeded
(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
Field Details
-
MAKE_LOADING_VERSION_CURRENT
- See Also:
-
-
Method Details
-
isMakeVersionCurrent
Defaults to true when parameter is null or entry is not present in requestDetails.myUserData -
storeNewCodeSystemVersion
void storeNewCodeSystemVersion(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theCodeSystemResourcePid, String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
storeNewCodeSystemVersion
@Transactional default void storeNewCodeSystemVersion(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theCodeSystemResourcePid, String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable) Default implementation supports previous signature of method which was added RequestDetails parameter -
storeNewCodeSystemVersion
org.hl7.fhir.instance.model.api.IIdType storeNewCodeSystemVersion(org.hl7.fhir.r4.model.CodeSystem theCodeSystemResource, TermCodeSystemVersion theCodeSystemVersion, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<org.hl7.fhir.r4.model.ValueSet> theValueSets, List<org.hl7.fhir.r4.model.ConceptMap> theConceptMaps) - Returns:
- Returns the ID of the created/updated code system
-
storeNewCodeSystemVersionIfNeeded
void storeNewCodeSystemVersionIfNeeded(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
storeNewCodeSystemVersionIfNeeded
default void storeNewCodeSystemVersionIfNeeded(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity) Default implementation supports previous signature of method which was added RequestDetails parameter -
applyDeltaCodeSystemsAdd
-
applyDeltaCodeSystemsRemove
-
saveConcept
-