-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 97006-update-email-template-map
- Loading branch information
Showing
34 changed files
with
1,118 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
modules/my_health/app/controllers/my_health/v1/medical_records/self_entered_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# frozen_string_literal: true | ||
|
||
module MyHealth | ||
module V1 | ||
module MedicalRecords | ||
class SelfEnteredController < MrController | ||
def vitals | ||
render json: bb_client.get_sei_vital_signs_summary.to_json | ||
end | ||
|
||
def allergies | ||
render json: bb_client.get_sei_allergies.to_json | ||
end | ||
|
||
def family_history | ||
render json: bb_client.get_sei_family_health_history.to_json | ||
end | ||
|
||
def vaccines | ||
render json: bb_client.get_sei_immunizations.to_json | ||
end | ||
|
||
def test_entries | ||
render json: bb_client.get_sei_test_entries.to_json | ||
end | ||
|
||
def medical_events | ||
render json: bb_client.get_sei_medical_events.to_json | ||
end | ||
|
||
def military_history | ||
render json: bb_client.get_sei_military_history.to_json | ||
end | ||
|
||
def providers | ||
render json: bb_client.get_sei_healthcare_providers.to_json | ||
end | ||
|
||
def health_insurance | ||
render json: bb_client.get_sei_health_insurance.to_json | ||
end | ||
|
||
def treatment_facilities | ||
render json: bb_client.get_sei_treatment_facilities.to_json | ||
end | ||
|
||
def food_journal | ||
render json: bb_client.get_sei_food_journal.to_json | ||
end | ||
|
||
def activity_journal | ||
render json: bb_client.get_sei_activity_journal.to_json | ||
end | ||
|
||
def medications | ||
render json: bb_client.get_sei_medications.to_json | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.