Class R2ToR5Loader

  • All Implemented Interfaces:
    org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader

    public class R2ToR5Loader
    extends BaseLoaderR5
    implements org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
    • Method Detail

      • loadBundle

        public org.hl7.fhir.r5.model.Bundle loadBundle​(InputStream stream,
                                                       boolean isJson)
                                                throws org.hl7.fhir.exceptions.FHIRException,
                                                       IOException
        Specified by:
        loadBundle in interface org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
        Throws:
        org.hl7.fhir.exceptions.FHIRException
        IOException
      • loadResource

        public org.hl7.fhir.r5.model.Resource loadResource​(InputStream stream,
                                                           boolean isJson)
                                                    throws org.hl7.fhir.exceptions.FHIRException,
                                                           IOException
        Specified by:
        loadResource in interface org.hl7.fhir.r5.context.IWorkerContext.IContextResourceLoader
        Throws:
        org.hl7.fhir.exceptions.FHIRException
        IOException