Skip to content

Commit

Permalink
Add missing reason for visit field on VAOS (#4373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalboni authored Jun 9, 2020
1 parent 47e4cdf commit 289ff72
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/vaos/app/models/vaos/appointment_request_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class AppointmentRequestForm < Common::Form
attribute :status, String
attribute :appointment_type, String
attribute :visit_type, String
attribute :reason_for_visit, String
attribute :text_messaging_allowed, Boolean
attribute :phone_number, String
attribute :purpose_of_visit, String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class AppointmentRequestsSerializer
:status,
:appointment_type,
:visit_type,
:reason_for_visit,
:email,
:text_messaging_allowed,
:phone_number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
:provider_name,
:provider_seen_appointment_request,
:purpose_of_visit,
:reason_for_visit,
:requested_phone_call,
:second_request,
:second_request_submitted,
Expand Down
1 change: 1 addition & 0 deletions spec/support/schemas/vaos/appointment_request.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"status": { "type": "string" },
"appointment_type": { "type": "string" },
"visit_type": { "type": "string" },
"reason_for_visit": { "type": ["string", null] },
"facility": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 289ff72

Please sign in to comment.