FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Consent-example-pkb.ttl

Example Consent/consent-example-pkb (Turtle)

Maturity Level : N/A
Responsible Owner: Community Based Collaborative Care Work Group Ballot Standards Status : Informative Compartments : Group , Patient

Raw Turtle , JSON-LD (+ also see Turtle/RDF Format Specification )

Example of Patients Know Best Usage

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Consent/consent-example-pkb> a fhir:Consent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "consent-example-pkb"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>\n        This example demonstrates how to encode this screen shot in a consent resource:\n      </p>\n      <p>\n       <img src=\"pkb.png\" alt=\"Screenshot from Patient Knows Best\"/>\n      </p>\n      <p>\n        Thanks to <a href=\"https://www.patientsknowbest.com/\">Patients Know Best</a> for contributing this example\n      </p>\n    </div>"
  ];
  fhir:Consent.status [ fhir:value "active"];
  fhir:Consent.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "...example patient..." ]
  ];
  fhir:Consent.dateTime [ fhir:value "2016-06-16"^^xsd:date];
  fhir:Consent.organization [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Organization/pkb>;
     fhir:Reference.reference [ fhir:value "Organization/pkb" ];
     fhir:Reference.display [ fhir:value "Patients Know Best" ]
  ];
  fhir:Consent.policyRule [ fhir:value "http://hl7.org/fhir/ConsentPolicy/opt-out"];
  fhir:Consent.except [
     fhir:index 0;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]
         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-nmt>;
         fhir:Reference.reference [ fhir:value "Organization/ich-nmt" ];
         fhir:Reference.display [ fhir:value "Non-migrated Team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ], [
     fhir:index 1;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]
         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-nmt>;
         fhir:Reference.reference [ fhir:value "Organization/ich-nmt" ];
         fhir:Reference.display [ fhir:value "Non-migrated Team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "PSY" ]
     ]
  ], [
     fhir:index 2;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]
         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-nmt>;
         fhir:Reference.reference [ fhir:value "Organization/ich-nmt" ];
         fhir:Reference.display [ fhir:value "Non-migrated Team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "SOC" ]
     ]
  ], [
     fhir:index 3;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

<http://hl7.org/fhir/Consent/consent-example-pkb> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "consent-example-pkb"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>This example demonstrates how to encode this screen shot in a consent resource:</p>\n      <p>\n        <img src=\"pkb.png\" alt=\"Screenshot from Patient Knows Best\"/>\n      </p>\n      <p>Thanks to <a href=\"https://www.patientsknowbest.com/\">Patients Know Best</a> for contributing this example</p>\n      <p>Example uses SecurityLabels to define data types</p>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:59284-0 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "59284-0" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter James Chalmers" ]
  ] ; # 
  fhir:date [ fhir:v "2018-12-28"^^xsd:date] ; # 
  fhir:controller ( [
     fhir:l <http://hl7.org/fhir/Organization/f001> ;
     fhir:reference [ fhir:v "Organization/f001" ]
  ] ) ; # 
  fhir:regulatoryBasis ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "INFA" ]
     ] )
  ] ) ; #   nothing is approved unless the patient says it is  
  fhir:decision [ fhir:v "deny"] ; # 
  fhir:provision ( [
     fhir:actor ( [
       fhir:role [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "PRCP" ]
         ] )
       ] ; #   as a receiver of data  
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Organization/f001> ;
         fhir:reference [ fhir:v "Organization/f001" ]
       ] #   the non-migrated team  
     ] ) ; #   we permit  
     fhir:action ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
         ] ;
         fhir:code [ fhir:v "access" ]
       ] )
     ] ) ; #   to read  
     fhir:securityLabel ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
       ] ;
       fhir:code [ fhir:v "N" ]
     ] ) ; #   any data with confidentiality N  
     fhir:provision ( [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ; #   as a receiver of data  
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]
         ] #   the non-migrated team  
       ] ) ; #   we permit  
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ; #   to read  
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "PSY" ]
       ] ) #   any data with tag PSY (see security labels)  
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ; #   as a receiver of data  
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]
         ] #   the non-migrated team  
       ] ) ; #   we permit  
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ; #   to read  
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SPI" ]
       ] ) #   any data with and tag SPI (see security labels). SPI is nearest?  
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-core>;
         fhir:Reference.reference [ fhir:value "Organization/ich-core" ];
         fhir:Reference.display [ fhir:value "Core Information Exchange team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ], [
     fhir:index 4;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
         ] ;
         fhir:code [ fhir:v "N" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-core>;
         fhir:Reference.reference [ fhir:value "Organization/ich-core" ];
         fhir:Reference.display [ fhir:value "Core Information Exchange team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "PSY" ]
     ]
  ], [
     fhir:index 5;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "PSY" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-core>;
         fhir:Reference.reference [ fhir:value "Organization/ich-core" ];
         fhir:Reference.display [ fhir:value "Core Information Exchange team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "SOC" ]
     ]
  ], [
     fhir:index 6;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SPI" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-core>;
         fhir:Reference.reference [ fhir:value "Organization/ich-core" ];
         fhir:Reference.display [ fhir:value "Core Information Exchange team - Imperial College Healthcare" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "SEX" ]
     ]
  ], [
     fhir:index 7;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SEX" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/tsd-park>;
         fhir:Reference.reference [ fhir:value "Organization/tsd-park" ];
         fhir:Reference.display [ fhir:value "Torbay and Source Devon Trust - Parkinson's Team" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ], [
     fhir:index 8;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
         ] ;
         fhir:code [ fhir:v "N" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/tsd-park>;
         fhir:Reference.reference [ fhir:value "Organization/tsd-park" ];
         fhir:Reference.display [ fhir:value "Torbay and Source Devon Trust - Parkinson's Team" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "PSY" ]
     ]
  ], [
     fhir:index 9;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "PSY" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/tsd-park>;
         fhir:Reference.reference [ fhir:value "Organization/tsd-park" ];
         fhir:Reference.display [ fhir:value "Torbay and Source Devon Trust - Parkinson's Team" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "SOC" ]
     ]
  ], [
     fhir:index 10;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SPI" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/tsd-park>;
         fhir:Reference.reference [ fhir:value "Organization/tsd-park" ];
         fhir:Reference.display [ fhir:value "Torbay and Source Devon Trust - Parkinson's Team" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
       fhir:Coding.code [ fhir:value "SEX" ]
     ]
  ], [
     fhir:index 11;
     fhir:Consent.except.type [ fhir:value "permit" ];
     fhir:Consent.except.actor [
       fhir:index 0;
       fhir:Consent.except.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SEX" ]
       ] )
     ] [
       fhir:actor ( [
         fhir:role [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
             ] ;
             fhir:code [ fhir:v "PRCP" ]
           ] )
         ] ;
         fhir:reference [
           fhir:l <http://hl7.org/fhir/Organization/f001> ;
           fhir:reference [ fhir:v "Organization/f001" ]

         ]
       ];
       fhir:Consent.except.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/ich-non>;
         fhir:Reference.reference [ fhir:value "Organization/ich-non" ];
         fhir:Reference.display [ fhir:value "Imperial Collage Healthcare - Neuro-oncology" ]
       ]
     ];
     fhir:Consent.except.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.except.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ] .

       ] ) ;
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] ) ;
       fhir:securityLabel ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality>
         ] ;
         fhir:code [ fhir:v "N" ]
       ] )
     ] )
  ] ) . # 


<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Organization/pkb> a fhir:Organization .

<http://hl7.org/fhir/Organization/ich-nmt> a fhir:Organization .

<http://hl7.org/fhir/Organization/ich-core> a fhir:Organization .

<http://hl7.org/fhir/Organization/tsd-park> a fhir:Organization .

<http://hl7.org/fhir/Organization/ich-non> a fhir:Organization .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Consent/consent-example-pkb.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/Consent/consent-example-pkb.ttl> .

<http://hl7.org/fhir/Organization/f001> a fhir:Organization .


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.