Class VersionConvertor_40_50
- java.lang.Object
-
- org.hl7.fhir.convertors.conv40_50.VersionConvertor_40_50
-
public class VersionConvertor_40_50 extends Object
Our conversion class needs to be able to handle all the base data-types in FHIR; Resources, DomainResource, Element
-
-
Constructor Summary
Constructors Constructor Description VersionConvertor_40_50(BaseAdvisor_40_50 advisor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseAdvisor_40_50advisor()org.hl7.fhir.r5.model.ResourceconvertResource(org.hl7.fhir.r4.model.Resource src)org.hl7.fhir.r4.model.ResourceconvertResource(org.hl7.fhir.r5.model.Resource src)org.hl7.fhir.r5.model.DataTypeconvertType(org.hl7.fhir.r4.model.Type src)org.hl7.fhir.r4.model.TypeconvertType(org.hl7.fhir.r5.model.DataType src)voidcopyDomainResource(org.hl7.fhir.r4.model.DomainResource src, org.hl7.fhir.r5.model.DomainResource tgt)voidcopyDomainResource(org.hl7.fhir.r5.model.DomainResource src, org.hl7.fhir.r4.model.DomainResource tgt)voidcopyElement(org.hl7.fhir.r4.model.Element src, org.hl7.fhir.r5.model.Element tgt, String... var)voidcopyElement(org.hl7.fhir.r5.model.Element src, org.hl7.fhir.r4.model.Element tgt, String... var)voidcopyResource(org.hl7.fhir.r4.model.Resource src, org.hl7.fhir.r5.model.Resource tgt)voidcopyResource(org.hl7.fhir.r5.model.Resource src, org.hl7.fhir.r4.model.Resource tgt)
-
-
-
Constructor Detail
-
VersionConvertor_40_50
public VersionConvertor_40_50(@Nonnull BaseAdvisor_40_50 advisor)
-
-
Method Detail
-
advisor
public BaseAdvisor_40_50 advisor()
-
copyResource
public void copyResource(@Nonnull org.hl7.fhir.r4.model.Resource src, @Nonnull org.hl7.fhir.r5.model.Resource tgt) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copyResource
public void copyResource(@Nonnull org.hl7.fhir.r5.model.Resource src, @Nonnull org.hl7.fhir.r4.model.Resource tgt) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertResource
public org.hl7.fhir.r5.model.Resource convertResource(@Nonnull org.hl7.fhir.r4.model.Resource src) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertResource
public org.hl7.fhir.r4.model.Resource convertResource(@Nonnull org.hl7.fhir.r5.model.Resource src) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertType
public org.hl7.fhir.r5.model.DataType convertType(@Nonnull org.hl7.fhir.r4.model.Type src) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertType
public org.hl7.fhir.r4.model.Type convertType(@Nonnull org.hl7.fhir.r5.model.DataType src) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copyDomainResource
public void copyDomainResource(@Nonnull org.hl7.fhir.r4.model.DomainResource src, @Nonnull org.hl7.fhir.r5.model.DomainResource tgt) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copyDomainResource
public void copyDomainResource(@Nonnull org.hl7.fhir.r5.model.DomainResource src, @Nonnull org.hl7.fhir.r4.model.DomainResource tgt) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copyElement
public void copyElement(@Nonnull org.hl7.fhir.r4.model.Element src, @Nonnull org.hl7.fhir.r5.model.Element tgt, String... var) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copyElement
public void copyElement(@Nonnull org.hl7.fhir.r5.model.Element src, @Nonnull org.hl7.fhir.r4.model.Element tgt, String... var) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
-