Class ValueSetExpander
java.lang.Object
org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
org.hl7.fhir.r5.terminologies.expansion.ValueSetExpander
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
ValueSetProcessBase.AlternateCodesProcessingRules, ValueSetProcessBase.OpIssueCode
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
allAltCodes, altCodeParams, context, opContext, requiredSupplements
-
Constructor Summary
ConstructorDescriptionValueSetExpander
(IWorkerContext context, TerminologyOperationContext opContext) ValueSetExpander
(IWorkerContext context, TerminologyOperationContext opContext, List<String> allErrors) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyExpansion
(org.hl7.fhir.r5.terminologies.expansion.WorkingContext wc, List<ValueSet.ValueSetExpansionContainsComponent> list) doExpand
(ValueSet source, Parameters expParams) void
doInternalIncludeCodes
(ValueSet.ConceptSetComponent inc, ValueSet.ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs, boolean noInactive, Resource vsSrc) expand
(ValueSet source, Parameters expParams) expandInternal
(ValueSet source, Parameters expParams) Collection
<? extends String> boolean
boolean
isDebug()
protected boolean
isValueSetUnionImports
(ValueSet valueSet) void
setCheckCodesWhenExpanding
(boolean checkCodesWhenExpanding) setDebug
(boolean debug) void
setMaxExpansionSize
(int theMaxExpansionSize) Methods inherited from class org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
checkCanonical, checkCanonical, getOpContext, makeIssue
-
Constructor Details
-
ValueSetExpander
-
ValueSetExpander
public ValueSetExpander(IWorkerContext context, TerminologyOperationContext opContext, List<String> allErrors)
-
-
Method Details
-
setMaxExpansionSize
-
expand
-
expandInternal
public ValueSetExpansionOutcome expandInternal(ValueSet source, Parameters expParams) throws org.hl7.fhir.exceptions.FHIRException, FileNotFoundException, ETooCostly, IOException, CodeSystemProviderExtension - Throws:
org.hl7.fhir.exceptions.FHIRException
FileNotFoundException
ETooCostly
IOException
CodeSystemProviderExtension
-
doExpand
public ValueSetExpansionOutcome doExpand(ValueSet source, Parameters expParams) throws org.hl7.fhir.exceptions.FHIRException, ETooCostly, FileNotFoundException, IOException, CodeSystemProviderExtension - Throws:
org.hl7.fhir.exceptions.FHIRException
ETooCostly
FileNotFoundException
IOException
CodeSystemProviderExtension
-
isValueSetUnionImports
-
copyExpansion
public void copyExpansion(org.hl7.fhir.r5.terminologies.expansion.WorkingContext wc, List<ValueSet.ValueSetExpansionContainsComponent> list) -
doInternalIncludeCodes
public void doInternalIncludeCodes(ValueSet.ConceptSetComponent inc, ValueSet.ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs, boolean noInactive, Resource vsSrc) throws org.hl7.fhir.exceptions.NoTerminologyServiceException, org.hl7.fhir.exceptions.TerminologyServiceException, org.hl7.fhir.exceptions.FHIRException, ETooCostly - Throws:
org.hl7.fhir.exceptions.NoTerminologyServiceException
org.hl7.fhir.exceptions.TerminologyServiceException
org.hl7.fhir.exceptions.FHIRException
ETooCostly
-
getAllErrors
-
isCheckCodesWhenExpanding
-
setCheckCodesWhenExpanding
-
isDebug
-
setDebug
-