@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://hl7.org/fhir/us/consent-management-tg/Parameters/parameters-revokeconsent> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "parameters-revokeconsent"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/consent-management/StructureDefinition/RevokeConsentParameters"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/RevokeConsentParameters>
     ] )
  ] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "consent" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://hl7.org/fhir/us/consent-management-tg/Consent/ConsentExample> ;
       fhir:reference [ fhir:v "Consent/ConsentExample" ] ;
       fhir:identifier [
         fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "ec63290f-1f93-4ed3-b531-0d86e2791165" ]
       ]
     ]
  ] [
     fhir:name [ fhir:v "patient" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://hl7.org/fhir/us/consent-management-tg/Patient/patient-lara-miren> ;
       fhir:reference [ fhir:v "Patient/patient-lara-miren" ] ;
       fhir:identifier [
         fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "patient-lara-miren" ]
       ]
     ]
  ] [
     fhir:name [ fhir:v "document" ] ;
     fhir:Parameters.parameter.resource ( [
       a fhir:DocumentReference ;
       fhir:id [ fhir:v "docref-revokeconsent" ] ;
       fhir:meta [
         fhir:profile ( [
           fhir:v "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference>
         ] )
       ] ;
       fhir:identifier ( [
         fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "docref-revokeconsent" ]
       ] ) ;
       fhir:status [ fhir:v "current" ] ;
       fhir:type [
         fhir:coding ( [
           a loinc:64292-6 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "64292-6" ]
         ] )
       ] ;
       fhir:category ( [
         fhir:coding ( [
           a loinc:57016-8 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "57016-8" ]
         ] )
       ] ) ;
       fhir:subject [
         fhir:link <http://hl7.org/fhir/us/consent-management-tg/Patient/patient-lara-miren> ;
         fhir:reference [ fhir:v "Patient/patient-lara-miren" ] ;
         fhir:identifier [
           fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "patient-lara-miren" ]
         ]
       ] ;
       fhir:date [ fhir:v "2025-08-13T15:30:58.502-04:00"^^xsd:dateTime ] ;
       fhir:author ( [
         fhir:link <http://hl7.org/fhir/us/consent-management-tg/Patient/patient-lara-miren> ;
         fhir:reference [ fhir:v "Patient/patient-lara-miren" ] ;
         fhir:identifier [
           fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "patient-lara-miren" ]
         ]
       ] ) ;
       fhir:content ( [
         fhir:attachment [
           fhir:contentType [ fhir:v "text/plain; charset=utf-8" ] ;
           fhir:data [ fhir:v "SSwgTGFyYSBNaXJlbiwgcmV2b2tlIG15IGNvbnNlbnQgdG8gcGVybWl0IFJvYmVydCBNaXJlbiBhY2Nlc3MgdG8gbXkgbWVkaWNhbCByZWNvcmRzLg=="^^xsd:base64Binary ]
         ]
       ] )
     ] )
  ] ) . # 

<http://hl7.org/fhir/us/consent-management-tg/Consent/ConsentExample> a fhir:us .

<http://hl7.org/fhir/us/consent-management-tg/Patient/patient-lara-miren> a fhir:us .

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

