Package org.hl7.fhir.r5.terminologies
Class ValueSetExpanderSimple
java.lang.Object
org.hl7.fhir.r5.terminologies.ValueSetWorker
org.hl7.fhir.r5.terminologies.ValueSetExpanderSimple
- All Implemented Interfaces:
ValueSetExpander
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic interfaceclassNested classes/interfaces inherited from interface org.hl7.fhir.r5.terminologies.ValueSetExpander
ValueSetExpander.ETooCostly, ValueSetExpander.TerminologyServiceErrorClass, ValueSetExpander.ValueSetExpansionOutcome -
Constructor Summary
ConstructorsConstructorDescriptionValueSetExpanderSimple(IWorkerContext context)ValueSetExpanderSimple(IWorkerContext context, List<String> allErrors) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExpand(ValueSet source, Parameters expParams)voiddoInternalIncludeCodes(ValueSet.ConceptSetComponent inc, ValueSet.ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs)expand(ValueSet source, Parameters expParams)expandInternal(ValueSet source, Parameters expParams)Collection<? extends String>booleanvoidsetCheckCodesWhenExpanding(boolean checkCodesWhenExpanding)voidsetMaxExpansionSize(int theMaxExpansionSize)Methods inherited from class org.hl7.fhir.r5.terminologies.ValueSetWorker
isServerSide
-
Constructor Details
-
ValueSetExpanderSimple
-
ValueSetExpanderSimple
-
-
Method Details
-
setMaxExpansionSize
-
expand
- Specified by:
expandin interfaceValueSetExpander- Parameters:
source- the value set definition to expand- Returns:
-
expandInternal
public ValueSetExpander.ValueSetExpansionOutcome expandInternal(ValueSet source, Parameters expParams) throws org.hl7.fhir.exceptions.FHIRException, FileNotFoundException, ValueSetExpander.ETooCostly, IOException- Throws:
org.hl7.fhir.exceptions.FHIRExceptionFileNotFoundExceptionValueSetExpander.ETooCostlyIOException
-
doExpand
public ValueSetExpander.ValueSetExpansionOutcome doExpand(ValueSet source, Parameters expParams) throws org.hl7.fhir.exceptions.FHIRException, ValueSetExpander.ETooCostly, FileNotFoundException, IOException- Throws:
org.hl7.fhir.exceptions.FHIRExceptionValueSetExpander.ETooCostlyFileNotFoundExceptionIOException
-
copyExpansion
-
doInternalIncludeCodes
public void doInternalIncludeCodes(ValueSet.ConceptSetComponent inc, ValueSet.ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs) throws org.hl7.fhir.exceptions.NoTerminologyServiceException, org.hl7.fhir.exceptions.TerminologyServiceException, org.hl7.fhir.exceptions.FHIRException- Throws:
org.hl7.fhir.exceptions.NoTerminologyServiceExceptionorg.hl7.fhir.exceptions.TerminologyServiceExceptionorg.hl7.fhir.exceptions.FHIRException
-
getAllErrors
-
isCheckCodesWhenExpanding
-
setCheckCodesWhenExpanding
-