
Class BaseLoaderR5
java.lang.Object
org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
- All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
- Direct Known Subclasses:
R2016MayToR5Loader
,R2ToR5Loader
,R3ToR5Loader
,R4BToR5Loader
,R4ToR5Loader
,R5ToR5Loader
,R6ToR5Loader
public abstract class BaseLoaderR5
extends Object
implements org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected ILoaderKnowledgeProviderR5
protected boolean
protected final String
protected final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doPatchUrls
(org.hl7.fhir.r5.model.Resource resource) org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
getNewLoader
(org.hl7.fhir.utilities.npm.NpmPackage npm) getResourcePath
(org.hl7.fhir.r5.model.Resource resource) boolean
protected BaseLoaderR5
loaderFactory
(org.hl7.fhir.utilities.npm.NpmPackage npm) org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
setLoadProfiles
(boolean value) void
setPatchUrls
(boolean patchUrls) void
setPath
(org.hl7.fhir.r5.model.Resource r) protected abstract String
boolean
wantLoad
(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.utilities.npm.NpmPackage.PackageResourceInformation pri) 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.IContextResourceLoader
getCodeSystems, getTypes, loadBundle, loadResource
-
Field Details
-
URL_BASE
- See Also:
-
URL_ELEMENT_DEF_NAMESPACE
- See Also:
-
patchUrls
-
killPrimitives
-
types
-
lkp
-
-
Constructor Details
-
BaseLoaderR5
-
-
Method Details
-
getResourcePath
- Specified by:
getResourcePath
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
setPath
-
getNewLoader
public org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader getNewLoader(org.hl7.fhir.utilities.npm.NpmPackage npm) throws com.google.gson.JsonSyntaxException, IOException - Specified by:
getNewLoader
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
- Throws:
com.google.gson.JsonSyntaxException
IOException
-
loaderFactory
protected BaseLoaderR5 loaderFactory(org.hl7.fhir.utilities.npm.NpmPackage npm) throws com.google.gson.JsonSyntaxException, IOException - Throws:
com.google.gson.JsonSyntaxException
IOException
-
isPatchUrls
-
setPatchUrls
- Specified by:
setPatchUrls
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
versionString
-
patchUrl
- Specified by:
patchUrl
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
doPatchUrls
-
setLoadProfiles
- Specified by:
setLoadProfiles
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
wantLoad
public boolean wantLoad(org.hl7.fhir.utilities.npm.NpmPackage pi, org.hl7.fhir.utilities.npm.NpmPackage.PackageResourceInformation pri) - Specified by:
wantLoad
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-