Package ca.uhn.fhir.jpa.dao.r5
Class FhirResourceDaoValueSetR5
java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<org.hl7.fhir.r5.model.ValueSet>
ca.uhn.fhir.jpa.dao.r5.FhirResourceDaoValueSetR5
- All Implemented Interfaces:
ca.uhn.fhir.jpa.api.dao.IDao
,ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r5.model.ValueSet>
,ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
,org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept> ca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r5.model.ValueSet>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class FhirResourceDaoValueSetR5
extends BaseHapiFhirResourceDao<org.hl7.fhir.r5.model.ValueSet>
implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,org.hl7.fhir.r5.model.Coding,org.hl7.fhir.r5.model.CodeableConcept>
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao
myPlatformTransactionManager, mySearchDao, myTransactionService
Fields inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirDao
INDEX_STATUS_INDEXED, INDEX_STATUS_INDEXING_FAILED, myDeleteConflictService, myEntityManager, myForcedIdDao, myIdHelperService, myInMemoryResourceMatcher, myInterceptorBroadcaster, myResourceHistoryTableDao, myResourceProvenanceDao, myResourceTableDao, myResourceTagDao, mySearchCoordinatorSvc, myTerminologySvc, NS_JPA_PROFILE
Fields inherited from class ca.uhn.fhir.jpa.dao.BaseStorageDao
myDaoConfig, myFhirContext, myModelConfig, myResourceVersionSvc, mySearchParamRegistry, OO_SEVERITY_ERROR, OO_SEVERITY_INFO, OO_SEVERITY_WARN
Fields inherited from interface ca.uhn.fhir.jpa.api.dao.IDao
CURRENTLY_REINDEXING, RESOURCE_PID, RESOURCE_PID_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r5.model.ValueSet
expand
(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.r5.model.ValueSet
expand
(org.hl7.fhir.r5.model.ValueSet theSource, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) org.hl7.fhir.r5.model.ValueSet
expandByIdentifier
(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) void
updateEntity
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IBasePersistedResource theEntity, Date theDeletedTimestampOrNull, boolean thePerformIndexing, boolean theUpdateVersion, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theForceUpdate, boolean theCreateNewHistoryEntry) ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
validateCode
(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetIdentifier, org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, org.hl7.fhir.r5.model.Coding theCoding, org.hl7.fhir.r5.model.CodeableConcept theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Methods inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao
create, create, create, create, create, delete, delete, delete, deleteByUrl, deleteByUrl, deletePidList, detectSearchDaoDisabled, doCreateForPost, doRead, expunge, expunge, forceExpungeInExistingTransaction, getCurrentVersionId, getMessageSanitized, getResourceName, getResourceType, history, history, isPagingProviderDatabaseBacked, markResourcesMatchingExpressionAsNeedingReindexing, metaAddOperation, metaDeleteOperation, metaGetOperation, metaGetOperation, patch, postConstruct, preDelete, read, read, read, readByPid, readByPid, readEntity, readEntity, readEntityLatestVersion, reindex, removeTag, removeTag, search, search, search, searchForIds, setIdHelperSvcForUnitTest, setRequestPartitionHelperService, setResourceType, setTransactionService, start, toMetaDt, update, update, update, update, update, update, validate, validateCriteriaAndReturnResourceDefinition
Methods inherited from class ca.uhn.fhir.jpa.dao.BaseHapiFhirDao
addPidToResource, decodeResource, encodeResource, getApplicationContext, getConfig, getContext, getContext, getInterceptorBroadcaster, getTagOrNull, history, isLogicalReference, parseContentTextIntoWords, populateFullTextFields, populateResourceIntoEntity, postDelete, postPersist, postUpdate, setApplicationContext, setContext, setDaoConfigForUnitTest, setDaoSearchParamSynchronizer, setDisableIncrementOnUpdateForUnitTest, setEntityManager, setPartitionSettingsForUnitTest, setResourceHistoryTableDao, setSearchParamPresenceSvc, setSearchParamWithInlineReferencesExtractor, setValidationDisabledForUnitTest, shouldDroppedTagBeRemovedOnUpdate, toResource, toResource, toResourceName, toTagDefinitionMemoryCacheKey, updateEntityForDelete, updateInternal, updateResourceMetadata, validateMetaCount, validateResourceForStorage, validateResourceType
Methods inherited from class ca.uhn.fhir.jpa.dao.BaseStorageDao
clearRequestAsProcessingSubRequest, createErrorOperationOutcome, createInfoOperationOutcome, createResourceGoneException, doCallHooks, extractReferencesToAutoVersion, markRequestAsProcessingSubRequest, notifyInterceptors, preProcessResourceForStorage, preProcessResourceForStorage, setSearchParamRegistry, toMethodOutcome, toMethodOutcomeLazy, translateRawParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.jpa.api.dao.IDao
getContext, toResource, toResource
Methods inherited from interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDao
create, create, create, create, create, delete, delete, delete, deleteByUrl, deleteByUrl, deletePidList, expunge, expunge, forceExpungeInExistingTransaction, getCurrentVersionId, getResourceType, history, history, metaAddOperation, metaDeleteOperation, metaGetOperation, metaGetOperation, patch, read, read, read, readByPid, readByPid, readEntity, readEntity, reindex, removeTag, removeTag, search, search, search, searchForIds, searchForIds, translateRawParameters, update, update, update, update, update, update, validate, validateCriteriaAndReturnResourceDefinition
-
Constructor Details
-
FhirResourceDaoValueSetR5
public FhirResourceDaoValueSetR5()
-
-
Method Details
-
expand
public org.hl7.fhir.r5.model.ValueSet expand(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
expand
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept>
-
expandByIdentifier
public org.hl7.fhir.r5.model.ValueSet expandByIdentifier(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) - Specified by:
expandByIdentifier
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept>
-
expand
public org.hl7.fhir.r5.model.ValueSet expand(org.hl7.fhir.r5.model.ValueSet theSource, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions) - Specified by:
expand
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept>
-
validateCode
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theValueSetIdentifier, org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, org.hl7.fhir.r5.model.Coding theCoding, org.hl7.fhir.r5.model.CodeableConcept theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
validateCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept>
-
purgeCaches
- Specified by:
purgeCaches
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<org.hl7.fhir.r5.model.ValueSet,
org.hl7.fhir.r5.model.Coding, org.hl7.fhir.r5.model.CodeableConcept>
-
updateEntity
public ResourceTable updateEntity(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IBasePersistedResource theEntity, Date theDeletedTimestampOrNull, boolean thePerformIndexing, boolean theUpdateVersion, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theForceUpdate, boolean theCreateNewHistoryEntry) - Specified by:
updateEntity
in interfaceca.uhn.fhir.jpa.api.dao.IJpaDao<org.hl7.fhir.r5.model.ValueSet>
- Overrides:
updateEntity
in classBaseHapiFhirDao<org.hl7.fhir.r5.model.ValueSet>
-