Module: Roqua::Healthy::A19

Defined in:
lib/roqua/healthy/a19.rb,
lib/roqua/healthy/a19/fetcher.rb,
lib/roqua/healthy/a19/name_parser.rb,
lib/roqua/healthy/a19/transformer.rb,
lib/roqua/healthy/a19/phone_parser.rb,
lib/roqua/healthy/a19/address_parser.rb,
lib/roqua/healthy/a19/phone_validator.rb,
lib/roqua/healthy/a19/response_parser.rb,
lib/roqua/healthy/a19/cdis_name_parser.rb,
lib/roqua/healthy/a19/epic_name_parser.rb,
lib/roqua/healthy/a19/response_validator.rb,
lib/roqua/healthy/a19/impulse_name_parser.rb,
lib/roqua/healthy/a19/correct_patient_check.rb

Defined Under Namespace

Modules: PhoneValidator Classes: AddressParser, CdisNameParser, CorrectPatientCheck, EpicNameParser, Fetcher, ImpulseNameParser, NameParser, PhoneParser, ResponseParser, ResponseValidator, Transformer

Class Method Summary collapse

Class Method Details

.fetch(patient_id) ⇒ Hash

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.

Parameters:

  • patient_id (String)

    the patient identifier

Returns:

  • (Hash)

    the patient details.



11
12
13
# File 'lib/roqua/healthy/a19.rb', line 11

def self.fetch(patient_id)
  Client.new.fetch_a19(patient_id)
end