Class SnapshotGeneratingValidationSupport

java.lang.Object
org.hl7.fhir.common.hapi.validation.support.SnapshotGeneratingValidationSupport
All Implemented Interfaces:
ca.uhn.fhir.context.support.IValidationSupport

public class SnapshotGeneratingValidationSupport extends Object implements ca.uhn.fhir.context.support.IValidationSupport
Simple validation support module that handles profile snapshot generation.

This module currently supports the following FHIR versions:

  • DSTU3
  • R4
  • R5
  • 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.CodeValidationIssue, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCode, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueCoding, ca.uhn.fhir.context.support.IValidationSupport.CodeValidationIssueDetails, 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.GroupConceptProperty, 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.TranslateCodeRequest, ca.uhn.fhir.context.support.IValidationSupport.ValueSetExpansionOutcome
  • Field Summary

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

    TYPE_CODING, TYPE_GROUP, TYPE_STRING, URL_PREFIX_VALUE_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    SnapshotGeneratingValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext)
    Constructor
    SnapshotGeneratingValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.r5.context.IWorkerContext theWorkerContext, org.hl7.fhir.r5.fhirpath.FHIRPathEngine theFHIRPathEngine)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    ca.uhn.fhir.context.FhirContext
     
     

    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, expandValueSet, fetchAllConformanceResources, fetchAllNonBaseStructureDefinitions, fetchAllSearchParameters, fetchAllStructureDefinitions, fetchBinary, fetchCodeSystem, fetchResource, fetchStructureDefinition, fetchValueSet, invalidateCaches, isCodeableConceptValidationSuccessfulIfNotAllCodingsAreValid, isCodeSystemSupported, isRemoteTerminologyServiceConfigured, isValueSetSupported, lookupCode, lookupCode, lookupCode, translateConcept, validateCode, validateCodeInValueSet
  • Constructor Details

    • SnapshotGeneratingValidationSupport

      public SnapshotGeneratingValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext)
      Constructor
    • SnapshotGeneratingValidationSupport

      public SnapshotGeneratingValidationSupport(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.r5.context.IWorkerContext theWorkerContext, org.hl7.fhir.r5.fhirpath.FHIRPathEngine theFHIRPathEngine)
  • Method Details

    • 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)
      Specified by:
      generateSnapshot in interface ca.uhn.fhir.context.support.IValidationSupport
    • getFhirContext

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

      public String getName()
      Specified by:
      getName in interface ca.uhn.fhir.context.support.IValidationSupport