Sha256: daf979d4e0139dee51498d1269f6408e1ec0fcd89233c2d1108bce33f9e6c8e9

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

module Roqua
  module Healthy
    module A19
      # Fetches a patient record given a `patient_id` and returns a hash containing
      # the interesting information that was returned from an upstream `ADR^A19`
      # response.
      #
      # @param  patient_id [String] the patient identifier
      # @return [Hash] the patient details.
      def self.fetch(patient_id)
        Client.new.fetch_a19(patient_id)
      end
    end
  end
end

require_relative 'a19/fetcher'
require_relative 'a19/transformer'
require_relative 'a19/correct_patient_check'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roqua-healthy-1.4.1 lib/roqua/healthy/a19.rb
roqua-healthy-1.3.0 lib/roqua/healthy/a19.rb
roqua-healthy-1.2.1 lib/roqua/healthy/a19.rb