Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample consent structures for all scenarios for testing. #3

Open
wants to merge 1 commit into
base: consent-test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions Consent/0098765
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType" : "Consent",
"id" : "consent-example-CDA",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"consent-example-CDA\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Consent &quot;consent-example-CDA&quot; </p></div><p><b>identifier</b>: <span title=\" The patient opts in to sharing CDA documents from a specific author to a specific recipient for a limited period \">id:\u00a0494e0c7a-a69e-4fb4-9d02-6aae747790d7</span></p><p><b>status</b>: active</p><p><b>category</b>: Notice of Privacy Practices <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-consentcategorycodes.html\">Consent Category Codes</a>#npp)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>date</b>: 2018-12-28</p><p><b>grantee</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>controller</b>: <span title=\" this consent relates to sharing data with a specific recipient \"><a href=\"organization-example-f001-burgers.html\">Organization/f001</a> &quot;Burgers University Medical Center&quot;</span></p><p><b>sourceReference</b>: <a href=\"pcd-example-notAuthor.html\">Contract/pcd-example-notAuthor</a></p><p><b>regulatoryBasis</b>: information access <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#INFA)</span></p><p><b>decision</b>: <span title=\" A base denial of access to Dr. F001 but allows for sharing CDA documents of type Discharge Summary + Summarization of Episode Note from a specific author for a limited period \">permit</span></p><blockquote><p><b>provision</b></p><p><b>period</b>: 2018-10-10 --&gt; 2019-10-10</p><h3>Actors</h3><table class=\"grid\"><tr><td>-</td><td><b>Role</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>primary information recipient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PRCP)</span></td><td><a href=\"practitioner-example-f001-evdb.html\">Practitioner/f001</a> &quot;Eric VAN DEN BROEK&quot;</td></tr></table><blockquote><p><b>provision</b></p><blockquote><p><b>actor</b></p></blockquote><p><b>documentType</b>: <span title=\" CDA documents \">application/hl7-cda+xml (Details: urn:ietf:bcp:13 code application/hl7-cda+xml = 'application/hl7-cda+xml', stated as 'null')</span></p><p><b>code</b>: <span title=\" code rules \">Summary of episode note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#34133-9)</span></span>, Discharge summary <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#18842-5)</span></p></blockquote></blockquote></div>"
},
"identifier" : [{
"system" : "urn:oid:2.16.840.1.113883.3.72.5.9.1",
"value" : "494e0c7a-a69e-4fb4-9d02-6aae747790d7"
}],
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
"code" : "npp"
}]
}],
"subject" : {
"reference" : "Patient/pat2"
},
"date" : "2018-12-28",
"grantee" : [{
"reference" : "Patient/pat2"
}],
"controller" : [{
"reference" : "Organization/f001"
}],
"sourceReference" : [{
"reference" : "Contract/pcd-example-notAuthor"
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "permit",
"provision" : [{
"period" : {
"start" : "2018-10-10",
"end" : "2019-10-10"
},
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "PRCP"
}]
},
"reference" : {
"reference" : "Practitioner/f001"
}
}],
"provision" : [{
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "AUT"
}]
},
"reference" : {
"reference" : "Practitioner/xcda-author"
}
}],
"documentType" : [{
"system" : "urn:ietf:bcp:13",
"code" : "application/hl7-cda+xml"
}],
"code" : [{
"coding" : [{
"system" : "http://loinc.org",
"code" : "34133-9"
}]
},
{
"coding" : [{
"system" : "http://loinc.org",
"code" : "18842-5"
}]
}]
}]
}]
}
71 changes: 71 additions & 0 deletions Consent/0987654
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"resourceType" : "Consent",
"id" : "consent-example-grantor",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Consent given to authorized representative</p>\n <p>This is a case where a Patient is giving a limited (read-only) access to an individual.</p>\n <p>Patient &quot;Roel&quot; wishes to provide Dr. Simone Heps with read-only access to the data at Blijdorp Medisch Centrum available for patient requested access use.</p>\n </div>"
},
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFAO"
}]
}],
"subject" : {
"reference" : "Patient/f201",
"display" : "Roel"
},
"date" : "2018-12-24",
"grantor" : [{
"reference" : "Patient/pat1"
}],
"grantee" : [{
"reference" : "Practitioner/f007",
"display" : "Simone Heps"
}],
"controller" : [{
"reference" : "Organization/f203"
}],
"sourceAttachment" : [{
"title" : "The terms of the consent in lawyer speak."
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFAO"
}]
}],
"decision" : "deny",
"provision" : [{
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "CST"
}]
},
"reference" : {
"reference" : "Organization/f203"
}
},
{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "PRCP"
}]
},
"reference" : {
"reference" : "Practitioner/f007",
"display" : "Simone Heps"
}
}],
"action" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/consentaction",
"code" : "access"
}]
}]
}]
}
46 changes: 46 additions & 0 deletions Consent/1234567
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"resourceType" : "Consent",
"id" : "consent-example-Out",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>The following scenario is based on existing jurisdictional policy and are realized in existing systems in Canada. \n\t The default policy is one of implied consent for the provision of care, so these scenarios all deal with withdrawal or withholding consent for that purpose. \n Withhold Authorization of sharing data for Treatment\n </p>\n <p>\n Patient &quot;P. van de Heuvel&quot; wishes to have no data at the Burgers University Medical Center available for normal treatment use.\n </p>\n </div>"
},
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://loinc.org",
"code" : "59284-0"
}]
}],
"subject" : {
"reference" : "Patient/f001",
"display" : "P. van de Heuvel"
},
"date" : "2018-12-28",
"controller" : [{
"reference" : "Organization/f001"
}],
"sourceAttachment" : [{
"title" : "The terms of the consent in lawyer speak."
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "permit",
"provision" : [{
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "CST"
}]
},
"reference" : {
"reference" : "Organization/f001"
}
}]
}]
}
63 changes: 63 additions & 0 deletions Consent/123457
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"resourceType" : "Consent",
"id" : "consent-example-Emergency",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Withhold Authorization for Treatment rule for except for Emergency Treatment</p>\n <p>Patient &quot;Pieter van de Heuvel&quot; wishes to have no data at the Artis University Medical Center available except for Emergency treatment use. \n An overall Deny consent directive, with an exception &quot;Permit&quot; for purposeOfUse &quot;ETREAT&quot; at Artis University Medical Center.</p>\n </div>"
},
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"subject" : {
"reference" : "Patient/f001",
"display" : "Pieter van de Heuvel"
},
"date" : "2018-12-24",
"controller" : [{
"reference" : "Organization/f201"
}],
"sourceAttachment" : [{
"title" : "The patient [grantor] declines to agree to the provider's [grantee's] consent directive form, which lists permissible collection, access, use, or disclosure activities, purposes of use, handling caveats, revocation policies, and consequences of not assenting."
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "deny",
"provision" : [{
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "CST"
}]
},
"reference" : {
"reference" : "Organization/f201"
}
}],
"provision" : [{
"actor" : [{
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "CST"
}]
},
"reference" : {
"reference" : "Organization/f201"
}
}],
"purpose" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "ETREAT"
}]
}]
}]
}
41 changes: 41 additions & 0 deletions Consent/234567
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"resourceType" : "Consent",
"id" : "consent-example-notThis",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>The following scenario is based on existing jurisdictional policy and are realized in existing systems in Canada. \n\t The default policy is one of implied consent for the provision of care, so these scenarios all deal with withdrawal or withholding consent for that purpose. \n\t Withhold or withdraw consent for disclosure of a specific record (e.g. Lab Order/Result) \n </p>\n <p>\n Patient &quot;Donal D DUCK&quot;'s Primary Care Provider, Dr. Philip Primary, has ordered a set of lab test which Adam \n wishes to keep as private as possible. At the sample collection facility, he indicates that he would \n like withhold consent to disclose the order and all results associated with that specific order from \n all other providers \n </p>\n </div>"
},
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://loinc.org",
"code" : "59284-0"
}]
}],
"subject" : {
"reference" : "Patient/f001",
"display" : "P. van de Heuvel"
},
"date" : "2018-12-28",
"controller" : [{
"reference" : "Organization/f001"
}],
"sourceAttachment" : [{
"title" : "The terms of the consent in lawyer speak."
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "permit",
"provision" : [{
"data" : [{
"meaning" : "related",
"reference" : {
"reference" : "MedicationRequest/medrx0305"
}
}]
}]
}
39 changes: 39 additions & 0 deletions Consent/345678
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"resourceType" : "Consent",
"id" : "consent-example-notTime",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>The following scenario is based on existing jurisdictional policy and are realized in existing systems in Canada. \n\t The default policy is one of implied consent for the provision of care, so these scenarios all deal with withdrawal or withholding consent for that purpose. \n Withhold or withdraw consent for disclosure of records related published during a timeframe</p>\n <p>Patient &quot;P. van de Heuvel&quot; wishes to withhold disclosure of all data from a timeframe to any provider.</p>\n </div>"
},
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://loinc.org",
"code" : "59284-0"
}]
}],
"subject" : {
"reference" : "Patient/f001",
"display" : "P. van de Heuvel"
},
"date" : "2018-12-28",
"controller" : [{
"reference" : "Organization/f001"
}],
"sourceAttachment" : [{
"title" : "The terms of the consent in lawyer speak."
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "permit",
"provision" : [{
"period" : {
"start" : "2015-01-01",
"end" : "2015-02-01"
}
}]
}
Loading