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

Commit

Permalink
Fixed robocop issues with double quotes in json
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoCrespo-ora committed Sep 21, 2023
1 parent d6a5e66 commit f4d358f
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions lib/resources/example_json/r4_examples_consent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,95 +4,95 @@ module Cerner
module Resources

R4_CONSENT_ENTRY ||= {
"resourceType": "Consent",
"id": "AR-12742397-12724066",
"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",
"status": 'inactive',
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
"system": 'http://terminology.hl7.org/CodeSystem/consentscope',
"code": 'patient-privacy',
"display": 'Privacy Consent'
}
],
"text": "Privacy Consent"
"text": 'Privacy Consent'
},
"category": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "59284-0",
"display": "Patient Consent"
"system": 'http://loinc.org',
"code": '59284-0',
"display": 'Patient Consent'
}
],
"text": "Patient Consent"
"text": 'Patient Consent'
}
],
"patient": {
"reference": "Patient/12742397",
"display": "Smart, BabyBoy"
"reference": 'Patient/12742397',
"display": 'Smart, BabyBoy'
},
"policyRule": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "425691002",
"display": "Consent given for electronic record sharing (finding)"
"system": 'http://snomed.info/sct',
"code": '425691002',
"display": 'Consent given for electronic record sharing (finding)'
}
],
"text": "Consent given for electronic record sharing (finding)"
"text": 'Consent given for electronic record sharing (finding)'
},
"provision": {
"type": "permit",
"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": [
{
"id": "12724066",
"id": '12724066',
"role": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction",
"code": "AUCG",
"display": "caregiver information receiver"
"system": 'http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction',
"code": 'AUCG',
"display": 'caregiver information receiver'
}
],
"text": "Authorized Representative"
"text": 'Authorized Representative'
},
"reference": {
"reference": "RelatedPerson/12724066-12742397",
"display": "Smart II, Nancy"
"reference": 'RelatedPerson/12724066-12742397',
"display": 'Smart II, Nancy'
}
}
],
"action": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentaction",
"code": "correct",
"display": "Access and Correct"
"system": 'http://terminology.hl7.org/CodeSystem/consentaction',
"code": 'correct',
"display": 'Access and Correct'
}
],
"text": "Access and Correct"
"text": 'Access and Correct'
}
],
"purpose": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code": "PurposeOfUse",
"display": "purpose of use"
"system": 'http://terminology.hl7.org/CodeSystem/v3-ActReason',
"code": 'PurposeOfUse',
"display": 'purpose of use'
}
]
}
Expand Down

0 comments on commit f4d358f

Please sign in to comment.