@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://fhir.ch/ig/ch-core/Consent/PatientHasEpr> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PatientHasEpr"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent"^^xsd:anyURI ;
       fhir:l <http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent PatientHasEpr</b></p><a name=\"PatientHasEpr\"> </a><a name=\"hcPatientHasEpr\"> </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-ch-core-epr-consent.html\">CH Core EPR-Consent</a></p></div><h2>Participants</h2><table class=\"grid\"><tr><td><b>Role</b></td><td><b>Details</b></td></tr><tr><td title=\"Who the consent applies to\">Patient</td><td><a href=\"Patient-FranzMuster.html\">Franz Muster</a></td></tr><tr><td title=\"Who manages the consent through its lifecycle.\">Manager</td><td>Stammgemeinschaft XYZ</td></tr></table><p>This consent is made under the regulation <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentpolicycodes ch-epr}\">CH EPR Consent</span> and the policy .</p><p>The subject has given their consent.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:scope [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/consentscope>
       ] ;
       fhir:code [ fhir:v "patient-privacy" ] ;
       fhir:display [ fhir:v "Privacy Consent" ]
     ] )
  ] ; # 
  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 "IDSCL" ] ;
       fhir:display [ fhir:v "information disclosure" ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:l <http://fhir.ch/ig/ch-core/Patient/FranzMuster> ;
     fhir:reference [ fhir:v "Patient/FranzMuster" ] ;
     fhir:display [ fhir:v "Franz Muster" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2020-12-28"^^xsd:date] ; # 
  fhir:organization ( [
     fhir:display [ fhir:v "Stammgemeinschaft XYZ" ]
  ] ) ; # 
  fhir:policy ( [
     fhir:authority [
       fhir:v "https://www.admin.ch/opc/de/classified-compilation/20111795/index.html"^^xsd:anyURI ;
       fhir:l <https://www.admin.ch/opc/de/classified-compilation/20111795/index.html>
     ]
  ] ) ; # 
  fhir:policyRule [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/consentpolicycodes"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/consentpolicycodes>
       ] ;
       fhir:code [ fhir:v "ch-epr" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

