app/controllers/application_controller.rb
def previous_bundle
    url = session[:previous_bundle]

    if url.present?
      @client.parse_reply(FHIR::Bundle, @client.default_format,
                          @client.raw_read_url(url))
    end
  end
# Retrieves the previous bundle page from the FHIR server.
Retrieves the previous bundle page from the FHIR server.
Retrieves the previous bundle page from the FHIR server .
def previous_bundle
    url = session[:previous_bundle]
    if url.present?
      @client.parse_reply(FHIR::Bundle, @client.default_format,
                          @client.raw_read_url(url))
    end
  end
def previous_bundle url = session [ :previous_bundle ] if url . present? @client . parse_reply ( FHIR :: Bundle , @client . default_format , @client . raw_read_url ( url ) ) end end
Retrieves the previous bundle page from the FHIR server.
Retrieves the previous bundle page from the FHIR server .