@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://fhir.kisimdocs.ch/ig/KisimConsent/Consent/OperationsConsent-vers2> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "OperationsConsent-vers2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.kisimdocs.ch/ig/KisimConsent/StructureDefinition/KisimOperationsConsent"^^xsd:anyURI ;
       fhir:link <http://fhir.kisimdocs.ch/ig/KisimConsent/StructureDefinition/KisimOperationsConsent>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent OperationsConsent-vers2</b></p><a name=\"OperationsConsent-vers2\"> </a><a name=\"hcOperationsConsent-vers2\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-KisimOperationsConsent.html\">KISIM Surgery Consent</a></p></div><p><b>Consent Transcriber</b>: <a href=\"Practitioner-kisim-practitioner-DocBrown.html\">Practitioner Emmett Brown </a></p><p><b>status</b>: Inactive</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope treatment}\">Treatment</span></p><p><b>subject</b>: <a href=\"Patient-T4564.html\">Mia Harper  Female, DoB: 1997-03-13</a></p><p><b>date</b>: 2025-03-17</p><p><b>period</b>: 2025-03-17 --&gt; (ongoing)</p><p><b>grantor</b>: Identifier: <code>urn:oid:2.16.756.5.30.1.163.1.2.1.1</code>/T4564</p><p><b>grantee</b>: DemoHospital (Identifier: <code>urn:oid:2.16.756.5.35</code>/CHE109322551)</p><p><b>manager</b>: KISIM (Identifier: <code>urn:oid:2.16.756.5.30.1.163.1.1</code>/KISIM)</p><p><b>controller</b>: DemoHospital (Identifier: <code>urn:oid:2.16.756.5.35</code>/CHE109322551)</p><h3>SourceAttachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://example.com\">https://example.com</a></td></tr></table><p><b>decision</b>: Deny</p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org 61358-8}\">Surgical operation consent Document</span></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/consent-Transcriber"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://fhir.kisimdocs.ch/ig/KisimConsent/Practitioner/kisim-practitioner-DocBrown> ;
       fhir:reference [ fhir:v "Practitioner/kisim-practitioner-DocBrown" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "inactive"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "treatment" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:link <http://fhir.kisimdocs.ch/ig/KisimConsent/Patient/T4564> ;
     fhir:reference [ fhir:v "Patient/T4564" ]
  ] ; # 
  fhir:date [ fhir:v "2025-03-17"^^xsd:date] ; # 
  fhir:period [
     fhir:start [ fhir:v "2025-03-17"^^xsd:date ]
  ] ; # 
  fhir:grantor ( [
     fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.163.1.2.1.1"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "T4564" ]
     ]
  ] ) ; # 
  fhir:grantee ( [
     fhir:type [ fhir:v "Organization"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:system [ fhir:v "urn:oid:2.16.756.5.35"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "CHE109322551" ]
     ] ;
     fhir:display [ fhir:v "DemoHospital" ]
  ] ) ; # 
  fhir:manager ( [
     fhir:type [ fhir:v "HealthcareService"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.163.1.1"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "KISIM" ]
     ] ;
     fhir:display [ fhir:v "KISIM" ]
  ] ) ; # 
  fhir:controller ( [
     fhir:type [ fhir:v "Organization"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:system [ fhir:v "urn:oid:2.16.756.5.35"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "CHE109322551" ]
     ] ;
     fhir:display [ fhir:v "DemoHospital" ]
  ] ) ; # 
  fhir:sourceAttachment ( [
     fhir:url [ fhir:v "https://example.com"^^xsd:anyURI ]
  ] ) ; # 
  fhir:decision [ fhir:v "deny"] ; # 
  fhir:provision ( [
     fhir:code ( [
       fhir:coding ( [
         a loinc:61358-8 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "61358-8" ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

