Class BaseValidationSupportWrapper

    • 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
      BaseValidationSupportWrapper​(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.context.support.IValidationSupport theWrap)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome expandValueSet​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions, org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand)  
      List<org.hl7.fhir.instance.model.api.IBaseResource> fetchAllConformanceResources()  
      <T extends org.hl7.fhir.instance.model.api.IBaseResource>
      List<T>
      fetchAllStructureDefinitions()  
      org.hl7.fhir.instance.model.api.IBaseResource fetchCodeSystem​(String theSystem)  
      <T extends org.hl7.fhir.instance.model.api.IBaseResource>
      T
      fetchResource​(Class<T> theClass, String theUri)  
      org.hl7.fhir.instance.model.api.IBaseResource fetchStructureDefinition​(String theUrl)  
      org.hl7.fhir.instance.model.api.IBaseResource fetchValueSet​(String theUri)  
      org.hl7.fhir.instance.model.api.IBaseResource generateSnapshot​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, org.hl7.fhir.instance.model.api.IBaseResource theInput, String theUrl, String theWebUrl, String theProfileName)  
      boolean isCodeSystemSupported​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem)  
      boolean isValueSetSupported​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theValueSetUrl)  
      ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, String theSystem, String theCode)  
      ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, String theValueSetUrl)  
      ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCodeInValueSet​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.fhir.context.support.ConceptValidationOptions theValidationOptions, String theCodeSystem, String theCode, String theDisplay, org.hl7.fhir.instance.model.api.IBaseResource theValueSet)  
      • Methods inherited from interface ca.uhn.fhir.context.support.IValidationSupport

        invalidateCaches
    • Constructor Detail

      • BaseValidationSupportWrapper

        public BaseValidationSupportWrapper​(ca.uhn.fhir.context.FhirContext theFhirContext,
                                            ca.uhn.fhir.context.support.IValidationSupport theWrap)
        Constructor
        Parameters:
        theFhirContext - The FhirContext object (must be initialized for the appropriate FHIR version)
        theWrap - The validation support object to wrap
    • Method Detail

      • fetchResource

        public <T extends org.hl7.fhir.instance.model.api.IBaseResource> T fetchResource​(Class<T> theClass,
                                                                                         String theUri)
      • isCodeSystemSupported

        public boolean isCodeSystemSupported​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                             String theSystem)
      • validateCode

        public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCode​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                                                                                ca.uhn.fhir.context.support.ConceptValidationOptions theOptions,
                                                                                                String theCodeSystem,
                                                                                                String theCode,
                                                                                                String theDisplay,
                                                                                                String theValueSetUrl)
      • lookupCode

        public ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult lookupCode​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                                                                          String theSystem,
                                                                                          String theCode)
      • isValueSetSupported

        public boolean isValueSetSupported​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                           String theValueSetUrl)
      • expandValueSet

        public ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome expandValueSet​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                                                                                      ca.uhn.fhir.context.support.ValueSetExpansionOptions theExpansionOptions,
                                                                                                      org.hl7.fhir.instance.model.api.IBaseResource theValueSetToExpand)
      • fetchCodeSystem

        public org.hl7.fhir.instance.model.api.IBaseResource fetchCodeSystem​(String theSystem)
      • fetchValueSet

        public org.hl7.fhir.instance.model.api.IBaseResource fetchValueSet​(String theUri)
      • generateSnapshot

        public org.hl7.fhir.instance.model.api.IBaseResource generateSnapshot​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                                                              org.hl7.fhir.instance.model.api.IBaseResource theInput,
                                                                              String theUrl,
                                                                              String theWebUrl,
                                                                              String theProfileName)
      • validateCodeInValueSet

        public ca.uhn.fhir.context.support.IValidationSupport.CodeValidationResult validateCodeInValueSet​(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext,
                                                                                                          ca.uhn.fhir.context.support.ConceptValidationOptions theValidationOptions,
                                                                                                          String theCodeSystem,
                                                                                                          String theCode,
                                                                                                          String theDisplay,
                                                                                                          @Nonnull
                                                                                                          org.hl7.fhir.instance.model.api.IBaseResource theValueSet)