
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
Fields -
Method Summary
Modifier and TypeMethodDescriptionapplyDeltaCodeSystemsAdd(String theSystem, CustomTerminologySet theAdditions) applyDeltaCodeSystemsRemove(String theSystem, CustomTerminologySet theRemovals) static booleanisMakeVersionCurrent(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Defaults to true when parameter is null or entry is not present in requestDetails.myUserDataintsaveConcept(TermConcept theNextConcept) default voidstoreNewCodeSystemVersion(String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable) Default implementation supports previous signature of method which was added RequestDetails parametervoidstoreNewCodeSystemVersion(String theSystemUri, String theSystemName, String theSystemVersionId, 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 theRequestDetails, List<org.hl7.fhir.r4.model.ValueSet> theValueSets, List<org.hl7.fhir.r4.model.ConceptMap> theConceptMaps) default voidstoreNewCodeSystemVersionIfNeeded(org.hl7.fhir.r4.model.CodeSystem theCodeSystem, ResourceTable theResourceEntity) Default implementation supports previous signature of method which was added RequestDetails parametervoidstoreNewCodeSystemVersionIfNeeded(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(String theSystemUri, String theSystemName, String theSystemVersionId, TermCodeSystemVersion theCodeSystemVersion, ResourceTable theCodeSystemResourceTable, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
storeNewCodeSystemVersion
@Transactional default void storeNewCodeSystemVersion(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
-