0.1.0 - ci-build International flag

JohnMoehrkeTestConsent, published by John Moehrke (himself). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/testConsent/ and changes regularly. See the Directory of published versions

: Consent example with two provisions deep - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-consent-2"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://johnmoehrke.github.io/testconsent/StructureDefinition/PrivacyConsent"^^xsd:anyURI ;
fhir:link <http://johnmoehrke.github.io/testconsent/StructureDefinition/PrivacyConsent>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ex-consent-2</b></p><a name=\"ex-consent-2\"> </a><a name=\"hcex-consent-2\"> </a><a name=\"ex-consent-2-en-US\"> </a><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope patient-privacy}\">Privacy Consent</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 64292-6}\">Release of information consent</span>, <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode IDSCL}\">information disclosure</span></p><p><b>patient</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>dateTime</b>: 2022-06-13</p><p><b>performer</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>organization</b>: <a href=\"Organization-ex-organization.html\">Organization somewhere org</a></p><p><b>source</b>: <a href=\"DocumentReference-ex-documentreference.html\">DocumentReference: status = current; type = Release of information consent; description = The captured signed document</a></p><h3>Policies</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Uri</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://example.org/policies/representative.xacml\">http://example.org/policies/representative.xacml</a></td></tr></table><blockquote><p><b>provision</b></p><p><b>type</b>: Opt In</p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>DataPeriod</b></td></tr><tr><td style=\"display: none\">*</td><td>Opt Out</td><td>2022-01 --&gt; 2022-12</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:scope [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patient-privacy" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:64292-6 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "64292-6" ] ;
fhir:display [ fhir:v "Release of information consent" ]     ] )
  ] [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "IDSCL" ]     ] )
  ] ) ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2022-06-13"^^xsd:date] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ) ; # 
  fhir:organization ( [
fhir:reference [ fhir:v "Organization/ex-organization" ]
  ] ) ; # 
  fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "DocumentReference/ex-documentreference" ]
  ] ; # 
  fhir:policy ( [
fhir:uri [ fhir:v "http://example.org/policies/representative.xacml"^^xsd:anyURI ]
  ] ) ; # 
  fhir:provision [
fhir:type [ fhir:v "permit" ] ;
    ( fhir:provision [
fhir:type [ fhir:v "deny" ] ;
fhir:dataPeriod [
fhir:start [ fhir:v "2022-01"^^xsd:gYearMonth ] ;
fhir:end [ fhir:v "2022-12"^^xsd:gYearMonth ]       ]     ] )
  ] . #