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
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.hl7.fhir.r5.model.Resource
    convertResource(org.hl7.fhir.r4.model.Resource src)
     
    org.hl7.fhir.r4.model.Resource
    convertResource(org.hl7.fhir.r5.model.Resource src)
     
    org.hl7.fhir.r5.model.DataType
    convertType(org.hl7.fhir.r4.model.Type src)
     
    org.hl7.fhir.r4.model.Type
    convertType(org.hl7.fhir.r5.model.DataType src)
     
    void
    copyBackboneElement(org.hl7.fhir.r4.model.BackboneElement src, org.hl7.fhir.r5.model.BackboneElement tgt, String... extensionUrlsToIgnore)
     
    void
    copyBackboneElement(org.hl7.fhir.r5.model.BackboneElement src, org.hl7.fhir.r4.model.BackboneElement tgt, String... extensionUrlsToIgnore)
     
    void
    copyDomainResource(org.hl7.fhir.r4.model.DomainResource src, org.hl7.fhir.r5.model.DomainResource tgt, String... extensionUrlsToIgnore)
     
    void
    copyDomainResource(org.hl7.fhir.r5.model.DomainResource src, org.hl7.fhir.r4.model.DomainResource tgt, String... extensionUrlsToIgnore)
     
    void
    copyElement(org.hl7.fhir.r4.model.Element src, org.hl7.fhir.r5.model.Element tgt, String... extensionUrlsToIgnore)
     
    void
    copyElement(org.hl7.fhir.r5.model.Element src, org.hl7.fhir.r4.model.Element tgt, String... extensionUrlsToIgnore)
     
    void
    copyResource(org.hl7.fhir.r4.model.Resource src, org.hl7.fhir.r5.model.Resource tgt)
     
    void
    copyResource(org.hl7.fhir.r5.model.Resource src, org.hl7.fhir.r4.model.Resource tgt)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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, String... extensionUrlsToIgnore) 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, String... extensionUrlsToIgnore) 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... extensionUrlsToIgnore) 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... extensionUrlsToIgnore) 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.r4.model.BackboneElement tgt, String... extensionUrlsToIgnore) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copyBackboneElement

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