Scalable Consent Management
0.1.0 - ci-build United States of America flag

Scalable Consent Management, published by HL7 International / Community Based Collaborative Care. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-consent-management/ and changes regularly. See the Directory of published versions

: FileConsentDocRefExample - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "FileConsentDocRefExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters>     ] )
  ] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "consent" ] ;
    ( fhir:Parameters.parameter.resource [
a fhir:Consent ;
fhir:id [ fhir:v "ConsentExample" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent>         ] )       ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.grantee"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567893" ]           ]         ]       ] ) ;
      ( fhir:identifier [
fhir:system [ fhir:v "http://example.org/consent"^^xsd:anyURI ] ;
fhir:value [ fhir:v "33445522" ]       ] ) ;
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:category [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "INFA" ]         ] )       ] ) ;
fhir:patient [
fhir:identifier [
fhir:system [ fhir:v "http://example.org/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "M1230041" ]         ]       ] ;
fhir:dateTime [ fhir:v "2024-01-01"^^xsd:date ] ;
      ( fhir:performer [
fhir:identifier [
fhir:system [ fhir:v "http://example.org/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "M1230041" ]         ]       ] ) ;
fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "QuestionnaireResponse/QuestionnaireResponseExample" ]       ] ;
fhir:policyRule [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentpolicycodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "hipaa-auth" ]         ] )       ] ;
fhir:provision [
fhir:type [ fhir:v "permit" ] ;
fhir:period [
fhir:start [ fhir:v "2024-01-01"^^xsd:date ]         ] ;
        ( fhir:actor [
fhir:role [
            ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "IRCP" ]             ] )           ] ;
fhir:reference [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567893" ]             ]           ]         ] )       ]     ] )
  ] [
fhir:name [ fhir:v "document" ] ;
    ( fhir:Parameters.parameter.resource [
a fhir:DocumentReference ;
fhir:id [ fhir:v "DocumentReferenceExample" ] ;
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"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567" ]       ] ) ;
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:identifier [
fhir:system [ fhir:v "http://example.org/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "M1230041" ]         ]       ] ;
fhir:date [ fhir:v "2024-01-01T15:30:00Z"^^xsd:dateTime ] ;
      ( fhir:author [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567893" ]         ]       ] ) ;
      ( fhir:content [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [ fhir:v "http://example.org/consentexample"^^xsd:anyURI ]         ]       ] )     ] )
  ] ) . #