
Package org.hl7.fhir.convertors.loaders
Class R2016MayToR4Loader
- java.lang.Object
-
- org.hl7.fhir.convertors.loaders.BaseLoaderR4
-
- org.hl7.fhir.convertors.loaders.R2016MayToR4Loader
-
- All Implemented Interfaces:
VersionConvertorAdvisor40
,org.hl7.fhir.r4.context.SimpleWorkerContext.IContextResourceLoader
public class R2016MayToR4Loader extends BaseLoaderR4 implements org.hl7.fhir.r4.context.SimpleWorkerContext.IContextResourceLoader, VersionConvertorAdvisor40
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.convertors.loaders.BaseLoaderR4
BaseLoaderR4.ILoaderKnowledgeProvider, BaseLoaderR4.NullLoaderKnowledgeProvider
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.convertors.loaders.BaseLoaderR4
killPrimitives, patchUrls, URL_BASE, URL_DSTU2, URL_DSTU2016MAY, URL_DSTU3, URL_ELEMENT_DEF_NAMESPACE, URL_R4
-
-
Constructor Summary
Constructors Constructor Description R2016MayToR4Loader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.dstu2.model.Resource
convertR2(org.hl7.fhir.r4.model.Resource resource)
org.hl7.fhir.dstu2016may.model.Resource
convertR2016May(org.hl7.fhir.r4.model.Resource resource)
org.hl7.fhir.dstu3.model.Resource
convertR3(org.hl7.fhir.r4.model.Resource resource)
org.hl7.fhir.r4.model.CodeSystem
getCodeSystem(org.hl7.fhir.r4.model.ValueSet src)
void
handleCodeSystem(org.hl7.fhir.r4.model.CodeSystem cs, org.hl7.fhir.r4.model.ValueSet vs)
boolean
ignoreEntry(org.hl7.fhir.r4.model.Bundle.BundleEntryComponent src)
org.hl7.fhir.r4.model.Bundle
loadBundle(InputStream stream, boolean isJson)
-
Methods inherited from class org.hl7.fhir.convertors.loaders.BaseLoaderR4
getResourcePath, getTypes, isKillPrimitives, isPatchUrls, setKillPrimitives, setPatchUrls, setPath
-
-
-
-
Constructor Detail
-
R2016MayToR4Loader
public R2016MayToR4Loader()
-
-
Method Detail
-
loadBundle
public org.hl7.fhir.r4.model.Bundle loadBundle(InputStream stream, boolean isJson) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Specified by:
loadBundle
in interfaceorg.hl7.fhir.r4.context.SimpleWorkerContext.IContextResourceLoader
- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
ignoreEntry
public boolean ignoreEntry(org.hl7.fhir.r4.model.Bundle.BundleEntryComponent src)
- Specified by:
ignoreEntry
in interfaceVersionConvertorAdvisor40
-
convertR2
public org.hl7.fhir.dstu2.model.Resource convertR2(org.hl7.fhir.r4.model.Resource resource) throws org.hl7.fhir.exceptions.FHIRException
- Specified by:
convertR2
in interfaceVersionConvertorAdvisor40
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertR2016May
public org.hl7.fhir.dstu2016may.model.Resource convertR2016May(org.hl7.fhir.r4.model.Resource resource) throws org.hl7.fhir.exceptions.FHIRException
- Specified by:
convertR2016May
in interfaceVersionConvertorAdvisor40
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertR3
public org.hl7.fhir.dstu3.model.Resource convertR3(org.hl7.fhir.r4.model.Resource resource) throws org.hl7.fhir.exceptions.FHIRException
- Specified by:
convertR3
in interfaceVersionConvertorAdvisor40
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
handleCodeSystem
public void handleCodeSystem(org.hl7.fhir.r4.model.CodeSystem cs, org.hl7.fhir.r4.model.ValueSet vs)
- Specified by:
handleCodeSystem
in interfaceVersionConvertorAdvisor40
-
getCodeSystem
public org.hl7.fhir.r4.model.CodeSystem getCodeSystem(org.hl7.fhir.r4.model.ValueSet src)
- Specified by:
getCodeSystem
in interfaceVersionConvertorAdvisor40
-
-