Class VersionConvertor_43_50

java.lang.Object
org.hl7.fhir.convertors.conv43_50.VersionConvertor_43_50

public class VersionConvertor_43_50 extends Object
Our conversion class needs to be able to handle all the base data-types in FHIR; Resources, DomainResource, Element
  • Constructor Details

  • Method Details

    • advisor

    • copyResource

      public void copyResource(@Nonnull org.hl7.fhir.r4b.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.r4b.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.r4b.model.Resource src) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • convertResource

      public org.hl7.fhir.r4b.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.r4b.model.DataType src) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • convertType

      public org.hl7.fhir.r4b.model.DataType 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.r4b.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.r4b.model.DomainResource tgt) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copyElement

      public void copyElement(@Nonnull org.hl7.fhir.r4b.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.r4b.model.Element tgt, String... var) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copyBackboneElement

      public void copyBackboneElement(@Nonnull org.hl7.fhir.r5.model.BackboneElement src, @Nonnull org.hl7.fhir.r4b.model.BackboneElement tgt, String... var) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copyBackboneElement

      public void copyBackboneElement(@Nonnull org.hl7.fhir.r4b.model.BackboneElement src, @Nonnull org.hl7.fhir.r5.model.BackboneElement tgt, String... var) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException