public class JpaValidationSupportDstu3 extends Object implements IJpaValidationSupportDstu3, org.springframework.context.ApplicationContextAware
org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport.CodeValidationResult
IContextValidationSupport.BaseConceptProperty, IContextValidationSupport.CodingConceptProperty, IContextValidationSupport.StringConceptProperty
Constructor and Description |
---|
JpaValidationSupportDstu3()
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent |
expandValueSet(FhirContext theCtx,
org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent theInclude) |
List<IBaseResource> |
fetchAllConformanceResources(FhirContext theContext) |
List<org.hl7.fhir.dstu3.model.StructureDefinition> |
fetchAllStructureDefinitions(FhirContext theContext) |
org.hl7.fhir.dstu3.model.CodeSystem |
fetchCodeSystem(FhirContext theCtx,
String theSystem) |
<T extends IBaseResource> |
fetchResource(FhirContext theContext,
Class<T> theClass,
String theUri) |
org.hl7.fhir.dstu3.model.StructureDefinition |
fetchStructureDefinition(FhirContext theCtx,
String theUrl) |
boolean |
isCodeSystemSupported(FhirContext theCtx,
String theSystem) |
void |
setApplicationContext(org.springframework.context.ApplicationContext theApplicationContext) |
void |
start() |
org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport.CodeValidationResult |
validateCode(FhirContext theCtx,
String theCodeSystem,
String theCode,
String theDisplay) |
public org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent expandValueSet(FhirContext theCtx, org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent theInclude)
expandValueSet
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
expandValueSet
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public List<IBaseResource> fetchAllConformanceResources(FhirContext theContext)
fetchAllConformanceResources
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
public List<org.hl7.fhir.dstu3.model.StructureDefinition> fetchAllStructureDefinitions(FhirContext theContext)
fetchAllStructureDefinitions
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
fetchAllStructureDefinitions
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public org.hl7.fhir.dstu3.model.CodeSystem fetchCodeSystem(FhirContext theCtx, String theSystem)
fetchCodeSystem
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
fetchCodeSystem
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public <T extends IBaseResource> T fetchResource(FhirContext theContext, Class<T> theClass, String theUri)
fetchResource
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
fetchResource
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public org.hl7.fhir.dstu3.model.StructureDefinition fetchStructureDefinition(FhirContext theCtx, String theUrl)
fetchStructureDefinition
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
fetchStructureDefinition
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public boolean isCodeSystemSupported(FhirContext theCtx, String theSystem)
isCodeSystemSupported
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
isCodeSystemSupported
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
public void setApplicationContext(org.springframework.context.ApplicationContext theApplicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
@PostConstruct public void start()
public org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport.CodeValidationResult validateCode(FhirContext theCtx, String theCodeSystem, String theCode, String theDisplay)
validateCode
in interface IContextValidationSupport<org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent,org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent,org.hl7.fhir.dstu3.model.StructureDefinition,org.hl7.fhir.dstu3.model.CodeSystem,org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent,org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity>
validateCode
in interface org.hl7.fhir.dstu3.hapi.ctx.IValidationSupport
Copyright © 2014–2019 University Health Network. All rights reserved.