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 ClassesModifier and TypeClassDescriptionstatic interfaceNested classes/interfaces inherited from interface org.hl7.fhir.r5.context.IWorkerContext
org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest, org.hl7.fhir.r5.context.IWorkerContext.ICanonicalResourceLocator, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader, org.hl7.fhir.r5.context.IWorkerContext.ILoggingService, org.hl7.fhir.r5.context.IWorkerContext.PackageDetails, org.hl7.fhir.r5.context.IWorkerContext.PackageVersion, org.hl7.fhir.r5.context.IWorkerContext.ValidationResult -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionVersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, VersionSpecificWorkerContextWrapper.IVersionTypeConverter theModelConverter) -
Method Summary
Modifier and TypeMethodDescriptionList<org.hl7.fhir.r5.model.CanonicalResource>List<org.hl7.fhir.r5.model.StructureDefinition>voidcachePackage(org.hl7.fhir.r5.context.IWorkerContext.PackageDetails packageDetails, List<org.hl7.fhir.r5.context.IWorkerContext.PackageVersion> list) voidcacheResource(org.hl7.fhir.r5.model.Resource res) voidcacheResourceFromPackage(org.hl7.fhir.r5.model.Resource res, org.hl7.fhir.r5.context.IWorkerContext.PackageVersion packageDetails) org.hl7.fhir.utilities.TimeTrackerclock()static ca.uhn.fhir.context.support.ConceptValidationOptionsconvertConceptValidationOptions(org.hl7.fhir.utilities.validation.ValidationOptions theOptions) org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcomeexpandVS(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean Hierarchical) org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcomeexpandVS(org.hl7.fhir.r5.model.ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive) org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcomeexpandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean Hierarchical) org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcomeexpandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean heiarchical, boolean incompleteOk) org.hl7.fhir.r5.model.CodeSystemfetchCodeSystem(String system) org.hl7.fhir.r5.model.CodeSystemfetchCodeSystem(String system, String verison) org.hl7.fhir.r5.model.StructureDefinitionfetchRawProfile(String url) <T extends org.hl7.fhir.r5.model.Resource>
TfetchResource(Class<T> class_, String uri) <T extends org.hl7.fhir.r5.model.Resource>
TfetchResource(Class<T> class_, String uri, String version) <T extends org.hl7.fhir.r5.model.Resource>
TfetchResource(Class<T> class_, String uri, org.hl7.fhir.r5.model.CanonicalResource canonicalForSource) org.hl7.fhir.r5.model.ResourcefetchResourceById(String type, String uri) <T extends org.hl7.fhir.r5.model.Resource>
TfetchResourceWithException(Class<T> class_, String uri) org.hl7.fhir.r5.model.StructureDefinitionfetchTypeDefinition(String typeName) List<org.hl7.fhir.r5.model.ConceptMap>findMapsForSource(String url) voidgenerateSnapshot(org.hl7.fhir.r5.model.StructureDefinition input) voidgenerateSnapshot(org.hl7.fhir.r5.model.StructureDefinition theStructureDefinition, boolean theB) getAbbreviation(String name) intorg.hl7.fhir.r5.model.ParametersgetLinkForUrl(String corePath, String url) org.hl7.fhir.r5.context.IWorkerContext.ILoggingServiceorg.hl7.fhir.r5.context.IWorkerContext.PackageDetailsgetPackage(org.hl7.fhir.r5.context.IWorkerContext.PackageVersion packageVersion) org.hl7.fhir.r5.context.IWorkerContext.PackageVersionorg.hl7.fhir.r5.formats.IParserorg.hl7.fhir.r5.formats.IParsergetParser(org.hl7.fhir.r5.formats.ParserType type) List<org.hl7.fhir.r5.model.StructureDefinition>org.hl7.fhir.r5.model.StructureMapgetTransform(String url) org.fhir.ucum.UcumServicebooleanhasCache()booleanhasPackage(String id, String ver) booleanhasPackage(org.hl7.fhir.r5.context.IWorkerContext.PackageVersion packageVersion) <T extends org.hl7.fhir.r5.model.Resource>
booleanhasResource(Class<T> class_, String uri) voidbooleanList<org.hl7.fhir.r5.model.StructureMap>intloadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader) intloadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader loader, String[] types) intloadFromPackageAndDependencies(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.formats.IParserorg.hl7.fhir.r5.utils.validation.IResourceValidatornewVersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) org.hl7.fhir.r5.formats.IParserorg.hl7.fhir.r5.context.IWorkerContextsetClientRetryCount(int value) voidsetExpansionProfile(org.hl7.fhir.r5.model.Parameters expParameters) voidvoidsetLogger(org.hl7.fhir.r5.context.IWorkerContext.ILoggingService logger) voidsetOverrideVersionNs(String value) voidsetUcumService(org.fhir.ucum.UcumService ucumService) booleansupportsSystem(String system) org.hl7.fhir.utilities.TranslationServicesorg.hl7.fhir.r5.context.IWorkerContext.ValidationResultvalidateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String system, String version, String code, String display) org.hl7.fhir.r5.context.IWorkerContext.ValidationResultvalidateCode(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.ValidationResultvalidateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String code, org.hl7.fhir.r5.model.ValueSet theValueSet) org.hl7.fhir.r5.context.IWorkerContext.ValidationResultvalidateCode(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.ValidationResultvalidateCode(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.ValidationResultvalidateCode(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) voidvalidateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends org.hl7.fhir.r5.context.IWorkerContext.CodingValidationRequest> codes, org.hl7.fhir.r5.model.ValueSet vs) Methods inherited from class org.hl7.fhir.utilities.i18n.I18nBase
formatMessage, isWarnAboutMissingMessages, setValidationMessageLanguage, setWarnAboutMissingMessagesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.r5.context.IWorkerContext
formatMessage, setValidationMessageLanguage
-
Field Details
-
IDENTITY_VERSION_TYPE_CONVERTER
-
-
Constructor Details
-
VersionSpecificWorkerContextWrapper
public VersionSpecificWorkerContextWrapper(ca.uhn.fhir.context.support.ValidationSupportContext theValidationSupportContext, VersionSpecificWorkerContextWrapper.IVersionTypeConverter theModelConverter)
-
-
Method Details
-
allConformanceResources
- Specified by:
allConformanceResourcesin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getLinkForUrl
- Specified by:
getLinkForUrlin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getBinaries
- Specified by:
getBinariesin interfaceorg.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:
loadFromPackagein interfaceorg.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, String[] types) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
loadFromPackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext- Throws:
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:
loadFromPackageAndDependenciesin interfaceorg.hl7.fhir.r5.context.IWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasPackage
- Specified by:
hasPackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
hasPackage
- Specified by:
hasPackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getPackage
public org.hl7.fhir.r5.context.IWorkerContext.PackageDetails getPackage(org.hl7.fhir.r5.context.IWorkerContext.PackageVersion packageVersion) - Specified by:
getPackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getClientRetryCount
- Specified by:
getClientRetryCountin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
setClientRetryCount
- Specified by:
setClientRetryCountin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
clock
- Specified by:
clockin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getPackageForUrl
- Specified by:
getPackageForUrlin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
generateSnapshot
public void generateSnapshot(org.hl7.fhir.r5.model.StructureDefinition input) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
generateSnapshotin interfaceorg.hl7.fhir.r5.context.IWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
generateSnapshot
public void generateSnapshot(org.hl7.fhir.r5.model.StructureDefinition theStructureDefinition, boolean theB) - Specified by:
generateSnapshotin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getExpansionParameters
- Specified by:
getExpansionParametersin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
setExpansionProfile
- Specified by:
setExpansionProfilein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
allStructures
- Specified by:
allStructuresin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getStructures
- Specified by:
getStructuresin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
cacheResource
- Specified by:
cacheResourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
cacheResourceFromPackage
public void cacheResourceFromPackage(org.hl7.fhir.r5.model.Resource res, org.hl7.fhir.r5.context.IWorkerContext.PackageVersion packageDetails) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
cacheResourceFromPackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
cachePackage
public void cachePackage(org.hl7.fhir.r5.context.IWorkerContext.PackageDetails packageDetails, List<org.hl7.fhir.r5.context.IWorkerContext.PackageVersion> list) - Specified by:
cachePackagein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
expandVS
public org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean Hierarchical) - Specified by:
expandVSin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
expandVS
public org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent binding, boolean cacheOk, boolean Hierarchical) - Specified by:
expandVSin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
expandVS
public org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet.ConceptSetComponent inc, boolean hierarchical, boolean noInactive) throws org.hl7.fhir.exceptions.TerminologyServiceException - Specified by:
expandVSin interfaceorg.hl7.fhir.r5.context.IWorkerContext- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
getLocale
- Specified by:
getLocalein interfaceorg.hl7.fhir.r5.context.IWorkerContext- Overrides:
getLocalein classorg.hl7.fhir.utilities.i18n.I18nBase
-
setLocale
- Specified by:
setLocalein interfaceorg.hl7.fhir.r5.context.IWorkerContext- Overrides:
setLocalein classorg.hl7.fhir.utilities.i18n.I18nBase
-
fetchCodeSystem
- Specified by:
fetchCodeSystemin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
fetchCodeSystem
- Specified by:
fetchCodeSystemin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
fetchResource
- Specified by:
fetchResourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
fetchResourceById
- Specified by:
fetchResourceByIdin interfaceorg.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:
fetchResourceWithExceptionin interfaceorg.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:
fetchResourcein interfaceorg.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.CanonicalResource canonicalForSource) - Specified by:
fetchResourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
findMapsForSource
- Specified by:
findMapsForSourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getAbbreviation
- Specified by:
getAbbreviationin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getParser
- Specified by:
getParserin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getParser
- Specified by:
getParserin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getResourceNames
- Specified by:
getResourceNamesin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getResourceNamesAsSet
- Specified by:
getResourceNamesAsSetin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getTransform
- Specified by:
getTransformin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getOverrideVersionNs
- Specified by:
getOverrideVersionNsin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
setOverrideVersionNs
- Specified by:
setOverrideVersionNsin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
fetchTypeDefinition
- Specified by:
fetchTypeDefinitionin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
fetchRawProfile
- Specified by:
fetchRawProfilein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getTypeNames
- Specified by:
getTypeNamesin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getUcumService
- Specified by:
getUcumServicein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
setUcumService
- Specified by:
setUcumServicein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getVersion
- Specified by:
getVersionin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getSpecUrl
- Specified by:
getSpecUrlin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
hasCache
- Specified by:
hasCachein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
hasResource
- Specified by:
hasResourcein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
isNoTerminologyServer
- Specified by:
isNoTerminologyServerin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getCodeSystemsUsed
- Specified by:
getCodeSystemsUsedin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
listTransforms
- Specified by:
listTransformsin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
newJsonParser
- Specified by:
newJsonParserin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
newValidator
- Specified by:
newValidatorin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
newXmlParser
- Specified by:
newXmlParserin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
oid2Uri
- Specified by:
oid2Uriin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
getLogger
- Specified by:
getLoggerin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
setLogger
- Specified by:
setLoggerin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
supportsSystem
- Specified by:
supportsSystemin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
translator
- Specified by:
translatorin interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
expandVS
public org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome expandVS(org.hl7.fhir.r5.model.ValueSet source, boolean cacheOk, boolean heiarchical, boolean incompleteOk) - Specified by:
expandVSin interfaceorg.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:
validateCodein interfaceorg.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:
validateCodein interfaceorg.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:
validateCodein interfaceorg.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:
validateCodein interfaceorg.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:
validateCodein interfaceorg.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:
validateCodeBatchin interfaceorg.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:
validateCodein interfaceorg.hl7.fhir.r5.context.IWorkerContext
-
invalidateCaches
-
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)
-