Package ca.uhn.fhir.jpa.dao
Class FhirResourceDaoValueSetDstu2
java.lang.Object
ca.uhn.fhir.jpa.dao.BaseStorageDao
ca.uhn.fhir.jpa.dao.BaseHapiFhirDao<T>
ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ValueSet>
ca.uhn.fhir.jpa.dao.FhirResourceDaoValueSetDstu2
- All Implemented Interfaces:
ca.uhn.fhir.jpa.api.dao.IDao
,ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ValueSet>
,ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
,ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
,ca.uhn.fhir.jpa.api.dao.IJpaDao<ca.uhn.fhir.model.dstu2.resource.ValueSet>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class FhirResourceDaoValueSetDstu2
extends BaseHapiFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ValueSet>
implements ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>, ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem
ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem.SubsumesResult
-
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, 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 TypeMethodDescriptionca.uhn.fhir.model.dstu2.resource.ValueSet
expand(ca.uhn.fhir.model.dstu2.resource.ValueSet source, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions)
ca.uhn.fhir.model.dstu2.resource.ValueSet
expand(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
ca.uhn.fhir.model.dstu2.resource.ValueSet
expandByIdentifier(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions)
List<org.hl7.fhir.instance.model.api.IIdType>
findCodeSystemIdsContainingSystemAndCode(String theCode, String theSystem, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
lookupCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
lookupCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplayLanguage, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
void
void
ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem.SubsumesResult
subsumes(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeA, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeB, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCodingA, ca.uhn.fhir.model.dstu2.composite.CodingDt theCodingB, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
static String
toStringOrNull(org.hl7.fhir.instance.model.api.IPrimitiveType<String> thePrimitive)
ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
validateCode(org.hl7.fhir.instance.model.api.IIdType theCodeSystemId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeSystemUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
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, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
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, 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, createForcedIdIfNeeded, decodeResource, encodeResource, getApplicationContext, getConfig, getContext, getContext, getInterceptorBroadcaster, getTagOrNull, history, isLogicalReference, parseContentTextIntoWords, populateFullTextFields, populateResourceIntoEntity, postDelete, postPersist, postUpdate, setApplicationContext, setContext, setDaoConfigForUnitTest, setDaoSearchParamSynchronizer, setDisableIncrementOnUpdateForUnitTest, setEntityManager, setResourceHistoryTableDao, setSearchParamPresenceSvc, setSearchParamWithInlineReferencesExtractor, setValidationDisabledForUnitTest, shouldDroppedTagBeRemovedOnUpdate, toResource, toResource, toResourceName, toTagDefinitionMemoryCacheKey, updateEntity, 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
-
FhirResourceDaoValueSetDstu2
public FhirResourceDaoValueSetDstu2()
-
-
Method Details
-
expand
public ca.uhn.fhir.model.dstu2.resource.ValueSet expand(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)- Specified by:
expand
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
expand
public ca.uhn.fhir.model.dstu2.resource.ValueSet expand(ca.uhn.fhir.model.dstu2.resource.ValueSet source, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions)- Specified by:
expand
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
expandByIdentifier
public ca.uhn.fhir.model.dstu2.resource.ValueSet expandByIdentifier(String theUri, ca.uhn.fhir.context.support.ValueSetExpansionOptions theOptions)- Specified by:
expandByIdentifier
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
findCodeSystemIdsContainingSystemAndCode
public List<org.hl7.fhir.instance.model.api.IIdType> findCodeSystemIdsContainingSystemAndCode(String theCode, String theSystem, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)- Specified by:
findCodeSystemIdsContainingSystemAndCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
lookupCode
@Nonnull public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)- Specified by:
lookupCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
lookupCode
@Nonnull public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplayLanguage, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)- Specified by:
lookupCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
subsumes
public ca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem.SubsumesResult subsumes(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeA, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeB, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSystem, ca.uhn.fhir.model.dstu2.composite.CodingDt theCodingA, ca.uhn.fhir.model.dstu2.composite.CodingDt theCodingB, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)- Specified by:
subsumes
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
postConstruct
- Overrides:
postConstruct
in classBaseHapiFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ValueSet>
-
purgeCaches
- Specified by:
purgeCaches
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
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, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)- Specified by:
validateCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
validateCode
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode(org.hl7.fhir.instance.model.api.IIdType theCodeSystemId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCodeSystemUrl, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theVersion, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCode, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theDisplay, ca.uhn.fhir.model.dstu2.composite.CodingDt theCoding, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt theCodeableConcept, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)- Specified by:
validateCode
in interfaceca.uhn.fhir.jpa.api.dao.IFhirResourceDaoCodeSystem<ca.uhn.fhir.model.dstu2.resource.ValueSet,ca.uhn.fhir.model.dstu2.composite.CodingDt,ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
-
toStringOrNull
public static String toStringOrNull(org.hl7.fhir.instance.model.api.IPrimitiveType<String> thePrimitive)
-