Class ValueSetValidator
java.lang.Object
org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
org.hl7.fhir.r5.terminologies.validation.ValueSetValidator
-
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
ConstructorDescriptionValueSetValidator
(IWorkerContext context, TerminologyOperationContext opContext, org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, Parameters expansionProfile, TerminologyClientManager tcm) ValueSetValidator
(IWorkerContext context, TerminologyOperationContext opContext, org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, ValidationContextCarrier ctxt, Parameters expansionProfile, TerminologyClientManager tcm) -
Method Summary
Modifier and TypeMethodDescriptioncodeInValueSet
(String path, String system, String version, String code, ValidationProcessInfo info) boolean
protected boolean
resolveCodeSystem
(String system, String version) resolveCodeSystemVersions
(String system) void
setThrowToServer
(boolean throwToServer) void
setUnknownSystems
(Set<String> unknownSystems) validateCode
(String path, CodeableConcept code) validateCode
(String path, Coding code) validateCode
(CodeableConcept code) validateCode
(Coding code) boolean
validateCodeInConceptList
(String code, CodeSystem def, List<CodeSystem.ConceptDefinitionComponent> list, ValueSetProcessBase.AlternateCodesProcessingRules altCodeRules) Methods inherited from class org.hl7.fhir.r5.terminologies.utilities.ValueSetProcessBase
checkCanonical, checkCanonical, getOpContext, makeIssue
-
Field Details
-
NO_TRY_THE_SERVER
- See Also:
-
expansionProfile
-
-
Constructor Details
-
ValueSetValidator
public ValueSetValidator(IWorkerContext context, TerminologyOperationContext opContext, org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, Parameters expansionProfile, TerminologyClientManager tcm) -
ValueSetValidator
public ValueSetValidator(IWorkerContext context, TerminologyOperationContext opContext, org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, ValidationContextCarrier ctxt, Parameters expansionProfile, TerminologyClientManager tcm)
-
-
Method Details
-
getUnknownSystems
-
setUnknownSystems
-
isThrowToServer
-
setThrowToServer
-
validateCode
public ValidationResult validateCode(CodeableConcept code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
validateCode
public ValidationResult validateCode(String path, CodeableConcept code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
resolveCodeSystem
-
resolveCodeSystemVersions
-
validateCode
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
validateCode
public ValidationResult validateCode(String path, Coding code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
codeInValueSet
public Boolean codeInValueSet(String path, String system, String version, String code, ValidationProcessInfo info) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
isValueSetUnionImports
-
validateCodeInConceptList
public boolean validateCodeInConceptList(String code, CodeSystem def, List<CodeSystem.ConceptDefinitionComponent> list, ValueSetProcessBase.AlternateCodesProcessingRules altCodeRules)
-