Class: AthenaHealth::Client
- Inherits:
-
Object
- Object
- AthenaHealth::Client
- Includes:
- Endpoints::Appointments, Endpoints::Configurations, Endpoints::Departments, Endpoints::Encounters, Endpoints::InsurancePackages, Endpoints::Patients, Endpoints::Practices, Endpoints::Providers
- Defined in:
- lib/athena_health/client.rb
Instance Method Summary collapse
-
#initialize(version:, key:, secret:, token: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Endpoints::Configurations
#all_allergies, #all_facilities, #all_insurances, #all_medications
Methods included from Endpoints::Encounters
#encounter_order, #encounter_orders, #find_encounter
Methods included from Endpoints::InsurancePackages
Methods included from Endpoints::Providers
#all_providers, #find_provider
Methods included from Endpoints::Appointments
#all_appointment_types, #all_patient_appointment_reasons, #appointment_insurances, #appointment_notes, #appointment_reminders, #book_appointment, #booked_appointments, #changed_appointments, #check_in, #create_appointment_note, #create_appointment_reminder, #create_appointment_subscription, #delete_appointment_reminder, #find_appointment, #find_appointment_reminder, #find_appointment_type, #open_appointment_slots, #reschedule_appointment, #start_check_in
Methods included from Endpoints::Patients
#add_patient_medication, #add_patient_preferred_pharmacy, #all_patients, #create_patient, #create_patient_document, #create_patient_insurance, #create_patient_problem, #delete_patient, #delete_patient_insurance, #find_patient, #find_patient_problems, #patient_allergies, #patient_analytes, #patient_appointments, #patient_default_laboratory, #patient_default_pharmacy, #patient_documents, #patient_encounters, #patient_insurances, #patient_lab_result_document, #patient_lab_results, #patient_medical_history, #patient_medications, #patient_preferred_pharmacies, #patient_prescriptions, #patient_social_history, #patient_social_history_templates, #record_payment, #set_patient_default_laboratory, #set_patient_default_pharmacy, #set_patient_social_history_templates, #update_patient, #update_patient_allergies, #update_patient_insurance, #update_patient_medical_history, #update_patient_photo, #update_patient_social_history, #verify_patient_privacy_information
Methods included from Endpoints::Departments
#all_departments, #find_department
Methods included from Endpoints::Practices
#all_practices, #find_practice
Constructor Details
#initialize(version:, key:, secret:, token: nil) ⇒ Client
Returns a new instance of Client.
3 4 5 6 7 8 9 10 |
# File 'lib/athena_health/client.rb', line 3 def initialize(version:, key:, secret:, token: nil) @api = AthenaHealth::Connection.new( version: version, key: key, secret: secret, token: token, ) end |