Class VersionSpecificWorkerContextWrapper

java.lang.Object
org.hl7.fhir.utilities.i18n.I18nBase
org.hl7.fhir.common.hapi.validation.validator.VersionSpecificWorkerContextWrapper
All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext

public class VersionSpecificWorkerContextWrapper extends org.hl7.fhir.utilities.i18n.I18nBase implements org.hl7.fhir.r5.context.IWorkerContext
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hl7.fhir.r5.context.IWorkerContext

    org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader, org.hl7.fhir.r5.context.IWorkerContext.ILoggingService, org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
  • Field Summary

    Fields inherited from class org.hl7.fhir.utilities.i18n.I18nBase

    KEY_DELIMITER, PLURAL_SUFFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    VersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.hapi.converters.canonical.VersionCanonicalizer theVersionCanonicalizer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cachePackage(org.hl7.fhir.r5.model.PackageInformation packageInformation)
     
    void
    cacheResource(org.hl7.fhir.r5.model.Resource res)
     
    void
    cacheResourceFromPackage(org.hl7.fhir.r5.model.Resource res, org.hl7.fhir.r5.model.PackageInformation packageDetails)
     
    org.hl7.fhir.utilities.TimeTracker
     
    static ca.uhn.fhir.context.support.ConceptValidationOptions
    convertConceptValidationOptions(org.hl7.fhir.utilities.validation.ValidationOptions theOptions)
     
    org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome
    expandVS(org.hl7.fhir.r5.model.Resource src, org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean Hierarchical)
     
    org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome
    expandVS(org.hl7.fhir.r5.model.ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive)
     
    org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome
    expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean Hierarchical)
     
    org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome
    expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean heiarchical, boolean incompleteOk)
     
    org.hl7.fhir.r5.model.CodeSystem
     
    org.hl7.fhir.r5.model.CodeSystem
    fetchCodeSystem(String system, String verison)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String uri)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String uri, String version)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource canonicalForSource)
     
    org.hl7.fhir.r5.model.Resource
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResourceRaw(Class<T> class_, String uri)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    List<T>
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResourceWithException(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource sourceOfReference)
     
    org.hl7.fhir.r5.model.CodeSystem
     
    org.hl7.fhir.r5.model.CodeSystem
     
    org.hl7.fhir.r5.model.StructureDefinition
     
    List<org.hl7.fhir.r5.model.StructureDefinition>
     
    byte[]
     
     
    int
     
     
    org.hl7.fhir.r5.model.Parameters
     
     
    org.hl7.fhir.r5.context.IWorkerContext.ILoggingService
     
    Map<String,org.hl7.fhir.r5.model.NamingSystem>
     
    org.hl7.fhir.r5.model.PackageInformation
     
    org.hl7.fhir.r5.model.PackageInformation
     
    org.hl7.fhir.r5.context.IWorkerContextManager.IPackageLoadingTracker
     
    org.hl7.fhir.r5.profilemodel.PEBuilder
    getProfiledElementBuilder(org.hl7.fhir.r5.profilemodel.PEBuilder.PEElementPropertiesPolicy thePEElementPropertiesPolicy, boolean theB)
     
     
     
     
    org.fhir.ucum.UcumService
     
     
    boolean
     
    boolean
     
    boolean
    hasPackage(org.hl7.fhir.r5.model.PackageInformation packageInformation)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    boolean
    hasResource(Class<T> class_, String uri)
     
    void
     
    boolean
     
    boolean
     
    int
    loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader)
     
    int
    loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader, List<String> types)
     
    int
    loadFromPackageAndDependencies(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm)
     
    org.hl7.fhir.r5.utils.validation.IResourceValidator
     
    newVersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
     
    org.hl7.fhir.r5.context.IWorkerContext
     
    void
    setExpansionProfile(org.hl7.fhir.r5.model.Parameters expParameters)
     
    void
    setForPublication(boolean b)
     
    void
    setLocale(Locale locale)
     
    void
    setLogger(org.hl7.fhir.r5.context.IWorkerContext.ILoggingService logger)
     
    org.hl7.fhir.r5.context.IWorkerContext
    setPackageTracker(org.hl7.fhir.r5.context.IWorkerContextManager.IPackageLoadingTracker packageTracker)
     
    void
    setUcumService(org.fhir.ucum.UcumService ucumService)
     
    boolean
     
    org.hl7.fhir.utilities.TranslationServices
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String system, String version, String code, String display)
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String version, String theCode, String display, org.hl7.fhir.r5.model.ValueSet theValueSet)
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String code, org.hl7.fhir.r5.model.ValueSet theValueSet)
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, org.hl7.fhir.r5.model.CodeableConcept code, org.hl7.fhir.r5.model.ValueSet theVs)
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, org.hl7.fhir.r5.model.Coding theCoding, org.hl7.fhir.r5.model.ValueSet theValueSet)
     
    org.hl7.fhir.r5.context.IWorkerContext.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, org.hl7.fhir.r5.model.Coding code, org.hl7.fhir.r5.model.ValueSet vs, org.hl7.fhir.r5.utils.validation.ValidationContextCarrier ctxt)
     
    void
    validateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest> codes, org.hl7.fhir.r5.model.ValueSet vs)
     
    void
    validateCodeBatchByRef(org.hl7.fhir.utilities.validation.ValidationOptions validationOptions, List<? extends org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest> list, String s)
     

    Methods inherited from class org.hl7.fhir.utilities.i18n.I18nBase

    formatMessage, formatMessagePlural, getPluralKey, getPluralKeys, getRootKeyFromPlural, isWarnAboutMissingMessages, messageKeyExistsForLocale, setPluralRules, setValidationMessageLanguage, setWarnAboutMissingMessages

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.hl7.fhir.r5.context.IWorkerContext

    formatMessage, formatMessagePlural, setValidationMessageLanguage
  • Constructor Details

    • VersionSpecificWorkerContextWrapper

      public VersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, ca.uhn.hapi.converters.canonical.VersionCanonicalizer theVersionCanonicalizer)
  • Method Details

    • getBinaryKeysAsSet

      Specified by:
      getBinaryKeysAsSet in interface org.hl7.fhir.r5.context.IWorkerContext
    • hasBinaryKey

      public boolean hasBinaryKey(String s)
      Specified by:
      hasBinaryKey in interface org.hl7.fhir.r5.context.IWorkerContext
    • getBinaryForKey

      public byte[] getBinaryForKey(String s)
      Specified by:
      getBinaryForKey in interface org.hl7.fhir.r5.context.IWorkerContext
    • loadFromPackage

      public int loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader) throws org.hl7.fhir.exceptions.FHIRException
      Specified by:
      loadFromPackage in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • loadFromPackage

      public int loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader, List<String> types) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException
      Specified by:
      loadFromPackage in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      FileNotFoundException
      IOException
      org.hl7.fhir.exceptions.FHIRException
    • loadFromPackageAndDependencies

      public int loadFromPackageAndDependencies(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) throws org.hl7.fhir.exceptions.FHIRException
      Specified by:
      loadFromPackageAndDependencies in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasPackage

      public boolean hasPackage(String id, String ver)
      Specified by:
      hasPackage in interface org.hl7.fhir.r5.context.IWorkerContext
    • hasPackage

      public boolean hasPackage(org.hl7.fhir.r5.model.PackageInformation packageInformation)
      Specified by:
      hasPackage in interface org.hl7.fhir.r5.context.IWorkerContext
    • getPackage

      public org.hl7.fhir.r5.model.PackageInformation getPackage(String id, String ver)
      Specified by:
      getPackage in interface org.hl7.fhir.r5.context.IWorkerContext
    • getClientRetryCount

      public int getClientRetryCount()
      Specified by:
      getClientRetryCount in interface org.hl7.fhir.r5.context.IWorkerContext
    • setClientRetryCount

      public org.hl7.fhir.r5.context.IWorkerContext setClientRetryCount(int value)
      Specified by:
      setClientRetryCount in interface org.hl7.fhir.r5.context.IWorkerContext
    • clock

      public org.hl7.fhir.utilities.TimeTracker clock()
      Specified by:
      clock in interface org.hl7.fhir.r5.context.IWorkerContext
    • getPackageTracker

      public org.hl7.fhir.r5.context.IWorkerContextManager.IPackageLoadingTracker getPackageTracker()
      Specified by:
      getPackageTracker in interface org.hl7.fhir.r5.context.IWorkerContext
    • setPackageTracker

      public org.hl7.fhir.r5.context.IWorkerContext setPackageTracker(org.hl7.fhir.r5.context.IWorkerContextManager.IPackageLoadingTracker packageTracker)
      Specified by:
      setPackageTracker in interface org.hl7.fhir.r5.context.IWorkerContext
    • getSpecUrl

      public String getSpecUrl()
      Specified by:
      getSpecUrl in interface org.hl7.fhir.r5.context.IWorkerContext
    • getProfiledElementBuilder

      public org.hl7.fhir.r5.profilemodel.PEBuilder getProfiledElementBuilder(org.hl7.fhir.r5.profilemodel.PEBuilder.PEElementPropertiesPolicy thePEElementPropertiesPolicy, boolean theB)
      Specified by:
      getProfiledElementBuilder in interface org.hl7.fhir.r5.context.IWorkerContext
    • getPackageForUrl

      public org.hl7.fhir.r5.model.PackageInformation getPackageForUrl(String s)
      Specified by:
      getPackageForUrl in interface org.hl7.fhir.r5.context.IWorkerContext
    • getExpansionParameters

      public org.hl7.fhir.r5.model.Parameters getExpansionParameters()
      Specified by:
      getExpansionParameters in interface org.hl7.fhir.r5.context.IWorkerContext
    • setExpansionProfile

      public void setExpansionProfile(org.hl7.fhir.r5.model.Parameters expParameters)
      Specified by:
      setExpansionProfile in interface org.hl7.fhir.r5.context.IWorkerContext
    • cacheResource

      public void cacheResource(org.hl7.fhir.r5.model.Resource res)
      Specified by:
      cacheResource in interface org.hl7.fhir.r5.context.IWorkerContext
    • cacheResourceFromPackage

      public void cacheResourceFromPackage(org.hl7.fhir.r5.model.Resource res, org.hl7.fhir.r5.model.PackageInformation packageDetails) throws org.hl7.fhir.exceptions.FHIRException
      Specified by:
      cacheResourceFromPackage in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • cachePackage

      public void cachePackage(org.hl7.fhir.r5.model.PackageInformation packageInformation)
      Specified by:
      cachePackage in interface org.hl7.fhir.r5.context.IWorkerContext
    • expandVS

      public org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean Hierarchical)
      Specified by:
      expandVS in interface org.hl7.fhir.r5.context.IWorkerContext
    • expandVS

      public org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.Resource src, org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean Hierarchical)
      Specified by:
      expandVS in interface org.hl7.fhir.r5.context.IWorkerContext
    • expandVS

      public org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive) throws org.hl7.fhir.exceptions.TerminologyServiceException
      Specified by:
      expandVS in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.TerminologyServiceException
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface org.hl7.fhir.r5.context.IWorkerContext
      Overrides:
      getLocale in class org.hl7.fhir.utilities.i18n.I18nBase
    • setLocale

      public void setLocale(Locale locale)
      Specified by:
      setLocale in interface org.hl7.fhir.r5.context.IWorkerContext
      Overrides:
      setLocale in class org.hl7.fhir.utilities.i18n.I18nBase
    • fetchCodeSystem

      public org.hl7.fhir.r5.model.CodeSystem fetchCodeSystem(String system)
      Specified by:
      fetchCodeSystem in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchCodeSystem

      public org.hl7.fhir.r5.model.CodeSystem fetchCodeSystem(String system, String verison)
      Specified by:
      fetchCodeSystem in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchSupplementedCodeSystem

      public org.hl7.fhir.r5.model.CodeSystem fetchSupplementedCodeSystem(String system)
      Specified by:
      fetchSupplementedCodeSystem in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchSupplementedCodeSystem

      public org.hl7.fhir.r5.model.CodeSystem fetchSupplementedCodeSystem(String system, String version)
      Specified by:
      fetchSupplementedCodeSystem in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResourceRaw

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResourceRaw(Class<T> class_, String uri)
      Specified by:
      fetchResourceRaw in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResource

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResource(Class<T> class_, String uri)
      Specified by:
      fetchResource in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResourceById

      public org.hl7.fhir.r5.model.Resource fetchResourceById(String type, String uri)
      Specified by:
      fetchResourceById in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResourceWithException

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResourceWithException(Class<T> class_, String uri) throws org.hl7.fhir.exceptions.FHIRException
      Specified by:
      fetchResourceWithException in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fetchResource

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResource(Class<T> class_, String uri, String version)
      Specified by:
      fetchResource in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResource

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource canonicalForSource)
      Specified by:
      fetchResource in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchResourceWithException

      public <T extends org.hl7.fhir.r5.model.Resource> T fetchResourceWithException(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource sourceOfReference) throws org.hl7.fhir.exceptions.FHIRException
      Specified by:
      fetchResourceWithException in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getResourceNames

      Specified by:
      getResourceNames in interface org.hl7.fhir.r5.context.IWorkerContext
    • getResourceNamesAsSet

      Specified by:
      getResourceNamesAsSet in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchTypeDefinition

      public org.hl7.fhir.r5.model.StructureDefinition fetchTypeDefinition(String typeName)
      Specified by:
      fetchTypeDefinition in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchTypeDefinitions

      public List<org.hl7.fhir.r5.model.StructureDefinition> fetchTypeDefinitions(String typeName)
      Specified by:
      fetchTypeDefinitions in interface org.hl7.fhir.r5.context.IWorkerContext
    • getUcumService

      public org.fhir.ucum.UcumService getUcumService()
      Specified by:
      getUcumService in interface org.hl7.fhir.r5.context.IWorkerContext
    • setUcumService

      public void setUcumService(org.fhir.ucum.UcumService ucumService)
      Specified by:
      setUcumService in interface org.hl7.fhir.r5.context.IWorkerContext
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.hl7.fhir.r5.context.IWorkerContext
    • hasResource

      public <T extends org.hl7.fhir.r5.model.Resource> boolean hasResource(Class<T> class_, String uri)
      Specified by:
      hasResource in interface org.hl7.fhir.r5.context.IWorkerContext
    • isNoTerminologyServer

      public boolean isNoTerminologyServer()
      Specified by:
      isNoTerminologyServer in interface org.hl7.fhir.r5.context.IWorkerContext
    • getCodeSystemsUsed

      Specified by:
      getCodeSystemsUsed in interface org.hl7.fhir.r5.context.IWorkerContext
    • newValidator

      public org.hl7.fhir.r5.utils.validation.IResourceValidator newValidator()
      Specified by:
      newValidator in interface org.hl7.fhir.r5.context.IWorkerContext
    • getNSUrlMap

      public Map<String,org.hl7.fhir.r5.model.NamingSystem> getNSUrlMap()
      Specified by:
      getNSUrlMap in interface org.hl7.fhir.r5.context.IWorkerContext
    • getLogger

      public org.hl7.fhir.r5.context.IWorkerContext.ILoggingService getLogger()
      Specified by:
      getLogger in interface org.hl7.fhir.r5.context.IWorkerContext
    • setLogger

      public void setLogger(org.hl7.fhir.r5.context.IWorkerContext.ILoggingService logger)
      Specified by:
      setLogger in interface org.hl7.fhir.r5.context.IWorkerContext
    • supportsSystem

      public boolean supportsSystem(String system)
      Specified by:
      supportsSystem in interface org.hl7.fhir.r5.context.IWorkerContext
    • translator

      public org.hl7.fhir.utilities.TranslationServices translator()
      Specified by:
      translator in interface org.hl7.fhir.r5.context.IWorkerContext
    • expandVS

      public org.hl7.fhir.r5.terminologies.expansion.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean heiarchical, boolean incompleteOk)
      Specified by:
      expandVS in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String system, String version, String code, String display)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String version, String theCode, String display, org.hl7.fhir.r5.model.ValueSet theValueSet)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String code, org.hl7.fhir.r5.model.ValueSet theValueSet)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, org.hl7.fhir.r5.model.Coding theCoding, org.hl7.fhir.r5.model.ValueSet theValueSet)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, org.hl7.fhir.r5.model.Coding code, org.hl7.fhir.r5.model.ValueSet vs, org.hl7.fhir.r5.utils.validation.ValidationContextCarrier ctxt)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCodeBatch

      public void validateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest> codes, org.hl7.fhir.r5.model.ValueSet vs)
      Specified by:
      validateCodeBatch in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCodeBatchByRef

      public void validateCodeBatchByRef(org.hl7.fhir.utilities.validation.ValidationOptions validationOptions, List<? extends org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest> list, String s)
      Specified by:
      validateCodeBatchByRef in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, org.hl7.fhir.r5.model.CodeableConcept code, org.hl7.fhir.r5.model.ValueSet theVs)
      Specified by:
      validateCode in interface org.hl7.fhir.r5.context.IWorkerContext
    • invalidateCaches

      public void invalidateCaches()
    • fetchResourcesByType

      public <T extends org.hl7.fhir.r5.model.Resource> List<T> fetchResourcesByType(Class<T> theClass)
      Specified by:
      fetchResourcesByType in interface org.hl7.fhir.r5.context.IWorkerContext
    • isForPublication

      public boolean isForPublication()
      Specified by:
      isForPublication in interface org.hl7.fhir.r5.context.IWorkerContext
    • setForPublication

      public void setForPublication(boolean b)
      Specified by:
      setForPublication in interface org.hl7.fhir.r5.context.IWorkerContext
    • convertConceptValidationOptions

      public static ca.uhn.fhir.context.support.ConceptValidationOptions convertConceptValidationOptions(org.hl7.fhir.utilities.validation.ValidationOptions theOptions)
    • newVersionSpecificWorkerContextWrapper

      @Nonnull public static VersionSpecificWorkerContextWrapper newVersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)