Class ValidationSupportWithCustomResources

java.lang.Object
dev.dsf.fhir.validation.ValidationSupportWithCustomResources
All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport

public class ValidationSupportWithCustomResources extends Object implements ca.uhn.fhir.context.support.IValidationSupport
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    ca.uhn.fhir.context.support.IValidationSupport.BaseConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult, ca.uhn.fhir.context.support.IValidationSupport.CodingConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.ConceptDesignation, ca.uhn.fhir.context.support.IValidationSupport.IssueSeverity, ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult, ca.uhn.fhir.context.support.IValidationSupport.StringConceptProperty, ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
  • Field Summary

    Fields inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    URL_PREFIX_VALUE_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValidationSupportWithCustomResources(ca.uhn.fhir.context.FhirContext context)
     
    ValidationSupportWithCustomResources(ca.uhn.fhir.context.FhirContext context, Collection<? extends org.hl7.fhir.r4.model.StructureDefinition> structureDefinitions, Collection<? extends org.hl7.fhir.r4.model.CodeSystem> codeSystems, Collection<? extends org.hl7.fhir.r4.model.ValueSet> valueSets)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addOrReplace(org.hl7.fhir.r4.model.CodeSystem s)
     
    void
    addOrReplace(org.hl7.fhir.r4.model.StructureDefinition s)
     
    void
    addOrReplace(org.hl7.fhir.r4.model.ValueSet s)
     
    List<org.hl7.fhir.instance.model.api.IBaseResource>
     
    List<org.hl7.fhir.r4.model.StructureDefinition>
     
    org.hl7.fhir.r4.model.CodeSystem
     
    org.hl7.fhir.r4.model.StructureDefinition
     
    org.hl7.fhir.r4.model.ValueSet
     
    ca.uhn.fhir.context.FhirContext
     
    boolean
    isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
     
    boolean
    isValueSetSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport

    expandValueSet, fetchResource, generateSnapshot, invalidateCaches, lookupCode, validateCode, validateCodeInValueSet
  • Constructor Details

    • ValidationSupportWithCustomResources

      public ValidationSupportWithCustomResources(ca.uhn.fhir.context.FhirContext context)
    • ValidationSupportWithCustomResources

      public ValidationSupportWithCustomResources(ca.uhn.fhir.context.FhirContext context, Collection<? extends org.hl7.fhir.r4.model.StructureDefinition> structureDefinitions, Collection<? extends org.hl7.fhir.r4.model.CodeSystem> codeSystems, Collection<? extends org.hl7.fhir.r4.model.ValueSet> valueSets)
  • Method Details

    • getFhirContext

      public ca.uhn.fhir.context.FhirContext getFhirContext()
      Specified by:
      getFhirContext in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchAllConformanceResources

      public List<org.hl7.fhir.instance.model.api.IBaseResource> fetchAllConformanceResources()
      Specified by:
      fetchAllConformanceResources in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchAllStructureDefinitions

      public List<org.hl7.fhir.r4.model.StructureDefinition> fetchAllStructureDefinitions()
      Specified by:
      fetchAllStructureDefinitions in interface ca.uhn.fhir.context.support.IValidationSupport
    • fetchStructureDefinition

      public org.hl7.fhir.r4.model.StructureDefinition fetchStructureDefinition(String url)
      Specified by:
      fetchStructureDefinition in interface ca.uhn.fhir.context.support.IValidationSupport
    • addOrReplace

      public void addOrReplace(org.hl7.fhir.r4.model.StructureDefinition s)
    • fetchCodeSystem

      public org.hl7.fhir.r4.model.CodeSystem fetchCodeSystem(String url)
      Specified by:
      fetchCodeSystem in interface ca.uhn.fhir.context.support.IValidationSupport
    • isCodeSystemSupported

      public boolean isCodeSystemSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
      Specified by:
      isCodeSystemSupported in interface ca.uhn.fhir.context.support.IValidationSupport
    • addOrReplace

      public void addOrReplace(org.hl7.fhir.r4.model.CodeSystem s)
    • fetchValueSet

      public org.hl7.fhir.r4.model.ValueSet fetchValueSet(String url)
      Specified by:
      fetchValueSet in interface ca.uhn.fhir.context.support.IValidationSupport
    • isValueSetSupported

      public boolean isValueSetSupported(ca.uhn.fhir.context.support.ValidationSupportContext theRootValidationSupport, String url)
      Specified by:
      isValueSetSupported in interface ca.uhn.fhir.context.support.IValidationSupport
    • addOrReplace

      public void addOrReplace(org.hl7.fhir.r4.model.ValueSet s)