@prefix fhir: <http://hl7.org/fhir/> .
@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-No-Emergency> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "consent-example-No-Emergency"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Withhold Authorization for Treatment and for Emergency Treatment</p>\n      <p>Patient \"Donald D Duck\" wishes to have no data at the Burgers University Medical Center available and not allow Emergency treatment use.\n        An overall Deny consent Directive, with an \"Deny\" of purposeOfUse \"TREAT\" and \"Deny\" purposeOfUse \"ETREAT\". </p>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
     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" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/f002> ;
     fhir:reference [ fhir:v "Patient/f002" ] ;
     fhir:display [ fhir:v "Donald D Duck" ]
  ] ; # 
  fhir:date [ fhir:v "2018-12-28"^^xsd:date] ; # 
  fhir:sourceAttachment ( [
     fhir:url [
       fhir:v "https://example.org/wp-content/uploads/2017/06/cHIE_Patient_Participation_Form.pdf"^^xsd:anyURI ;
       fhir:l <https://example.org/wp-content/uploads/2017/06/cHIE_Patient_Participation_Form.pdf>
     ] ;
     fhir:title [ fhir:v "The Patient has expressed both deny Treatment and deny Emergency." ]
  ] ) ; # 
  fhir:decision [ fhir:v "permit"] ; # 
  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" ]
         ] )
       ] ;
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Organization/f201> ;
         fhir:reference [ fhir:v "Organization/f201" ]
       ]
     ] ) ;
     fhir:purpose ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/v3/ActReason"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/v3/ActReason>
       ] ;
       fhir:code [ fhir:v "TREAT" ]
     ] [
       fhir:system [
         fhir:v "http://hl7.org/fhir/v3/ActReason"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/v3/ActReason>
       ] ;
       fhir:code [ fhir:v "ETREAT" ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/Patient/f002> a fhir:Patient .

<http://hl7.org/fhir/Organization/f201> a fhir:Organization .

# -------------------------------------------------------------------------------------

