Package org.hl7.fhir.r4.terminologies
Class ValueSetCheckerSimple
java.lang.Object
org.hl7.fhir.r4.terminologies.ValueSetCheckerSimple
- All Implemented Interfaces:
ValueSetChecker
-
Constructor Summary
ConstructorDescriptionValueSetCheckerSimple
(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, IWorkerContext context) -
Method Summary
Modifier and TypeMethodDescriptionboolean
codeInValueSet
(String system, String code) validateCode
(CodeableConcept code) validateCode
(Coding code) boolean
validateCodeInConceptList
(String code, CodeSystem def, List<CodeSystem.ConceptDefinitionComponent> list)
-
Constructor Details
-
ValueSetCheckerSimple
public ValueSetCheckerSimple(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet source, IWorkerContext context)
-
-
Method Details
-
validateCode
public IWorkerContext.ValidationResult validateCode(CodeableConcept code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
validateCode
public IWorkerContext.ValidationResult validateCode(Coding code) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
codeInValueSet
public boolean codeInValueSet(String system, String code) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
codeInValueSet
in interfaceValueSetChecker
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
validateCodeInConceptList
public boolean validateCodeInConceptList(String code, CodeSystem def, List<CodeSystem.ConceptDefinitionComponent> list)
-