
Package org.hl7.fhir.r5.context
Class BaseWorkerContext
java.lang.Object
org.hl7.fhir.utilities.i18n.I18nBase
org.hl7.fhir.r5.context.BaseWorkerContext
- All Implemented Interfaces:
IWorkerContext
- Direct Known Subclasses:
SimpleWorkerContext
public abstract class BaseWorkerContext
extends org.hl7.fhir.utilities.i18n.I18nBase
implements IWorkerContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
Nested classes/interfaces inherited from interface org.hl7.fhir.r5.context.IWorkerContext
IWorkerContext.CodingValidationRequest, IWorkerContext.ICanonicalResourceLocator, IWorkerContext.IContextResourceLoader, IWorkerContext.ILoggingService, IWorkerContext.PackageDetails, IWorkerContext.PackageVersion, IWorkerContext.ValidationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.hl7.fhir.utilities.TimeTracker
protected Parameters
protected IWorkerContext.ILoggingService
protected String
protected boolean
protected CanonicalResourceManager<StructureMap>
protected String
protected TerminologyCache
protected TerminologyClient
protected org.hl7.fhir.utilities.ToolingClientLogger
protected String
protected Map<String,
Map<String, IWorkerContext.ValidationResult>> protected String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
BaseWorkerContext
(Locale locale) protected
BaseWorkerContext
(CanonicalResourceManager<CodeSystem> codeSystems, CanonicalResourceManager<ValueSet> valueSets, CanonicalResourceManager<ConceptMap> maps, CanonicalResourceManager<StructureDefinition> profiles, CanonicalResourceManager<ImplementationGuide> guides) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cache a resource for later retrieval using fetchResource.void
cacheResourceFromPackage
(Resource r, IWorkerContext.PackageVersion packageInfo) cache a resource for later retrieval using fetchResource.void
cacheVS
(com.google.gson.JsonObject json, Map<String, IWorkerContext.ValidationResult> t) void
clearTS()
void
clearTSCache
(String url) org.hl7.fhir.utilities.TimeTracker
clock()
protected Parameters
constructParameters
(ValueSet vs, boolean hierarchical) protected Parameters
constructParameters
(org.hl7.fhir.utilities.validation.ValidationOptions options, IWorkerContext.CodingValidationRequest codingValidationRequest, ValueSet valueSet) protected Parameters
constructParameters
(org.hl7.fhir.utilities.validation.ValidationOptions options, CodeableConcept codeableConcept) protected Parameters
constructParameters
(org.hl7.fhir.utilities.validation.ValidationOptions options, Coding coding) protected ValueSetCheckerSimple
constructValueSetCheckerSimple
(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet vs) protected ValueSetCheckerSimple
constructValueSetCheckerSimple
(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet vs, ValidationContextCarrier ctxt) protected ValueSetExpanderSimple
protected void
copy
(BaseWorkerContext other) int
void
dropResource
(String fhirType, String id) void
expandVS
(ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean heirarchical) ValueSet Expansion - see $expand, but resolves the binding firstexpandVS
(ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive) Value set expanion inside the internal expansion engine - used for references to supported system (see "supportsSystem") for which there is no value set.ValueSet Expansion - see $expandValueSet Expansion - see $expandexpandVS
(ValueSet vs, boolean cacheOk, boolean hierarchical, boolean incompleteOk, Parameters pIn) fetchCodeSystem
(String system) Find the code system definition for the nominated system uri.fetchCodeSystem
(String system, String version) <T extends Resource>
TfetchResource
(Class<T> class_, String uri) Find an identified resource.<T extends Resource>
TfetchResource
(Class<T> class_, String uri, String version) <T extends Resource>
TfetchResource
(Class<T> class_, String uri, CanonicalResource source) has the same functionality as fetchResource, but passes in information about the source of the reference (this may affect resolution of version)fetchResourceById
(String type, String uri) Variation of fetchResource when you have a string type, and don't need the right class The URI can have one of 3 formats: - a full URL e.g.<T extends Resource>
TfetchResourceWithException
(Class<T> class_, String uri) <T extends Resource>
TfetchResourceWithException
(Class<T> class_, String uri, String version, CanonicalResource source) <T extends Resource>
TfetchResourceWithException
(Class<T> class_, String uri, CanonicalResource source) <T extends Resource>
TfetchResourceWithException
(String cls, String uri) <T extends Resource>
TfetchResourceWithException
(String cls, String uri, CanonicalResource source) fetchTypeDefinition
(String typeName) findMapsForSource
(String url) find concept maps for a sourcevoid
void
int
int
Set the expansion parameters passed through the terminology server when txServer calls are made Note that the Validation Options override these when they are specified on validateCodegetLinkForUrl
(String corePath, String url) getName()
getPackageForUrl
(String uri) getSearchParameter
(String code) return the link to the base of the specification for the loaded version e.g.getStructure
(String code) getTransform
(String code) org.fhir.ucum.UcumService
<T extends Resource>
booleanhasResource
(Class<T> class_, String uri) find whether a resource is available.<T extends Resource>
booleanhasResource
(String cls, String uri) protected void
boolean
boolean
boolean
boolean
listMaps()
translate an OID to a URI (look through known NamingSystems)void
registerResourceFromPackage
(CanonicalResourceManager.CanonicalResourceProxy r, IWorkerContext.PackageVersion packageInfo) void
reportStatus
(com.google.gson.JsonObject json) protected <T extends CanonicalResource>
voidseeMetadataResource
(T r, Map<String, T> map, List<T> list, boolean addId) void
setAllowLoadingDuplicates
(boolean allowLoadingDuplicates) void
setCacheId
(String cacheId) void
setCanRunWithoutTerminology
(boolean canRunWithoutTerminology) setClientRetryCount
(int value) void
setExpandCodesLimit
(int expandCodesLimit) void
setExpansionProfile
(Parameters expParameters) Get the expansion parameters passed through the terminology server when txServer calls are made Note that the Validation Options override these when they are specified on validateCodevoid
void
void
void
setNoTerminologyServer
(boolean noTerminologyServer) void
setOverrideVersionNs
(String value) void
setTlogging
(boolean tlogging) void
setTranslator
(org.hl7.fhir.utilities.TranslationServices translator) void
setTxCaps
(TerminologyCapabilities txCaps) void
setUcumService
(org.fhir.ucum.UcumService ucumService) protected void
setUserAgent
(String userAgent) boolean
supportsSystem
(String system) True if the underlying terminology service provider will do expansion and code validation for the terminology.protected String
protected void
int
org.hl7.fhir.utilities.TranslationServices
validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions options, String system, String version, String code, String display) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions options, String system, String version, String code, String display, ValueSet vs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions options, String code, ValueSet vs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions options, CodeableConcept code, ValueSet vs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions options, Coding code, ValueSet vs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode
(org.hl7.fhir.utilities.validation.ValidationOptions optionsArg, Coding code, ValueSet vs, ValidationContextCarrier ctxt) void
validateCodeBatch
(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends IWorkerContext.CodingValidationRequest> codes, ValueSet vs) protected IWorkerContext.ValidationResult
validateOnServer
(ValueSet vs, Parameters pin, org.hl7.fhir.utilities.validation.ValidationOptions options) Methods inherited from class org.hl7.fhir.utilities.i18n.I18nBase
formatMessage, getLocale, isWarnAboutMissingMessages, setLocale, 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
allStructures, cachePackage, fetchRawProfile, formatMessage, generateSnapshot, generateSnapshot, getAbbreviation, getLocale, getPackage, getParser, getParser, getResourceNames, getTypeNames, getVersion, hasCache, hasPackage, hasPackage, loadFromPackage, loadFromPackage, loadFromPackageAndDependencies, newJsonParser, newValidator, newXmlParser, setLocale, setValidationMessageLanguage
-
Field Details
-
version
-
transforms
-
binaries
-
oidCache
-
validationCache
-
tsServer
-
name
-
txClient
-
txLog
-
noTerminologyServer
-
logger
-
expParameters
-
txCache
-
clock
-
userAgent
-
-
Constructor Details
-
BaseWorkerContext
protected BaseWorkerContext() throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException- Throws:
FileNotFoundException
IOException
org.hl7.fhir.exceptions.FHIRException
-
BaseWorkerContext
protected BaseWorkerContext(Locale locale) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundException
IOException
org.hl7.fhir.exceptions.FHIRException
-
BaseWorkerContext
protected BaseWorkerContext(CanonicalResourceManager<CodeSystem> codeSystems, CanonicalResourceManager<ValueSet> valueSets, CanonicalResourceManager<ConceptMap> maps, CanonicalResourceManager<StructureDefinition> profiles, CanonicalResourceManager<ImplementationGuide> guides) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundException
IOException
org.hl7.fhir.exceptions.FHIRException
-
-
Method Details
-
copy
-
cacheResource
Description copied from interface:IWorkerContext
cache a resource for later retrieval using fetchResource. Note that various context implementations will have their own ways of loading rseources, and not all need implement cacheResource. If the resource is loaded out of a package, call cacheResourceFromPackage instead- Specified by:
cacheResource
in interfaceIWorkerContext
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
registerResourceFromPackage
public void registerResourceFromPackage(CanonicalResourceManager.CanonicalResourceProxy r, IWorkerContext.PackageVersion packageInfo) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
cacheResourceFromPackage
public void cacheResourceFromPackage(Resource r, IWorkerContext.PackageVersion packageInfo) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContext
cache a resource for later retrieval using fetchResource. The package information is used to help manage the cache internally, and to help with reference resolution. Packages should be define using cachePackage (but don't have to be) Note that various context implementations will have their own ways of loading rseources, and not all need implement cacheResource- Specified by:
cacheResourceFromPackage
in interfaceIWorkerContext
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fixOldSD
-
seeMetadataResource
protected <T extends CanonicalResource> void seeMetadataResource(T r, Map<String, T> map, List<T> list, boolean addId) throws org.hl7.fhir.exceptions.FHIRException- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchCodeSystem
Description copied from interface:IWorkerContext
Find the code system definition for the nominated system uri. return null if there isn't one (then the tool might try supportsSystem)- Specified by:
fetchCodeSystem
in interfaceIWorkerContext
- Returns:
-
fetchCodeSystem
- Specified by:
fetchCodeSystem
in interfaceIWorkerContext
-
supportsSystem
public boolean supportsSystem(String system) throws org.hl7.fhir.exceptions.TerminologyServiceException Description copied from interface:IWorkerContext
True if the underlying terminology service provider will do expansion and code validation for the terminology. Corresponds to the extension http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system in the Conformance resource- Specified by:
supportsSystem
in interfaceIWorkerContext
- Returns:
- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
tlog
-
getExpandCodesLimit
-
setExpandCodesLimit
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean heirarchical) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContext
ValueSet Expansion - see $expand, but resolves the binding first- Specified by:
expandVS
in interfaceIWorkerContext
- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive) throws org.hl7.fhir.exceptions.TerminologyServiceException Description copied from interface:IWorkerContext
Value set expanion inside the internal expansion engine - used for references to supported system (see "supportsSystem") for which there is no value set.- Specified by:
expandVS
in interfaceIWorkerContext
- Returns:
- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet vs, boolean cacheOk, boolean heirarchical) Description copied from interface:IWorkerContext
ValueSet Expansion - see $expand- Specified by:
expandVS
in interfaceIWorkerContext
- Returns:
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet vs, boolean cacheOk, boolean heirarchical, boolean incompleteOk) Description copied from interface:IWorkerContext
ValueSet Expansion - see $expand- Specified by:
expandVS
in interfaceIWorkerContext
- Returns:
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet vs, boolean cacheOk, boolean hierarchical, boolean incompleteOk, Parameters pIn) -
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, String system, String version, String code, String display) Description copied from interface:IWorkerContext
Validation of a code - consult the terminology infrstructure and/or service to see whether it is known. If known, return a description of it note: always return a result, with either an error or a code description corresponds to 2 terminology service calls: $validate-code and $lookup- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
options
- - validation options (required)system
- - equals Coding.system (required)code
- - equals Coding.code (required)display
- - equals Coding.display (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, String system, String version, String code, String display, ValueSet vs) Description copied from interface:IWorkerContext
Validation of a code - consult the terminology infrstructure and/or service to see whether it is known. If known, return a description of it note: always return a result, with either an error or a code description corresponds to 2 terminology service calls: $validate-code and $lookup- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
options
- - validation options (required)system
- - equals Coding.system (required)code
- - equals Coding.code (required)display
- - equals Coding.display (optional)vs
- the applicable valueset (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, String code, ValueSet vs) Description copied from interface:IWorkerContext
Validation of a code - consult the terminology infrstructure and/or service to see whether it is known. If known, return a description of it note: always return a result, with either an error or a code description corresponds to 2 terminology service calls: $validate-code and $lookup in this case, the system will be inferred from the value set. It's an error to call this one without the value set- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
options
- - validation options (required)code
- he code to validate (required)vs
- the applicable valueset (required)- Returns:
-
validateCodeBatch
public void validateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends IWorkerContext.CodingValidationRequest> codes, ValueSet vs) - Specified by:
validateCodeBatch
in interfaceIWorkerContext
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, Coding code, ValueSet vs) Description copied from interface:IWorkerContext
Validation of a code - consult the terminology infrstructure and/or service to see whether it is known. If known, return a description of it note: always return a result, with either an error or a code description corresponds to 2 terminology service calls: $validate-code and $lookup in this case, the system will be inferred from the value set. It's an error to call this one without the value set- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
options
- - validation options (required)code
- - Coding to validatevs
- the applicable valueset (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions optionsArg, Coding code, ValueSet vs, ValidationContextCarrier ctxt) - Specified by:
validateCode
in interfaceIWorkerContext
-
constructValueSetExpanderSimple
-
constructValueSetCheckerSimple
protected ValueSetCheckerSimple constructValueSetCheckerSimple(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet vs, ValidationContextCarrier ctxt) -
constructValueSetCheckerSimple
protected ValueSetCheckerSimple constructValueSetCheckerSimple(org.hl7.fhir.utilities.validation.ValidationOptions options, ValueSet vs) -
constructParameters
-
constructParameters
protected Parameters constructParameters(org.hl7.fhir.utilities.validation.ValidationOptions options, Coding coding) -
constructParameters
protected Parameters constructParameters(org.hl7.fhir.utilities.validation.ValidationOptions options, CodeableConcept codeableConcept) -
constructParameters
protected Parameters constructParameters(org.hl7.fhir.utilities.validation.ValidationOptions options, IWorkerContext.CodingValidationRequest codingValidationRequest, ValueSet valueSet) -
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, CodeableConcept code, ValueSet vs) Description copied from interface:IWorkerContext
Validation of a code - consult the terminology infrstructure and/or service to see whether it is known. If known, return a description of it note: always return a result, with either an error or a code description corresponds to 2 terminology service calls: $validate-code and $lookup Note that this doesn't validate binding strength (e.g. is just text allowed?)- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
options
- - validation options (required)code
- - CodeableConcept to validatevs
- the applicable valueset (optional)- Returns:
-
validateOnServer
protected IWorkerContext.ValidationResult validateOnServer(ValueSet vs, Parameters pin, org.hl7.fhir.utilities.validation.ValidationOptions options) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
processValidationResult
-
initTS
- Throws:
IOException
-
clearTSCache
- Throws:
Exception
-
clearTS
-
findMapsForSource
Description copied from interface:IWorkerContext
find concept maps for a source- Specified by:
findMapsForSource
in interfaceIWorkerContext
- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isCanRunWithoutTerminology
-
setCanRunWithoutTerminology
-
setLogger
- Specified by:
setLogger
in interfaceIWorkerContext
-
getExpansionParameters
Description copied from interface:IWorkerContext
Set the expansion parameters passed through the terminology server when txServer calls are made Note that the Validation Options override these when they are specified on validateCode- Specified by:
getExpansionParameters
in interfaceIWorkerContext
-
setExpansionProfile
Description copied from interface:IWorkerContext
Get the expansion parameters passed through the terminology server when txServer calls are made Note that the Validation Options override these when they are specified on validateCode- Specified by:
setExpansionProfile
in interfaceIWorkerContext
-
isNoTerminologyServer
- Specified by:
isNoTerminologyServer
in interfaceIWorkerContext
-
setNoTerminologyServer
-
getName
-
setName
-
getResourceNamesAsSet
- Specified by:
getResourceNamesAsSet
in interfaceIWorkerContext
- Returns:
- a set of the resource names defined for this version
-
isAllowLoadingDuplicates
-
setAllowLoadingDuplicates
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(Class<T> class_, String uri) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
fetchResourceWithException
in interfaceIWorkerContext
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(String cls, String uri) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(Class<T> class_, String uri, CanonicalResource source) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(Class<T> class_, String uri, String version, CanonicalResource source) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
getPackageForUrl
- Specified by:
getPackageForUrl
in interfaceIWorkerContext
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(String cls, String uri, CanonicalResource source) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchResourceById
Description copied from interface:IWorkerContext
Variation of fetchResource when you have a string type, and don't need the right class The URI can have one of 3 formats: - a full URL e.g. http://acme.org/fhir/ValueSet/[id] - a relative URL e.g. ValueSet/[id] - a logical id e.g. [id] if type == null, the URI can't be a simple logical id- Specified by:
fetchResourceById
in interfaceIWorkerContext
- Returns:
-
fetchResource
Description copied from interface:IWorkerContext
has the same functionality as fetchResource, but passes in information about the source of the reference (this may affect resolution of version)- Specified by:
fetchResource
in interfaceIWorkerContext
- Returns:
-
fetchResource
Description copied from interface:IWorkerContext
Find an identified resource. The most common use of this is to access the the standard conformance resources that are part of the standard - structure definitions, value sets, concept maps, etc. Also, the narrative generator uses this, and may access any kind of resource The URI is called speculatively for things that might exist, so not finding a matching resouce, return null, not an error The URI can have one of 3 formats: - a full URL e.g. http://acme.org/fhir/ValueSet/[id] - a relative URL e.g. ValueSet/[id] - a logical id e.g. [id] It's an error if the second form doesn't agree with class_. It's an error if class_ is null for the last form- Specified by:
fetchResource
in interfaceIWorkerContext
- Returns:
-
fetchResource
- Specified by:
fetchResource
in interfaceIWorkerContext
-
hasResource
Description copied from interface:IWorkerContext
find whether a resource is available. Implementations of the interface can assume that if hasResource ruturns true, the resource will usually be fetched subsequently- Specified by:
hasResource
in interfaceIWorkerContext
- Returns:
-
hasResource
-
translator
- Specified by:
translator
in interfaceIWorkerContext
-
setTranslator
-
reportStatus
-
dropResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
dropResource
-
allConformanceResources
- Specified by:
allConformanceResources
in interfaceIWorkerContext
- Returns:
- a list of all conformance resources
-
listSupportedSystems
-
totalCount
-
listMaps
-
listTransforms
- Specified by:
listTransforms
in interfaceIWorkerContext
-
getTransform
- Specified by:
getTransform
in interfaceIWorkerContext
-
listStructures
-
getStructure
-
oid2Uri
Description copied from interface:IWorkerContext
translate an OID to a URI (look through known NamingSystems)- Specified by:
oid2Uri
in interfaceIWorkerContext
- Returns:
-
cacheVS
-
getSearchParameter
-
getOverrideVersionNs
- Specified by:
getOverrideVersionNs
in interfaceIWorkerContext
-
setOverrideVersionNs
- Specified by:
setOverrideVersionNs
in interfaceIWorkerContext
-
getLogger
- Specified by:
getLogger
in interfaceIWorkerContext
-
fetchTypeDefinition
- Specified by:
fetchTypeDefinition
in interfaceIWorkerContext
-
isTlogging
-
setTlogging
-
getUcumService
- Specified by:
getUcumService
in interfaceIWorkerContext
-
setUcumService
- Specified by:
setUcumService
in interfaceIWorkerContext
-
getStructures
- Specified by:
getStructures
in interfaceIWorkerContext
- Returns:
- a list of all structure definitions, without trying to generate snapshots
-
getLinkForUrl
- Specified by:
getLinkForUrl
in interfaceIWorkerContext
-
allImplementationGuides
-
getBinaries
- Specified by:
getBinaries
in interfaceIWorkerContext
-
finishLoading
-
tail
-
getClientRetryCount
- Specified by:
getClientRetryCount
in interfaceIWorkerContext
-
setClientRetryCount
- Specified by:
setClientRetryCount
in interfaceIWorkerContext
-
getTxClient
-
getCacheId
-
setCacheId
-
getTxCaps
-
setTxCaps
-
clock
- Specified by:
clock
in interfaceIWorkerContext
-
countAllCaches
-
getCodeSystemsUsed
- Specified by:
getCodeSystemsUsed
in interfaceIWorkerContext
-
getSpecUrl
Description copied from interface:IWorkerContext
return the link to the base of the specification for the loaded version e.g. http://hl7.org/fhir/R4- Specified by:
getSpecUrl
in interfaceIWorkerContext
-
getLocator
-
setLocator
-
getUserAgent
-
setUserAgent
-