Sha256: fba86e06663d1299b8fd02144371390c83f29115646c7d88e25271f60187c7b4
Contents?: true
Size: 613 Bytes
Versions: 7
Compression:
Stored size: 613 Bytes
Contents
module Roqua module Healthy class Client include ::Roqua::Support::Instrumentation attr_accessor :a19_endpoint def initialize(options = {}) @a19_endpoint = options[:a19_endpoint] end def a19_endpoint @a19_endpoint || Roqua::Healthy.a19_endpoint end def fetch_a19(patient_id) with_instrumentation 'hl7.a19', patient_id: patient_id do message = A19::Fetcher.new(patient_id, self).fetch patient = A19::Transformer.new(message).to_patient patient end end end end end require_relative 'a19'
Version data entries
7 entries across 7 versions & 1 rubygems