From 9c9a06acf2ccfbd4104428a6ec6c6bc78a4506ca Mon Sep 17 00:00:00 2001 From: Nandita92 Date: Fri, 10 Nov 2023 18:12:35 +0530 Subject: [PATCH 1/2] added example for patient arrival time --- .../example_json/r4_examples_appointment.rb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/resources/example_json/r4_examples_appointment.rb b/lib/resources/example_json/r4_examples_appointment.rb index cb484d9ea..e19e736e5 100644 --- a/lib/resources/example_json/r4_examples_appointment.rb +++ b/lib/resources/example_json/r4_examples_appointment.rb @@ -128,7 +128,11 @@ module Resources "display": 'Smart II, Nancy' }, "required": 'required', - "status": 'accepted' + "status": 'accepted', + "period": { + "start": "2023-07-26T14:00:00Z", + "end": "2023-07-26T15:00:00Z" + } } ], "requestedPeriod": [ @@ -279,7 +283,11 @@ module Resources 'display': 'SMART, NANCY' }, 'required': 'required', - 'status': 'accepted' + 'status': 'accepted', + "period": { + "start": "2023-07-26T14:00:00Z", + "end": "2023-07-26T15:00:00Z" + } }, { 'type': [ From b03c2e88cb40eb512eacc01666ccaad4bcd660e1 Mon Sep 17 00:00:00 2001 From: Nandita92 Date: Fri, 10 Nov 2023 18:19:20 +0530 Subject: [PATCH 2/2] fixed rubocop --- .../example_json/r4_examples_appointment.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/resources/example_json/r4_examples_appointment.rb b/lib/resources/example_json/r4_examples_appointment.rb index e19e736e5..b0d757942 100644 --- a/lib/resources/example_json/r4_examples_appointment.rb +++ b/lib/resources/example_json/r4_examples_appointment.rb @@ -129,9 +129,9 @@ module Resources }, "required": 'required', "status": 'accepted', - "period": { - "start": "2023-07-26T14:00:00Z", - "end": "2023-07-26T15:00:00Z" + 'period': { + 'start': '2023-07-26T14:00:00Z', + 'end': '2023-07-26T15:00:00Z' } } ], @@ -284,9 +284,9 @@ module Resources }, 'required': 'required', 'status': 'accepted', - "period": { - "start": "2023-07-26T14:00:00Z", - "end": "2023-07-26T15:00:00Z" + 'period': { + 'start': '2023-07-26T14:00:00Z', + 'end': '2023-07-26T15:00:00Z' } }, {