Class R4ToR5Loader
java.lang.Object
org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
org.hl7.fhir.convertors.loaders.loaderR5.R4ToR5Loader
- All Implemented Interfaces:
org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
public class R4ToR5Loader
extends BaseLoaderR5
implements org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
-
Field Summary
Fields inherited from class org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
killPrimitives, lkp, patchUrls, types, URL_BASE, URL_DSTU2, URL_DSTU2016MAY, URL_DSTU3, URL_ELEMENT_DEF_NAMESPACE, URL_R4
-
Constructor Summary
ConstructorsConstructorDescriptionR4ToR5Loader
(String[] types, ILoaderKnowledgeProviderR5 lkp, String version) -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r5.model.Bundle
loadBundle
(InputStream stream, boolean isJson) org.hl7.fhir.r5.model.Resource
loadResource
(InputStream stream, boolean isJson) Methods inherited from class org.hl7.fhir.convertors.loaders.loaderR5.BaseLoaderR5
getNewLoader, getResourcePath, loaderFactory, setPath
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
getNewLoader, getResourcePath, getTypes
-
Constructor Details
-
R4ToR5Loader
-
-
Method Details
-
loadBundle
public org.hl7.fhir.r5.model.Bundle loadBundle(InputStream stream, boolean isJson) throws org.hl7.fhir.exceptions.FHIRException, IOException - Specified by:
loadBundle
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
loadResource
public org.hl7.fhir.r5.model.Resource loadResource(InputStream stream, boolean isJson) throws org.hl7.fhir.exceptions.FHIRException, IOException - Specified by:
loadResource
in interfaceorg.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-