Method: Unityapi::UnityClient#get_encounter

Defined in:
lib/unityapi/unity_client.rb

#get_encounter(user_id, patient_id, encounter_type, encounter_time, force_new_encounter, match_provider_flag) ⇒ Object



147
148
149
150
# File 'lib/unityapi/unity_client.rb', line 147

def get_encounter(user_id, patient_id, encounter_type, encounter_time, force_new_encounter, match_provider_flag)
  response = magic_action("GetEncounter", user_id, patient_id, encounter_type, encounter_time, force_new_encounter, match_provider_flag)
  return response.body[:magic_response][:magic_result][:diffgram][:getencounterresponse][:getencounterinfo]
end