Release 4B Snapshot #1

This page is part of the FHIR Specification (v4.3.0-snapshot1: Release 4B Snapshot #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Consent-example-pkb.ttl

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of Patients Know Best Usage

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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 -------------------------------------------------------------------

<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.scope [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ];
       fhir:Coding.code [ fhir:value "patient-privacy" ]
     ]
  ];
  fhir:Consent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:59284-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "59284-0" ]
     ]
  ];
  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/f001>;
     fhir:Reference.reference [ fhir:value "Organization/f001" ]
  ];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "OPTOUT" ]
     ]
  ];
  fhir:Consent.provision [
     fhir:Consent.provision.actor [
       fhir:index 0;
       fhir:Consent.provision.actor.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
           fhir:Coding.code [ fhir:value "PRCP" ]
         ]
       ];
       fhir:Consent.provision.actor.reference [
         fhir:link <http://hl7.org/fhir/Organization/f001>;
         fhir:Reference.reference [ fhir:value "Organization/f001" ]
       ]
     ];
     fhir:Consent.provision.action [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
         fhir:Coding.code [ fhir:value "access" ]
       ]
     ];
     fhir:Consent.provision.securityLabel [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ];
     fhir:Consent.provision.provision [
       fhir:index 0;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "PSY" ]
       ]
     ], [
       fhir:index 1;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "SPI" ]
       ]
     ], [
       fhir:index 2;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
         fhir:Coding.code [ fhir:value "N" ]
       ]
     ], [
       fhir:index 3;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "PSY" ]
       ]
     ], [
       fhir:index 4;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "SPI" ]
       ]
     ], [
       fhir:index 5;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "SEX" ]
       ]
     ], [
       fhir:index 6;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
         fhir:Coding.code [ fhir:value "N" ]
       ]
     ], [
       fhir:index 7;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "PSY" ]
       ]
     ], [
       fhir:index 8;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "SPI" ]
       ]
     ], [
       fhir:index 9;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "SEX" ]
       ]
     ], [
       fhir:index 10;
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:link <http://hl7.org/fhir/Organization/f001>;
           fhir:Reference.reference [ fhir:value "Organization/f001" ]
         ]
       ];
       fhir:Consent.provision.action [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
           fhir:Coding.code [ fhir:value "access" ]
         ]
       ];
       fhir:Consent.provision.securityLabel [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
         fhir:Coding.code [ fhir:value "N" ]
       ]
     ]
  ] .

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

<http://hl7.org/fhir/Organization/f001> 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://build.fhir.org/Consent/consent-example-pkb.ttl> .

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


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.