Package org.hl7.fhir.r5.hapi.ctx
Class HapiWorkerContext
java.lang.Object
org.hl7.fhir.utilities.i18n.I18nBase
org.hl7.fhir.r5.hapi.ctx.HapiWorkerContext
- All Implemented Interfaces:
IWorkerContext
public final class HapiWorkerContext
extends org.hl7.fhir.utilities.i18n.I18nBase
implements IWorkerContext
-
Nested Class Summary
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 -
Constructor Summary
ConstructorsConstructorDescriptionHapiWorkerContext(ca.uhn.fhir.context.FhirContext theCtx, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) -
Method Summary
Modifier and TypeMethodDescriptionvoidcachePackage(IWorkerContext.PackageDetails packageDetails, List<IWorkerContext.PackageVersion> list) Inform the cache about package dependencies.voidcacheResource(Resource theRes) cache a resource for later retrieval using fetchResource.voidcacheResourceFromPackage(Resource res, IWorkerContext.PackageVersion packageDetails) cache a resource for later retrieval using fetchResource.org.hl7.fhir.utilities.TimeTrackerclock()static ca.uhn.fhir.context.support.ConceptValidationOptionsconvertConceptValidationOptions(org.hl7.fhir.utilities.validation.ValidationOptions theOptions) expandVS(ElementDefinition.ElementDefinitionBindingComponent theBinding, boolean theCacheOk, boolean theHierarchical) ValueSet Expansion - see $expand, but resolves the binding firstexpandVS(ValueSet.ConceptSetComponent theInc, boolean theHierarchical, boolean theNoInactive) 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 $expandfetchCodeSystem(String theSystem) Find the code system definition for the nominated system uri.fetchCodeSystem(String theSystem, String version) fetchRawProfile(String url) <T extends Resource>
TfetchResource(Class<T> theClass, String theUri) Find an identified resource.<T extends Resource>
TfetchResource(Class<T> theClass, String theUri, String theVersion) <T extends Resource>
TfetchResource(Class<T> class_, String uri, CanonicalResource canonicalForSource) has the same functionality as fetchResource, but passes in information about the source of the reference (this may affect resolution of version)fetchResourceById(String theType, String theUri) 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> theClass, String theUri) fetchTypeDefinition(String typeName) findMapsForSource(String theUrl) find concept maps for a sourcevoidGiven a structure definition, generate a snapshot (or regenerate it)voidgenerateSnapshot(StructureDefinition mr, boolean ifLogical) getAbbreviation(String theName) returns the recommended tla for the type (from the structure definitions)intSet 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) getPackage(IWorkerContext.PackageVersion packageVersion) Get a parser to read/write instances.getParser(ParserType theType) Get a parser to read/write instances.return the link to the base of the specification for the loaded version e.g.getTransform(String url) org.fhir.ucum.UcumServiceGet the versions of the definitions loaded in contextbooleanhasCache()booleanhasPackage(String id, String ver) booleanhasPackage(IWorkerContext.PackageVersion packageVersion) <T extends Resource>
booleanhasResource(Class<T> theClass_, String theUri) find whether a resource is available.booleanintloadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader) Load relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resourceintloadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader, String[] types) Load relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource Deprecated - use the simpler method where the types come from the loader.intloadFromPackageAndDependencies(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) Load relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource This method also loads all the packages that the package depends on (recursively)Get a JSON parserGet a validator that can check whether a resource is validGet an XML parsertranslate an OID to a URI (look through known NamingSystems)setClientRetryCount(int value) voidsetExpansionProfile(Parameters theExpParameters) 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 validateCodevoidvoidsetLogger(IWorkerContext.ILoggingService theLogger) voidsetOverrideVersionNs(String value) voidsetUcumService(org.fhir.ucum.UcumService ucumService) booleansupportsSystem(String theSystem) True if the underlying terminology service provider will do expansion and code validation for the terminology.org.hl7.fhir.utilities.TranslationServicesvalidateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String theVersion, String theCode, String theDisplay) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String theVersion, String theCode, String theDisplay, ValueSet theVs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, 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 theOptions, CodeableConcept theCode, ValueSet theVs) Validation of a code - consult the terminology infrstructure and/or service to see whether it is known.validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, Coding theCode, ValueSet theVs) 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, ValidationContextCarrier ctxt) voidvalidateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends IWorkerContext.CodingValidationRequest> codes, 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
-
Constructor Details
-
HapiWorkerContext
public HapiWorkerContext(ca.uhn.fhir.context.FhirContext theCtx, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
-
-
Method Details
-
allStructures
- Specified by:
allStructuresin interfaceIWorkerContext- Returns:
- a list of all structure definitions, with snapshots generated (if possible)
-
getStructures
- Specified by:
getStructuresin interfaceIWorkerContext- Returns:
- a list of all structure definitions, without trying to generate snapshots
-
fetchCodeSystem
Description copied from interface:IWorkerContextFind the code system definition for the nominated system uri. return null if there isn't one (then the tool might try supportsSystem)- Specified by:
fetchCodeSystemin interfaceIWorkerContext- Returns:
-
fetchCodeSystem
- Specified by:
fetchCodeSystemin interfaceIWorkerContext
-
findMapsForSource
Description copied from interface:IWorkerContextfind concept maps for a source- Specified by:
findMapsForSourcein interfaceIWorkerContext- Returns:
-
getAbbreviation
Description copied from interface:IWorkerContextreturns the recommended tla for the type (from the structure definitions)- Specified by:
getAbbreviationin interfaceIWorkerContext- Returns:
-
getParser
Description copied from interface:IWorkerContextGet a parser to read/write instances. Use the defined type (will be extended as further types are added, though the only currently anticipate type is RDF) XML/JSON - the standard renderers XHTML - render the narrative only (generate it if necessary)- Specified by:
getParserin interfaceIWorkerContext- Returns:
-
getParser
Description copied from interface:IWorkerContextGet a parser to read/write instances. Determine the type from the stated type. Supported value for type: - the recommended MIME types - variants of application/xml and application/json - _format values xml, json- Specified by:
getParserin interfaceIWorkerContext- Returns:
-
getResourceNames
- Specified by:
getResourceNamesin interfaceIWorkerContext- Returns:
- a list of the resource names defined for this version
-
newJsonParser
Description copied from interface:IWorkerContextGet a JSON parser- Specified by:
newJsonParserin interfaceIWorkerContext- Returns:
-
newValidator
Description copied from interface:IWorkerContextGet a validator that can check whether a resource is valid- Specified by:
newValidatorin interfaceIWorkerContext- Returns:
- a prepared generator
-
newXmlParser
Description copied from interface:IWorkerContextGet an XML parser- Specified by:
newXmlParserin interfaceIWorkerContext- Returns:
-
oid2Uri
Description copied from interface:IWorkerContexttranslate an OID to a URI (look through known NamingSystems)- Specified by:
oid2Uriin interfaceIWorkerContext- Returns:
-
supportsSystem
Description copied from interface:IWorkerContextTrue 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:
supportsSystemin interfaceIWorkerContext- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, CodeableConcept theCode, ValueSet theVs) Description copied from interface:IWorkerContextValidation 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:
validateCodein interfaceIWorkerContext- Parameters:
theOptions- - validation options (required)theCode- - CodeableConcept to validatetheVs- the applicable valueset (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, Coding theCode, ValueSet theVs) Description copied from interface:IWorkerContextValidation 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:
validateCodein interfaceIWorkerContext- Parameters:
theOptions- - validation options (required)theCode- - Coding to validatetheVs- the applicable valueset (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions options, Coding code, ValueSet vs, ValidationContextCarrier ctxt) - Specified by:
validateCodein interfaceIWorkerContext
-
validateCodeBatch
public void validateCodeBatch(org.hl7.fhir.utilities.validation.ValidationOptions options, List<? extends IWorkerContext.CodingValidationRequest> codes, ValueSet vs) - Specified by:
validateCodeBatchin interfaceIWorkerContext
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet theValueSet, boolean cacheOk, boolean heiarchical, boolean incompleteOk) Description copied from interface:IWorkerContextValueSet Expansion - see $expand- Specified by:
expandVSin interfaceIWorkerContext- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String theVersion, String theCode, String theDisplay) Description copied from interface:IWorkerContextValidation 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:
validateCodein interfaceIWorkerContext- Parameters:
theOptions- - validation options (required)theSystem- - equals Coding.system (required)theCode- - equals Coding.code (required)theDisplay- - equals Coding.display (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String theSystem, String theVersion, String theCode, String theDisplay, ValueSet theVs) Description copied from interface:IWorkerContextValidation 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:
validateCodein interfaceIWorkerContext- Parameters:
theOptions- - validation options (required)theSystem- - equals Coding.system (required)theCode- - equals Coding.code (required)theDisplay- - equals Coding.display (optional)theVs- the applicable valueset (optional)- Returns:
-
validateCode
public IWorkerContext.ValidationResult validateCode(org.hl7.fhir.utilities.validation.ValidationOptions theOptions, String code, ValueSet vs) Description copied from interface:IWorkerContextValidation 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:
validateCodein interfaceIWorkerContext- Parameters:
theOptions- - validation options (required)code- he code to validate (required)vs- the applicable valueset (required)- Returns:
-
allConformanceResources
- Specified by:
allConformanceResourcesin interfaceIWorkerContext- Returns:
- a list of all conformance resources
-
generateSnapshot
Description copied from interface:IWorkerContextGiven a structure definition, generate a snapshot (or regenerate it)- Specified by:
generateSnapshotin interfaceIWorkerContext- Throws:
org.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRException
-
generateSnapshot
- Specified by:
generateSnapshotin interfaceIWorkerContext
-
getExpansionParameters
Description copied from interface:IWorkerContextSet 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:
getExpansionParametersin interfaceIWorkerContext
-
setExpansionProfile
Description copied from interface:IWorkerContextGet 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:
setExpansionProfilein interfaceIWorkerContext
-
hasCache
- Specified by:
hasCachein interfaceIWorkerContext- Returns:
- true if the contxt has a terminology caching service internally
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet theSource, boolean theCacheOk, boolean theHierarchical) Description copied from interface:IWorkerContextValueSet Expansion - see $expand- Specified by:
expandVSin interfaceIWorkerContext- Returns:
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ValueSet.ConceptSetComponent theInc, boolean theHierarchical, boolean theNoInactive) throws org.hl7.fhir.exceptions.TerminologyServiceException Description copied from interface:IWorkerContextValue set expanion inside the internal expansion engine - used for references to supported system (see "supportsSystem") for which there is no value set.- Specified by:
expandVSin interfaceIWorkerContext- Returns:
- Throws:
org.hl7.fhir.exceptions.TerminologyServiceException
-
getLocale
- Specified by:
getLocalein interfaceIWorkerContext- Overrides:
getLocalein classorg.hl7.fhir.utilities.i18n.I18nBase
-
setLocale
- Specified by:
setLocalein interfaceIWorkerContext- Overrides:
setLocalein classorg.hl7.fhir.utilities.i18n.I18nBase
-
getLogger
- Specified by:
getLoggerin interfaceIWorkerContext
-
setLogger
- Specified by:
setLoggerin interfaceIWorkerContext
-
getVersion
Description copied from interface:IWorkerContextGet the versions of the definitions loaded in context- Specified by:
getVersionin interfaceIWorkerContext- Returns:
-
getSpecUrl
Description copied from interface:IWorkerContextreturn the link to the base of the specification for the loaded version e.g. http://hl7.org/fhir/R4- Specified by:
getSpecUrlin interfaceIWorkerContext
-
getUcumService
- Specified by:
getUcumServicein interfaceIWorkerContext
-
setUcumService
- Specified by:
setUcumServicein interfaceIWorkerContext
-
isNoTerminologyServer
- Specified by:
isNoTerminologyServerin interfaceIWorkerContext
-
getCodeSystemsUsed
- Specified by:
getCodeSystemsUsedin interfaceIWorkerContext
-
translator
- Specified by:
translatorin interfaceIWorkerContext
-
listTransforms
- Specified by:
listTransformsin interfaceIWorkerContext
-
getTransform
- Specified by:
getTransformin interfaceIWorkerContext
-
getOverrideVersionNs
- Specified by:
getOverrideVersionNsin interfaceIWorkerContext
-
setOverrideVersionNs
- Specified by:
setOverrideVersionNsin interfaceIWorkerContext
-
fetchTypeDefinition
- Specified by:
fetchTypeDefinitionin interfaceIWorkerContext
-
fetchRawProfile
- Specified by:
fetchRawProfilein interfaceIWorkerContext
-
getTypeNames
- Specified by:
getTypeNamesin interfaceIWorkerContext- Returns:
- a list of the resource and type names defined for this version
-
fetchResource
Description copied from interface:IWorkerContextFind 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:
fetchResourcein interfaceIWorkerContext- Returns:
-
fetchResourceWithException
public <T extends Resource> T fetchResourceWithException(Class<T> theClass, String theUri) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
fetchResourceWithExceptionin interfaceIWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fetchResource
- Specified by:
fetchResourcein interfaceIWorkerContext
-
fetchResource
public <T extends Resource> T fetchResource(Class<T> class_, String uri, CanonicalResource canonicalForSource) Description copied from interface:IWorkerContexthas the same functionality as fetchResource, but passes in information about the source of the reference (this may affect resolution of version)- Specified by:
fetchResourcein interfaceIWorkerContext- Returns:
-
fetchResourceById
Description copied from interface:IWorkerContextVariation 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:
fetchResourceByIdin interfaceIWorkerContext- Returns:
-
hasResource
Description copied from interface:IWorkerContextfind 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:
hasResourcein interfaceIWorkerContext- Returns:
-
cacheResource
Description copied from interface:IWorkerContextcache 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:
cacheResourcein interfaceIWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
cacheResourceFromPackage
public void cacheResourceFromPackage(Resource res, IWorkerContext.PackageVersion packageDetails) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContextcache 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:
cacheResourceFromPackagein interfaceIWorkerContext- Throws:
org.hl7.fhir.exceptions.FHIRException
-
cachePackage
public void cachePackage(IWorkerContext.PackageDetails packageDetails, List<IWorkerContext.PackageVersion> list) Description copied from interface:IWorkerContextInform the cache about package dependencies. This can be used to help resolve references Note that the cache doesn't load dependencies- Specified by:
cachePackagein interfaceIWorkerContext
-
getResourceNamesAsSet
- Specified by:
getResourceNamesAsSetin interfaceIWorkerContext- Returns:
- a set of the resource names defined for this version
-
expandVS
public ValueSetExpander.ValueSetExpansionOutcome expandVS(ElementDefinition.ElementDefinitionBindingComponent theBinding, boolean theCacheOk, boolean theHierarchical) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContextValueSet Expansion - see $expand, but resolves the binding first- Specified by:
expandVSin interfaceIWorkerContext- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getLinkForUrl
- Specified by:
getLinkForUrlin interfaceIWorkerContext
-
getBinaries
- Specified by:
getBinariesin interfaceIWorkerContext
-
loadFromPackage
public int loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContextLoad relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource- Specified by:
loadFromPackagein interfaceIWorkerContext- Parameters:
pi- - the package to loadloader- - an implemenation of IContextResourceLoader that knows how to read the resources in the package (e.g. for the appropriate version).- Returns:
- the number of resources loaded
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
loadFromPackage
public int loadFromPackage(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader, String[] types) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContextLoad relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource Deprecated - use the simpler method where the types come from the loader.- Specified by:
loadFromPackagein interfaceIWorkerContext- Parameters:
pi- - the package to loadloader- - an implemenation of IContextResourceLoader that knows how to read the resources in the package (e.g. for the appropriate version).types- - which types of resources to load- Returns:
- the number of resources loaded
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
loadFromPackageAndDependencies
public int loadFromPackageAndDependencies(org.hl7.fhir.utilities.npm.NpmPackage pi, IWorkerContext.IContextResourceLoader loader, org.hl7.fhir.utilities.npm.BasePackageCacheManager pcm) throws org.hl7.fhir.exceptions.FHIRException Description copied from interface:IWorkerContextLoad relevant resources of the appropriate types (as specified by the loader) from the nominated package note that the package system uses lazy loading; the loader will be called later when the classes that use the context need the relevant resource This method also loads all the packages that the package depends on (recursively)- Specified by:
loadFromPackageAndDependenciesin interfaceIWorkerContext- Parameters:
pi- - the package to loadloader- - an implemenation of IContextResourceLoader that knows how to read the resources in the package (e.g. for the appropriate version).pcm- - used to find and load additional dependencies- Returns:
- the number of resources loaded
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasPackage
- Specified by:
hasPackagein interfaceIWorkerContext
-
hasPackage
- Specified by:
hasPackagein interfaceIWorkerContext
-
getPackage
- Specified by:
getPackagein interfaceIWorkerContext
-
getClientRetryCount
- Specified by:
getClientRetryCountin interfaceIWorkerContext
-
setClientRetryCount
- Specified by:
setClientRetryCountin interfaceIWorkerContext
-
clock
- Specified by:
clockin interfaceIWorkerContext
-
getPackageForUrl
- Specified by:
getPackageForUrlin interfaceIWorkerContext
-
convertConceptValidationOptions
public static ca.uhn.fhir.context.support.ConceptValidationOptions convertConceptValidationOptions(org.hl7.fhir.utilities.validation.ValidationOptions theOptions)
-