Package ca.uhn.fhir.jpa.term
Class TermReadSvcDstu3
java.lang.Object
ca.uhn.fhir.jpa.term.BaseTermReadSvcImpl
ca.uhn.fhir.jpa.term.TermReadSvcDstu3
- All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport
,ITermReadSvc
,ITermReadSvcDstu3
public class TermReadSvcDstu3
extends BaseTermReadSvcImpl
implements ca.uhn.fhir.context.support.IValidationSupport, ITermReadSvcDstu3
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.jpa.term.BaseTermReadSvcImpl
BaseTermReadSvcImpl.Job
Nested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IValidationSupport
ca.uhn.fhir.context.support.IValidationSupport.BaseConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult, ca.uhn.fhir.context.support.IValidationSupport.CodingConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.ConceptDesignation, ca.uhn.fhir.context.support.IValidationSupport.IssueSeverity, ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult, ca.uhn.fhir.context.support.IValidationSupport.StringConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.TranslateCodeRequest, ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.term.BaseTermReadSvcImpl
DEFAULT_FETCH_SIZE, myCodeSystemDao, myConceptDao, myConceptDesignationDao, myConceptPropertyDao, myContext, myDaoRegistry, myEntityManager, myTermValueSetDao, myValueSetConceptDao, myValueSetConceptDesignationDao
Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport
URL_PREFIX_VALUE_SET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
expandValueSet
(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand) org.hl7.fhir.instance.model.api.IBaseResource
expandValueSet
(ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theInput) Version independentvoid
expandValueSet
(ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand, IValueSetConceptAccumulator theValueSetCodeAccumulator) ca.uhn.fhir.context.FhirContext
protected org.hl7.fhir.r4.model.ValueSet
getValueSetFromResourceTable
(ResourceTable theResourceTable) boolean
isValueSetPreExpandedForCodeValidation
(org.hl7.fhir.instance.model.api.IBaseResource theValueSet) Version independentca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
lookupCode
(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem, String theCode, String theDisplayLanguage) protected org.hl7.fhir.r4.model.CodeableConcept
toCanonicalCodeableConcept
(org.hl7.fhir.instance.model.api.IBaseDatatype theCoding) protected org.hl7.fhir.r4.model.CodeSystem
toCanonicalCodeSystem
(org.hl7.fhir.instance.model.api.IBaseResource theCodeSystem) protected org.hl7.fhir.r4.model.Coding
toCanonicalCoding
(org.hl7.fhir.instance.model.api.IBaseCoding theCoding) protected org.hl7.fhir.r4.model.Coding
toCanonicalCoding
(org.hl7.fhir.instance.model.api.IBaseDatatype theCoding) protected org.hl7.fhir.r4.model.ValueSet
toCanonicalValueSet
(org.hl7.fhir.instance.model.api.IBaseResource theValueSet) ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult
validateCodeIsInPreExpandedValueSet
(ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSet, String theSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseDatatype theCoding, org.hl7.fhir.instance.model.api.IBaseDatatype theCodeableConcept) Version independentMethods inherited from class ca.uhn.fhir.jpa.term.BaseTermReadSvcImpl
applyFilter, clearCaches, codeSystemValidateCode, deleteValueSetAndChildren, deleteValueSetForResource, expandValueSet, expandValueSet, expandValueSet, expandValueSetIntoConceptList, fetchCanonicalCodeSystemFromCompleteContext, fetchCanonicalValueSetFromCompleteContext, fetchCodeSystem, fetchValueSet, findCode, findCodesAbove, findCodesAbove, findCodesAboveUsingBuiltInSystems, findCodesBelow, findCodesBelow, findCodesBelowUsingBuiltInSystems, findCurrentTermValueSet, invalidatePreCalculatedExpansion, isCodeSystemSupported, isValueSetPreExpandedForCodeValidation, lookupCode, preExpandDeferredValueSetsToTerminologyTables, readCodeSystemByForcedId, scheduleJob, setInvokeOnNextCallForUnitTest, start, storeTermValueSet, subsumes, validateCode, validateCode, validateCodeInValueSet, validateCodeIsInPreExpandedValueSet
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.term.api.ITermReadSvc
codeSystemValidateCode, deleteValueSetAndChildren, expandValueSet, expandValueSet, expandValueSet, expandValueSetIntoConceptList, fetchCanonicalCodeSystemFromCompleteContext, findCode, findCodesAbove, findCodesAbove, findCodesAboveUsingBuiltInSystems, findCodesBelow, findCodesBelow, findCodesBelowUsingBuiltInSystems, findCurrentTermValueSet, invalidatePreCalculatedExpansion, isValueSetPreExpandedForCodeValidation, preExpandDeferredValueSetsToTerminologyTables, readCodeSystemByForcedId, storeTermValueSet, subsumes, validateCode
Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport
fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllStructureDefinitions, fetchCodeSystem, fetchResource, fetchStructureDefinition, fetchValueSet, generateSnapshot, invalidateCaches, isCodeSystemSupported, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, translateConcept, validateCode, validateCodeInValueSet
-
Constructor Details
-
TermReadSvcDstu3
public TermReadSvcDstu3()Constructor
-
-
Method Details
-
expandValueSet
public ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome expandValueSet(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, @Nonnull org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand) - Specified by:
expandValueSet
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
expandValueSet
public org.hl7.fhir.instance.model.api.IBaseResource expandValueSet(ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theInput) Description copied from interface:ITermReadSvc
Version independent- Specified by:
expandValueSet
in interfaceITermReadSvc
-
toCanonicalValueSet
protected org.hl7.fhir.r4.model.ValueSet toCanonicalValueSet(org.hl7.fhir.instance.model.api.IBaseResource theValueSet) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
toCanonicalValueSet
in classBaseTermReadSvcImpl
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCanonicalCodeSystem
protected org.hl7.fhir.r4.model.CodeSystem toCanonicalCodeSystem(org.hl7.fhir.instance.model.api.IBaseResource theCodeSystem) - Specified by:
toCanonicalCodeSystem
in classBaseTermReadSvcImpl
-
toCanonicalCoding
@Nullable protected org.hl7.fhir.r4.model.Coding toCanonicalCoding(org.hl7.fhir.instance.model.api.IBaseDatatype theCoding) - Specified by:
toCanonicalCoding
in classBaseTermReadSvcImpl
-
toCanonicalCoding
@Nullable protected org.hl7.fhir.r4.model.Coding toCanonicalCoding(org.hl7.fhir.instance.model.api.IBaseCoding theCoding) - Specified by:
toCanonicalCoding
in classBaseTermReadSvcImpl
-
toCanonicalCodeableConcept
@Nullable protected org.hl7.fhir.r4.model.CodeableConcept toCanonicalCodeableConcept(org.hl7.fhir.instance.model.api.IBaseDatatype theCoding) - Specified by:
toCanonicalCodeableConcept
in classBaseTermReadSvcImpl
-
expandValueSet
public void expandValueSet(ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand, IValueSetConceptAccumulator theValueSetCodeAccumulator) - Specified by:
expandValueSet
in interfaceITermReadSvc
-
getValueSetFromResourceTable
protected org.hl7.fhir.r4.model.ValueSet getValueSetFromResourceTable(ResourceTable theResourceTable) - Specified by:
getValueSetFromResourceTable
in classBaseTermReadSvcImpl
-
lookupCode
public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem, String theCode, String theDisplayLanguage) - Specified by:
lookupCode
in interfaceca.uhn.fhir.context.support.IValidationSupport
-
getFhirContext
- Specified by:
getFhirContext
in interfaceca.uhn.fhir.context.support.IValidationSupport
- Overrides:
getFhirContext
in classBaseTermReadSvcImpl
-
validateCodeIsInPreExpandedValueSet
public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCodeIsInPreExpandedValueSet(ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSet, String theSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseDatatype theCoding, org.hl7.fhir.instance.model.api.IBaseDatatype theCodeableConcept) Description copied from interface:ITermReadSvc
Version independent- Specified by:
validateCodeIsInPreExpandedValueSet
in interfaceITermReadSvc
-
isValueSetPreExpandedForCodeValidation
public boolean isValueSetPreExpandedForCodeValidation(org.hl7.fhir.instance.model.api.IBaseResource theValueSet) Description copied from interface:ITermReadSvc
Version independent- Specified by:
isValueSetPreExpandedForCodeValidation
in interfaceITermReadSvc
-