Sha256: 9265ec2bece57d18c8d5ff502f4c83f6046263a1b52c335a1745eb88fa31401f

Contents?: true

Size: 583 Bytes

Versions: 17

Compression:

Stored size: 583 Bytes

Contents

# frozen_string_literal: true
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

17 entries across 17 versions & 1 rubygems

Version Path
roqua-healthy-1.6.0 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.13 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.12 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.11 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.10 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.9 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.8 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.7 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.6 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.5 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.4 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.3 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.2 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.1 lib/roqua/healthy/a19.rb
roqua-healthy-1.5.0 lib/roqua/healthy/a19.rb
roqua-healthy-1.4.3 lib/roqua/healthy/a19.rb
roqua-healthy-1.4.2 lib/roqua/healthy/a19.rb