@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 -------------------------------------------------------------------

<https://rigoletto.na.icar.cnr.it/Consent/Consent-Patient-Rigoletto> a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Consent-Patient-Rigoletto"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://rigoletto.na.icar.cnr.it/StructureDefinition/consent-rigoletto"^^xsd:anyURI ;
       fhir:link <https://rigoletto.na.icar.cnr.it/StructureDefinition/consent-rigoletto>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent Consent-Patient-Rigoletto</b></p><a name=\"Consent-Patient-Rigoletto\"> </a><a name=\"hcConsent-Patient-Rigoletto\"> </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-consent-rigoletto.html\">Consent_Rigoletto</a></p></div><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope patient-privacy}\">Privacy Consent</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentcategorycodes hcd}\">Health Care Directive</span></p><p><b>patient</b>: <a href=\"Patient-Patient-Rigoletto-001.html\">Maria Rossi Female, DoB: 1989-11-07 ( http://hl7.it/sid/codiceFiscale#RSSMRA89S47H501Z (use: official, ))</a></p><p><b>dateTime</b>: 2025-12-22 10:00:00+0100</p><p><b>policyRule</b>: <span title=\"Codes:\">GDPR – Regolamento (UE) 2016/679</span></p><blockquote><p><b>provision</b></p><p><b>type</b>: Opt In</p><p><b>period</b>: 2024-10-22 --&gt; 2026-12-22</p><p><b>action</b>: <span title=\"Codes:\">read</span>, <span title=\"Codes:\">write</span></p></blockquote></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:code [ fhir:v "patient-privacy" ] ;
       fhir:display [ fhir:v "Privacy Consent" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentcategorycodes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "hcd" ] ;
       fhir:display [ fhir:v "Health Care Directive" ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:link <https://rigoletto.na.icar.cnr.it/Patient/Patient-Rigoletto-001> ;
     fhir:reference [ fhir:v "Patient/Patient-Rigoletto-001" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2025-12-22T10:00:00+01:00"^^xsd:dateTime] ; # 
  fhir:policyRule [
     fhir:text [ fhir:v "GDPR – Regolamento (UE) 2016/679" ]
  ] ; # 
  fhir:provision [
     fhir:type [ fhir:v "permit" ] ;
     fhir:period [
       fhir:start [ fhir:v "2024-10-22"^^xsd:date ] ;
       fhir:end [ fhir:v "2026-12-22"^^xsd:date ]
     ] ;
     fhir:action ( [
       fhir:coding ( [
         fhir:code [ fhir:v "read" ]
       ] )
     ] [
       fhir:coding ( [
         fhir:code [ fhir:v "write" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

