Packages

ISO/HL7 FHIR Application Server

Current section

Files

Jump to
hl7 priv samples Consent Consent-consent-example-smartonfhir.json
Raw

priv/samples/Consent/Consent-consent-example-smartonfhir.json

{"resourceType":"Consent","id":"consent-example-smartonfhir","text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative: Consent\u003c/b\u003e\u003ca name\u003d\"consent-example-smartonfhir\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource Consent \u0026quot;consent-example-smartonfhir\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: active\u003c/p\u003e\u003cp\u003e\u003cb\u003ecategory\u003c/b\u003e: Patient Consent \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"https://loinc.org/\"\u003eLOINC\u003c/a\u003e#59284-0)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003esubject\u003c/b\u003e: \u003cspan title\u003d\" In this SMART on FHIR login, the user consents for data sharing for their elderly parent\u0027s record \"\u003e\u003ca href\u003d\"patient-example-xcda.html\"\u003ePatient/xcda\u003c/a\u003e \u0026quot;Henry LEVIN\u0026quot;\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edate\u003c/b\u003e: 2016-06-23\u003c/p\u003e\u003cp\u003e\u003cb\u003egrantor\u003c/b\u003e: \u003ca href\u003d\"relatedperson-example-peter.html\"\u003eRelatedPerson/peter\u003c/a\u003e \u0026quot;Peter CHALMERS\u0026quot;\u003c/p\u003e\u003cp\u003e\u003cb\u003econtroller\u003c/b\u003e: \u003ca href\u003d\"organization-example-f001-burgers.html\"\u003eOrganization/f001\u003c/a\u003e \u0026quot;Burgers University Medical Center\u0026quot;\u003c/p\u003e\u003cp\u003e\u003cb\u003eregulatoryBasis\u003c/b\u003e: \u003cspan title\u003d\" there\u0027s no source record for a Smart on FHIR consent\n smart on fhir requires a base opt-in policy \"\u003einformation access \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActCode.html\"\u003eActCode\u003c/a\u003e#INFA)\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edecision\u003c/b\u003e: \u003cspan title\u003d\" each scope that relates to FHIR resource access is represented as an exception \"\u003epermit\u003c/span\u003e\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eprovision\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eperiod\u003c/b\u003e: 2016-06-23T17:02:33+10:00 --\u0026gt; 2016-06-23T17:32:33+10:00\u003c/p\u003e\u003ch3\u003eProvisions\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eAction\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResourceType\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003cspan title\u003d\" this rule corresponds to MedicationRequest/read \u0026amp;#10; no actors here, or anything, just read/write and the resource type \"\u003eAccess \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-consentaction.html\"\u003eConsent Action Codes\u003c/a\u003e#access)\u003c/span\u003e\u003c/span\u003e, Access and Correct \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-consentaction.html\"\u003eConsent Action Codes\u003c/a\u003e#correct)\u003c/span\u003e\u003c/td\u003e\u003ctd\u003eMedicationRequest (Details: http://hl7.org/fhir/resource-types code MedicationRequest \u003d \u0027MedicationRequest\u0027, stated as \u0027null\u0027)\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003c/div\u003e"},"status":"active","category":[{"coding":[{"system":"http://loinc.org","code":"59284-0"}]}],"subject":{"reference":"Patient/xcda"},"date":"2016-06-23","grantor":[{"reference":"RelatedPerson/peter"}],"controller":[{"reference":"Organization/f001"}],"regulatoryBasis":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"INFA"}]}],"decision":"permit","provision":[{"period":{"start":"2016-06-23T17:02:33+10:00","end":"2016-06-23T17:32:33+10:00"},"provision":[{"action":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentaction","code":"access"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentaction","code":"correct"}]}],"resourceType":[{"system":"http://hl7.org/fhir/resource-types","code":"MedicationRequest"}]}]}],"meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActReason","code":"HTEST","display":"test health data"}]}}