
Package org.hl7.fhir.dstu3.context
Class BaseWorkerContext
java.lang.Object
org.hl7.fhir.utilities.i18n.I18nBase
org.hl7.fhir.dstu3.context.BaseWorkerContext
- All Implemented Interfaces:
IWorkerContext
- Direct Known Subclasses:
SimpleWorkerContext
@Deprecated
public abstract class BaseWorkerContext
extends org.hl7.fhir.utilities.i18n.I18nBase
implements IWorkerContext
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hl7.fhir.dstu3.context.IWorkerContext
IWorkerContext.ILoggingService, IWorkerContext.ValidationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Deprecated.protected String
Deprecated.protected boolean
Deprecated.protected Map
<String, CodeSystem> Deprecated.protected Map
<String, DataElement> Deprecated.protected ValueSetExpanderFactory
Deprecated.protected ExpansionProfile
Deprecated.protected Map
<String, StructureDefinition> Deprecated.protected IWorkerContext.ILoggingService
Deprecated.protected Map
<String, ConceptMap> Deprecated.protected String
Deprecated.Deprecated.protected boolean
Deprecated.protected Map
<String, OperationDefinition> Deprecated.protected Map
<String, StructureDefinition> Deprecated.protected Map
<String, Questionnaire> Deprecated.protected Map
<String, SearchParameter> Deprecated.protected Map
<String, StructureMap> Deprecated.protected String
Deprecated.protected FHIRToolingClient
Deprecated.protected Map
<String, Map<String, IWorkerContext.ValidationResult>> Deprecated.protected String
Deprecated.Deprecated.Fields inherited from class org.hl7.fhir.utilities.i18n.I18nBase
KEY_DELIMITER, PLURAL_SUFFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
dropCodeSystem
(String id) Deprecated.void
Deprecated.void
dropProfile
(String id) Deprecated.void
dropResource
(String type, String id) Deprecated.void
dropValueSet
(String id) Deprecated.expandOnServer
(ValueSet vs, String fn) Deprecated.expandVS
(ValueSet.ConceptSetComponent inc, boolean heirachical) Deprecated.Value set expanion inside the internal expansion engine - used for references to supported system (see "supportsSystem") for which there is no value set.Deprecated.ValueSet Expansion - see $expandfetchCodeSystem
(String system) Deprecated.Find the code system definition for the nominated system uri.fetchTypeDefinition
(String typeName) Deprecated.findMapsForSource
(String url) Deprecated.find concept maps for a sourceDeprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.getMaps()
Deprecated.getName()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.void
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.protected void
Deprecated.void
reportStatus
(com.google.gson.JsonObject json) Deprecated.void
seeCodeSystem
(String url, CodeSystem cs) Deprecated.void
Deprecated.void
Deprecated.void
seeProfile
(String url, StructureDefinition p) Deprecated.void
seeQuestionnaire
(String url, Questionnaire theQuestionnaire) Deprecated.void
seeValueSet
(String url, ValueSet vs) Deprecated.void
setAllowLoadingDuplicates
(boolean allowLoadingDuplicates) Deprecated.void
setCanRunWithoutTerminology
(boolean canRunWithoutTerminology) Deprecated.void
setExpandCodesLimit
(int expandCodesLimit) Deprecated.void
setExpansionProfile
(ExpansionProfile expProfile) Deprecated.void
Deprecated.void
Deprecated.boolean
supportsSystem
(String system) Deprecated.True if the underlying terminology service provider will do expansion and code validation for the terminology.validateCode
(String system, String code, String display) Deprecated.Validation of a code - consult the terminology service to see whether it is known.validateCode
(String system, String code, String display, ValueSet vs) Deprecated.Validation of a code - consult the terminology service to see whether it is known.validateCode
(String system, String code, String display, ValueSet.ConceptSetComponent vsi) Deprecated.Validation of a code - consult the terminology service to see whether it is known.validateCode
(CodeableConcept code, ValueSet vs) Deprecated.validateCode
(Coding code, ValueSet vs) Deprecated.Methods inherited from class org.hl7.fhir.utilities.i18n.I18nBase
formatMessage, formatMessagePlural, getLocale, getMessagesSourceFileName, getPluralKey, getPluralKeys, getPluralSuffixes, getRootKeyFromPlural, isWarnAboutMissingMessages, messageKeyExistsForLocale, setLocale, 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.dstu3.context.IWorkerContext
allConformanceResources, allStructures, fetchResource, fetchResourceWithException, formatMessage, getAbbreviation, getLocale, getNarrativeGenerator, getParser, getParser, getResourceNames, getTypeNames, getVersion, hasCache, hasResource, newJsonParser, newValidator, newXmlParser, oid2Uri, setLocale, setValidationMessageLanguage, typeTails
-
Field Details
-
codeSystems
Deprecated. -
nonSupportedCodeSystems
Deprecated. -
valueSets
Deprecated. -
maps
Deprecated. -
transforms
Deprecated. -
dataElements
Deprecated. -
profiles
Deprecated. -
searchParameters
Deprecated. -
extensionDefinitions
Deprecated. -
questionnaires
Deprecated. -
operations
Deprecated. -
expansionCache
Deprecated. -
cacheValidation
Deprecated. -
validationCache
Deprecated. -
tsServer
Deprecated. -
validationCachePath
Deprecated. -
name
Deprecated. -
txServer
Deprecated. -
allowLoadingDuplicates
Deprecated. -
noTerminologyServer
Deprecated. -
cache
Deprecated. -
logger
Deprecated. -
expProfile
Deprecated.
-
-
Constructor Details
-
BaseWorkerContext
public BaseWorkerContext()Deprecated.
-
-
Method Details
-
getCodeSystems
Deprecated. -
getDataElements
Deprecated. -
getValueSets
Deprecated. -
getMaps
Deprecated. -
getProfiles
Deprecated. -
getExtensionDefinitions
Deprecated. -
getQuestionnaires
Deprecated. -
getOperations
Deprecated. -
seeExtensionDefinition
Deprecated.- Throws:
Exception
-
dropExtensionDefinition
Deprecated. -
seeQuestionnaire
Deprecated.- Throws:
Exception
-
seeOperation
Deprecated.- Throws:
Exception
-
seeValueSet
Deprecated.- Throws:
Exception
-
dropValueSet
Deprecated. -
seeCodeSystem
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
dropCodeSystem
Deprecated. -
seeProfile
Deprecated.- Throws:
Exception
-
dropProfile
Deprecated. -
fetchCodeSystem
Deprecated.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
- Parameters:
system
-- Returns:
-
supportsSystem
public boolean supportsSystem(String system) throws org.hl7.fhir.exceptions.TerminologyServiceException Deprecated.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
- Parameters:
system
-- Returns:
- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet vs, boolean cacheOk, boolean heirarchical) Deprecated.Description copied from interface:IWorkerContext
ValueSet Expansion - see $expand- Specified by:
expandVS
in interfaceIWorkerContext
- Parameters:
vs
-- Returns:
-
expandOnServer
public ValueSetExpander.ValueSetExpansionOutcome expandOnServer(ValueSet vs, String fn) throws Exception Deprecated.- Throws:
Exception
-
expandVS
public ValueSet.ValueSetExpansionComponent expandVS(ValueSet.ConceptSetComponent inc, boolean heirachical) throws org.hl7.fhir.exceptions.TerminologyServiceException Deprecated.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
- Parameters:
inc
-- Returns:
- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
validateCode
Deprecated.Description copied from interface:IWorkerContext
Validation of a code - consult the terminology 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:
system
-code
-display
-- Returns:
-
validateCode
Deprecated.- Specified by:
validateCode
in interfaceIWorkerContext
-
validateCode
Deprecated.- Specified by:
validateCode
in interfaceIWorkerContext
-
validateCode
public IWorkerContext.ValidationResult validateCode(String system, String code, String display, ValueSet vs) Deprecated.Description copied from interface:IWorkerContext
Validation of a code - consult the terminology service to see whether it is known. If known, return a description of it Also, check whether it's in the provided value set note: always return a result, with either an error or a code description, or both (e.g. known code, but not in the value set) corresponds to 2 terminology service calls: $validate-code and $lookup- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
system
-code
-display
-- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(String system, String code, String display, ValueSet.ConceptSetComponent vsi) Deprecated.Description copied from interface:IWorkerContext
Validation of a code - consult the terminology service to see whether it is known. If known, return a description of it Also, check whether it's in the provided value set fragment (for supported systems with no value set definition) note: always return a result, with either an error or a code description, or both (e.g. known code, but not in the value set) corresponds to 2 terminology service calls: $validate-code and $lookup- Specified by:
validateCode
in interfaceIWorkerContext
- Parameters:
system
-code
-display
-- Returns:
-
initTS
Deprecated.- Throws:
Exception
-
loadValidationCache
Deprecated.- Throws:
com.google.gson.JsonSyntaxException
Exception
-
findMapsForSource
Deprecated.Description copied from interface:IWorkerContext
find concept maps for a source- Specified by:
findMapsForSource
in interfaceIWorkerContext
- Parameters:
url
-- Returns:
-
getNonSupportedCodeSystems
Deprecated. -
isCanRunWithoutTerminology
Deprecated. -
setCanRunWithoutTerminology
Deprecated. -
getExpandCodesLimit
Deprecated. -
setExpandCodesLimit
Deprecated. -
setLogger
Deprecated.- Specified by:
setLogger
in interfaceIWorkerContext
-
getExpansionProfile
Deprecated.- Specified by:
getExpansionProfile
in interfaceIWorkerContext
-
setExpansionProfile
Deprecated.- Specified by:
setExpansionProfile
in interfaceIWorkerContext
-
isNoTerminologyServer
Deprecated.- Specified by:
isNoTerminologyServer
in interfaceIWorkerContext
-
getName
Deprecated. -
setName
Deprecated. -
getResourceNamesAsSet
Deprecated.- Specified by:
getResourceNamesAsSet
in interfaceIWorkerContext
-
reportStatus
Deprecated. -
cacheResource
Deprecated.- Throws:
Exception
-
dropResource
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isAllowLoadingDuplicates
Deprecated. -
setAllowLoadingDuplicates
Deprecated. -
fetchTypeDefinition
Deprecated.- Specified by:
fetchTypeDefinition
in interfaceIWorkerContext
-