Package org.hl7.fhir.dstu3.hapi.ctx
Interface IValidationSupport
-
- All Superinterfaces:
ca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
- All Known Implementing Classes:
DefaultProfileValidationSupport
public interface IValidationSupport extends ca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IContextValidationSupport
ca.uhn.fhir.context.support.IContextValidationSupport.BaseConceptProperty, ca.uhn.fhir.context.support.IContextValidationSupport.CodeValidationResult, ca.uhn.fhir.context.support.IContextValidationSupport.CodingConceptProperty, ca.uhn.fhir.context.support.IContextValidationSupport.ConceptDesignation, ca.uhn.fhir.context.support.IContextValidationSupport.LookupCodeResult, ca.uhn.fhir.context.support.IContextValidationSupport.StringConceptProperty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueSet.ValueSetExpansionComponentexpandValueSet(ca.uhn.fhir.context.FhirContext theContext, ValueSet.ConceptSetComponent theInclude)Expands the given portion of a ValueSetList<StructureDefinition>fetchAllStructureDefinitions(ca.uhn.fhir.context.FhirContext theContext)Load and return all possible structure definitionsCodeSystemfetchCodeSystem(ca.uhn.fhir.context.FhirContext theContext, String uri)Fetch a code system by UriStructureDefinitionfetchStructureDefinition(ca.uhn.fhir.context.FhirContext theCtx, String theUrl)ValueSetfetchValueSet(ca.uhn.fhir.context.FhirContext theContext, String uri)Fetch a valueset by UriStructureDefinitiongenerateSnapshot(StructureDefinition theInput, String theUrl, String theName)Generate a snapshot from the given differential profile.booleanisCodeSystemSupported(ca.uhn.fhir.context.FhirContext theContext, String theSystem)Returnstrueif codes in the given code system can be expanded or validated
-
-
-
Method Detail
-
expandValueSet
ValueSet.ValueSetExpansionComponent expandValueSet(ca.uhn.fhir.context.FhirContext theContext, ValueSet.ConceptSetComponent theInclude)
Expands the given portion of a ValueSet- Specified by:
expandValueSetin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>- Parameters:
theInclude- The portion to include- Returns:
- The expansion
-
fetchAllStructureDefinitions
List<StructureDefinition> fetchAllStructureDefinitions(ca.uhn.fhir.context.FhirContext theContext)
Load and return all possible structure definitions- Specified by:
fetchAllStructureDefinitionsin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
-
fetchCodeSystem
CodeSystem fetchCodeSystem(ca.uhn.fhir.context.FhirContext theContext, String uri)
Fetch a code system by Uri- Specified by:
fetchCodeSystemin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>- Parameters:
uri- Canonical Uri of the code system- Returns:
- The valueset (must not be null, but can be an empty ValueSet)
-
fetchValueSet
ValueSet fetchValueSet(ca.uhn.fhir.context.FhirContext theContext, String uri)
Fetch a valueset by Uri- Specified by:
fetchValueSetin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>- Parameters:
uri- Canonical Uri of the ValueSet- Returns:
- The valueset (must not be null, but can be an empty ValueSet)
-
fetchStructureDefinition
StructureDefinition fetchStructureDefinition(ca.uhn.fhir.context.FhirContext theCtx, String theUrl)
- Specified by:
fetchStructureDefinitionin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
-
isCodeSystemSupported
boolean isCodeSystemSupported(ca.uhn.fhir.context.FhirContext theContext, String theSystem)
Returnstrueif codes in the given code system can be expanded or validated- Specified by:
isCodeSystemSupportedin interfaceca.uhn.fhir.context.support.IContextValidationSupport<ValueSet.ConceptSetComponent,ValueSet.ValueSetExpansionComponent,StructureDefinition,CodeSystem,CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>- Parameters:
theSystem- The URI for the code system, e.g."http://loinc.org"- Returns:
- Returns
trueif codes in the given code system can be validated
-
generateSnapshot
StructureDefinition generateSnapshot(StructureDefinition theInput, String theUrl, String theName)
Generate a snapshot from the given differential profile.- Returns:
- Returns null if this module does not know how to handle this request
-
-