Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Spacing corrections in json
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoCrespo-ora committed Sep 21, 2023
1 parent f4d358f commit 78fce57
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions lib/resources/example_json/r4_examples_consent.rb
Original file line number Diff line number Diff line change
@@ -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": '<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Consent</b></p><p><b>Patient Name</b>: Smart, BabyBoy</p><p><b>Status</b>: Inactive</p><p><b>Scope</b>: Privacy Consent</p><p><b>Category</b>: Patient Consent</p><p><b>Policy Rule</b>: Consent given for electronic record sharing (finding)</p><p><b>Consent Start Date</b>: Jan 1, 2001 6:00 A.M. UTC</p><p><b>Consent End Date</b>: Sep 14, 2008 12:00 A.M. UTC</p><p><b>Actor Name</b>: Smart II, Nancy</p><p><b>Actor Role</b>: Authorized Representative</p></div>'
"status": 'generated',
"div": '<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Consent</b></p><p><b>Patient Name</b>: Smart, BabyBoy</p><p><b>Status</b>: Inactive</p><p><b>Scope</b>: Privacy Consent</p><p><b>Category</b>: Patient Consent</p><p><b>Policy Rule</b>: Consent given for electronic record sharing (finding)</p><p><b>Consent Start Date</b>: Jan 1, 2001 6:00 A.M. UTC</p><p><b>Consent End Date</b>: Sep 14, 2008 12:00 A.M. UTC</p><p><b>Actor Name</b>: Smart II, Nancy</p><p><b>Actor Role</b>: Authorized Representative</p></div>'
},
"status": 'inactive',
"scope": {
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78fce57

Please sign in to comment.