Class VersionConvertor_40_50
java.lang.Object
org.hl7.fhir.convertors.conv40_50.VersionConvertor_40_50
Our conversion class needs to be able to handle all the base data-types in FHIR; Resources, DomainResource, Element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvisor()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 Details
-
VersionConvertor_40_50
-
-
Method Details
-
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
-