EhrProxy::Clients
Welcome to the ehr_proxy-clients
gem! This is a privately distributed gem written by Chiron Health. The gem provides a ruby wrapper for working with the Chiron Health EHR Proxy API.
Installation
Add this line to your application's Gemfile:
source 'https://[email protected]/chironhealthplatform' do
gem 'ehr_proxy-clients'
end
And then execute:
$ bundle
Or install it yourself as:
$ gem install ehr_proxy-clients --source https://[email protected]/chironhealthplatform/
Getting Started
irb(main):001:0> require 'ehr_proxy-clients'
=> true
irb(main):002:0> client = EhrProxy::KareoEhr::Client.new(provider_uuid: '086cc24c-be80-4495-8143-b5e7b7cd76fa')
=> #<EhrProxy::KareoEhr::Client:0x007faf5c478340 @provider_uuid="086cc24c-be80-4495-8143-b5e7b7cd76fa">
irb(main):003:0> client.get_appointments
=> [#<KareoEhr::Appointment id="173GMG" all_day=false appointment_reason1=nil appointment_reason10=nil appointment_reason2=nil appointment_reason3=nil appointment_reason4=nil appointment_reason5=nil appointment_reason6=nil appointment_reason7=nil appointment_reason8=nil appointment_reason9=nil authorization_end_date=nil authorization_id=nil authorization_insurance_plan=nil authorization_number=nil authorization_start_date=nil confirmation_status="Scheduled" created_date=#<DateTime: 2014-03-09T20:37:16+00:00 ((2456726j,74236s,0n),+0s,2299161j)> end_date="12/23/2017 9:00:00 PM" last_modified_date=#<DateTime: 2014-03-09T20:38:20+00:00 ((2456726j,74300s,0n),+0s,2299161j)> notes=nil patient_case_id=nil patient_case_name=nil patient_case_payer_scenario=nil patient_full_name=nil patient_id=nil practice_id=9 practice_name="Family Health Medical Center" recurring=true resource_name1="Winthorp Xavier" resource_name10=nil resource_name2="Benjamin Grimmley" resource_name3="Marium Bukhari" resource_name4="Pepperdine Potts" resource_name5="Roderick Richards" resource_name6="Tasha Romanoff" resource_name7="Jonathan Storm" resource_name8="Selena Strom" resource_name9="Victor Vondriska" service_location_name="Family Health Medical Center" start_date="12/23/2017 8:00:00 PM" type="Other">]
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Contributing
Read how to contribute here.
License
The gem is available as open source under the terms of the MIT License.