diff --git a/lib/resources/example_json/r4_examples_consent.rb b/lib/resources/example_json/r4_examples_consent.rb index 09c4a5c8b..38d0a1038 100644 --- a/lib/resources/example_json/r4_examples_consent.rb +++ b/lib/resources/example_json/r4_examples_consent.rb @@ -1,18 +1,18 @@ # frozen_string_literal: true -module Cerner +module Cerner module Resources R4_CONSENT_ENTRY ||= { "resourceType": 'Consent', "id": 'AR-12742397-12724066', "meta": { - "versionId": '95', - "lastUpdated": '2023-08-01T17:29:09.000Z' + "versionId": '95', + "lastUpdated": '2023-08-01T17:29:09.000Z' }, "text": { - "status": 'generated', - "div": '

Consent

Patient Name: Smart, BabyBoy

Status: Inactive

Scope: Privacy Consent

Category: Patient Consent

Policy Rule: Consent given for electronic record sharing (finding)

Consent Start Date: Jan 1, 2001 6:00 A.M. UTC

Consent End Date: Sep 14, 2008 12:00 A.M. UTC

Actor Name: Smart II, Nancy

Actor Role: Authorized Representative

' + "status": 'generated', + "div": '

Consent

Patient Name: Smart, BabyBoy

Status: Inactive

Scope: Privacy Consent

Category: Patient Consent

Policy Rule: Consent given for electronic record sharing (finding)

Consent Start Date: Jan 1, 2001 6:00 A.M. UTC

Consent End Date: Sep 14, 2008 12:00 A.M. UTC

Actor Name: Smart II, Nancy

Actor Role: Authorized Representative

' }, "status": 'inactive', "scope": { @@ -54,8 +54,8 @@ module Resources "provision": { "type": 'permit', "period": { - "start": '2001-01-01T06:00:00.000Z', - "end": '2008-09-14T00:00:00.000Z' + "start": '2001-01-01T06:00:00.000Z', + "end": '2008-09-14T00:00:00.000Z' }, "actor": [ { @@ -141,22 +141,22 @@ module Resources }.freeze R4_CONSENT_ID_BUNDLE ||= { - "resourceType": "Bundle", - "id": "5259d04e-1241-4477-a52b-f27c8002aedb", - "type": "searchset", + "resourceType": 'Bundle', + "id": '5259d04e-1241-4477-a52b-f27c8002aedb', + "type": 'searchset', "link": [ { - "relation": "self", - "url": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Consent?_id=AR-12742397-12724066" + "relation": 'self', + "url": 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Consent?_id=AR-12742397-12724066' } ], "entry": [ { - "fullUrl": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Consent/AR-12742397-12724066", - "resource": R4_CONSENT_ENTRY, - "search": { - "mode": "match" - } + "fullUrl": 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Consent/AR-12742397-12724066', + "resource": R4_CONSENT_ENTRY, + "search": { + "mode": 'match' + } } ] }.freeze