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.ILoggingService, org.hl7.fhir.r5.context.IWorkerContext.OIDDefinition, org.hl7.fhir.r5.context.IWorkerContext.OIDDefinitionComparer, org.hl7.fhir.r5.context.IWorkerContext.OIDSummary
  • Field Summary

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

    KEY_DELIMITER, locale, 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)
     
    org.hl7.fhir.r5.model.CodeSystem
    fetchCodeSystem(String system, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    org.hl7.fhir.r5.model.CodeSystem
    fetchCodeSystem(String system, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String theUri)
     
    <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, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource canonicalForSource)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    fetchResource(Class<T> class_, String uri, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    org.hl7.fhir.r5.model.Resource
     
    org.hl7.fhir.r5.model.Resource
    fetchResourceById(String type, String uri, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    <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>
    List<T>
    fetchResourcesByType(Class<T> class_, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    List<T>
    fetchResourcesByUrl(Class<T> class_, String url)
     
    <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.CodeSystem
    fetchSupplementedCodeSystem(String system, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    org.hl7.fhir.r5.model.CodeSystem
    fetchSupplementedCodeSystem(String system, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    org.hl7.fhir.r5.model.StructureDefinition
     
    org.hl7.fhir.r5.model.StructureDefinition
    fetchTypeDefinition(String theTypeName, org.hl7.fhir.utilities.FhirPublication theFhirVersion)
     
    List<org.hl7.fhir.r5.model.StructureDefinition>
     
    List<org.hl7.fhir.r5.model.StructureDefinition>
    fetchTypeDefinitions(String theTypeName, org.hl7.fhir.utilities.FhirPublication theFhirVersion)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    findTxResource(Class<T> class_, String canonical)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    findTxResource(Class<T> class_, String canonical, String version)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    T
    findTxResource(Class<T> class_, String canonical, org.hl7.fhir.r5.model.Resource sourceOfReference)
     
    byte[]
     
     
    int
     
     
    org.hl7.fhir.r5.model.Parameters
     
     
    org.hl7.fhir.r5.context.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)
     
     
    getResourceNames(org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
     
    getResourceNamesAsSet(org.hl7.fhir.utilities.FhirPublication theFhirVersion)
     
     
    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)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    boolean
    hasResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource sourceOfReference)
     
    <T extends org.hl7.fhir.r5.model.Resource>
    boolean
    hasResource(Class<T> class_, String uri, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    void
     
    boolean
    isDataType(String theType)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    int
    loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IContextResourceLoader loader)
     
    int
    loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IContextResourceLoader loader, List<String> types)
     
    int
    loadFromPackageAndDependencies(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.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
    setExpansionParameters(org.hl7.fhir.r5.model.Parameters expParameters)
     
    void
    setExpansionProfile(org.hl7.fhir.r5.model.Parameters expParameters)
     
    void
    setForPublication(boolean b)
     
    void
    setLocale(Locale locale)
     
    void
    setLogger(org.hl7.fhir.r5.context.ILoggingService logger)
     
    org.hl7.fhir.r5.context.IWorkerContext
    setPackageTracker(org.hl7.fhir.r5.context.IWorkerContextManager.IPackageLoadingTracker packageTracker)
     
    void
    setUcumService(org.fhir.ucum.UcumService ucumService)
     
    subsumes(org.hl7.fhir.utilities.validation.ValidationOptions optionsArg, org.hl7.fhir.r5.model.Coding parent, org.hl7.fhir.r5.model.Coding child)
     
    boolean
     
    boolean
    supportsSystem(String system, org.hl7.fhir.utilities.FhirPublication fhirVersion)
     
    org.hl7.fhir.r5.context.IWorkerContext.OIDSummary
    urlsForOid(String oid, String resourceType)
     
    org.hl7.fhir.r5.terminologies.utilities.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String system, String version, String code, String display)
     
    org.hl7.fhir.r5.terminologies.utilities.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.terminologies.utilities.ValidationResult
    validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String code, org.hl7.fhir.r5.model.ValueSet theValueSet)
     
    org.hl7.fhir.r5.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.CodingValidationRequest> codes, org.hl7.fhir.r5.model.ValueSet vs)
     
    void
    validateCodeBatchByRef(org.hl7.fhir.utilities.validation.ValidationOptions validationOptions, List<? extends org.hl7.fhir.r5.terminologies.utilities.CodingValidationRequest> list, String s)
     

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

    formatMessage, formatMessagePlural, getMessagesSourceFileName, getPluralKey, getPluralKeys, getPluralSuffixes, getRootKeyFromPlural, isWarnAboutMissingMessages, messageKeyExistsForLocale, setPluralRules, setValidationMessageLanguage, setWarnAboutMissingMessages, typeOfString

    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.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.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.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
    • setExpansionParameters

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

      public void setExpansionProfile(org.hl7.fhir.r5.model.Parameters expParameters)
    • 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
    • fetchCodeSystem

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

      public org.hl7.fhir.r5.model.CodeSystem fetchCodeSystem(String system, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      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
    • fetchSupplementedCodeSystem

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

      public org.hl7.fhir.r5.model.CodeSystem fetchSupplementedCodeSystem(String system, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      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 theUri)
      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
    • fetchResourceById

      public org.hl7.fhir.r5.model.Resource fetchResourceById(String type, String uri, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      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.utilities.FhirPublication fhirVersion)
      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, String version, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      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
    • fetchResourcesByType

      public <T extends org.hl7.fhir.r5.model.Resource> List<T> fetchResourcesByType(Class<T> class_, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      Specified by:
      fetchResourcesByType 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
    • getResourceNames

      public List<String> getResourceNames(org.hl7.fhir.utilities.FhirPublication fhirVersion)
      Specified by:
      getResourceNames in interface org.hl7.fhir.r5.context.IWorkerContext
    • getResourceNamesAsSet

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

      public Set<String> getResourceNamesAsSet(org.hl7.fhir.utilities.FhirPublication theFhirVersion)
      Specified by:
      getResourceNamesAsSet in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchTypeDefinition

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

      public org.hl7.fhir.r5.model.StructureDefinition fetchTypeDefinition(String theTypeName, org.hl7.fhir.utilities.FhirPublication theFhirVersion)
      Specified by:
      fetchTypeDefinition in interface org.hl7.fhir.r5.context.IWorkerContext
    • fetchTypeDefinitions

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

      public List<org.hl7.fhir.r5.model.StructureDefinition> fetchTypeDefinitions(String theTypeName, org.hl7.fhir.utilities.FhirPublication theFhirVersion)
      Specified by:
      fetchTypeDefinitions in interface org.hl7.fhir.r5.context.IWorkerContext
    • isPrimitiveType

      public boolean isPrimitiveType(String theType)
      Specified by:
      isPrimitiveType in interface org.hl7.fhir.r5.context.IWorkerContext
    • isDataType

      public boolean isDataType(String theType)
      Specified by:
      isDataType 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
    • hasResource

      public <T extends org.hl7.fhir.r5.model.Resource> boolean hasResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.Resource sourceOfReference)
      Specified by:
      hasResource 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, org.hl7.fhir.utilities.FhirPublication fhirVersion)
      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.ILoggingService getLogger()
      Specified by:
      getLogger in interface org.hl7.fhir.r5.context.IWorkerContext
    • setLogger

      public void setLogger(org.hl7.fhir.r5.context.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
    • supportsSystem

      public boolean supportsSystem(String system, org.hl7.fhir.utilities.FhirPublication fhirVersion) throws org.hl7.fhir.exceptions.TerminologyServiceException
      Specified by:
      supportsSystem in interface org.hl7.fhir.r5.context.IWorkerContext
      Throws:
      org.hl7.fhir.exceptions.TerminologyServiceException
    • 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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.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.terminologies.utilities.CodingValidationRequest> list, String s)
      Specified by:
      validateCodeBatchByRef in interface org.hl7.fhir.r5.context.IWorkerContext
    • validateCode

      public org.hl7.fhir.r5.terminologies.utilities.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
    • fetchResourcesByUrl

      public <T extends org.hl7.fhir.r5.model.Resource> List<T> fetchResourcesByUrl(Class<T> class_, String url)
      Specified by:
      fetchResourcesByUrl 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
    • urlsForOid

      public org.hl7.fhir.r5.context.IWorkerContext.OIDSummary urlsForOid(String oid, String resourceType)
      Specified by:
      urlsForOid in interface org.hl7.fhir.r5.context.IWorkerContext
    • findTxResource

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

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

      public <T extends org.hl7.fhir.r5.model.Resource> T findTxResource(Class<T> class_, String canonical, String version)
      Specified by:
      findTxResource 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)
    • subsumes

      public Boolean subsumes(org.hl7.fhir.utilities.validation.ValidationOptions optionsArg, org.hl7.fhir.r5.model.Coding parent, org.hl7.fhir.r5.model.Coding child)
      Specified by:
      subsumes in interface org.hl7.fhir.r5.context.IWorkerContext
    • isServerSideSystem

      public boolean isServerSideSystem(String url)
      Specified by:
      isServerSideSystem in interface org.hl7.fhir.r5.context.IWorkerContext