Scalable Consent Management
1.0.0-preview - STU 1 PReview 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 1.0.0-preview 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

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Parameters/FileConsentDocRefExample> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "FileConsentDocRefExample"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:Parameters.parameter [
     fhir:index -1 ;
     fhir:Parameters.parameter.name [ fhir:value "consent" ] ;
     fhir:Parameters.parameter.resource [
       a fhir:Consent ;
       fhir:Resource.id [ fhir:value "ConsentExample" ] ;
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent" ;
           fhir:index -1 ;
           fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent>
         ]
       ] ;
       fhir:Resource.language [ fhir:value "en" ] ;
       fhir:DomainResource.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.manager" ] ;
         fhir:Extension.valueReference [
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
             fhir:Identifier.value [ fhir:value "1234567893" ]
           ]
         ]
       ] ;
       fhir:Consent.identifier [
         fhir:index -1 ;
         fhir:Identifier.system [ fhir:value "http://example.org/consent" ] ;
         fhir:Identifier.value [ fhir:value "33445522" ]
       ] ;
       fhir:Consent.status [ fhir:value "active" ] ;
       fhir:Consent.scope [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ] ;
           fhir:Coding.code [ fhir:value "patient-privacy" ]
         ]
       ] ;
       fhir:Consent.category [
         fhir:index -1 ;
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
           fhir:Coding.code [ fhir:value "INFA" ]
         ]
       ] ;
       fhir:Consent.patient [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://example.org/mrn" ] ;
           fhir:Identifier.value [ fhir:value "M1230041" ]
         ]
       ] ;
       fhir:Consent.dateTime [ fhir:value "2024-01-01"^^xsd:date ] ;
       fhir:Consent.performer [
         fhir:index -1 ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://example.org/mrn" ] ;
           fhir:Identifier.value [ fhir:value "M1230041" ]
         ]
       ] ;
       fhir:Consent.sourceReference [
         fhir:link <http://hl7.org/fhir/QuestionnaireResponse/QuestionnaireResponseExample> ;
         fhir:Reference.reference [ fhir:value "QuestionnaireResponse/QuestionnaireResponseExample" ]
       ] ;
       fhir:Consent.policy [
         fhir:index -1 ;
         fhir:Consent.policy.uri [ fhir:value "hipaa-auth" ]
       ] ;
       fhir:Consent.provision [
         fhir:Consent.provision.type [ fhir:value "permit" ] ;
         fhir:Consent.provision.period [
           fhir:Period.start [ fhir:value "2024-01-01"^^xsd:date ]
         ] ;
         fhir:Consent.provision.actor [
           fhir:index -1 ;
           fhir:Consent.provision.actor.role [
             fhir:CodeableConcept.coding [
               fhir:index -1 ;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ] ;
               fhir:Coding.code [ fhir:value "IRCP" ]
             ]
           ] ;
           fhir:Consent.provision.actor.reference [
             fhir:Reference.identifier [
               fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
               fhir:Identifier.value [ fhir:value "1234567893" ]
             ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Parameters.parameter.name [ fhir:value "document" ] ;
     fhir:Parameters.parameter.resource [
       a fhir:DocumentReference ;
       fhir:Resource.id [ fhir:value "DocumentReferenceExample" ] ;
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference" ;
           fhir:index -1 ;
           fhir:link <http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference>
         ]
       ] ;
       fhir:Resource.language [ fhir:value "en" ] ;
       fhir:DocumentReference.identifier [
         fhir:index -1 ;
         fhir:Identifier.system [ fhir:value "http://example.org" ] ;
         fhir:Identifier.value [ fhir:value "1234567" ]
       ] ;
       fhir:DocumentReference.status [ fhir:value "current" ] ;
       fhir:DocumentReference.type [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           a loinc:64292-6 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "64292-6" ]
         ]
       ] ;
       fhir:DocumentReference.category [
         fhir:index -1 ;
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           a loinc:57016-8 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "57016-8" ]
         ]
       ] ;
       fhir:DocumentReference.subject [
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://example.org/mrn" ] ;
           fhir:Identifier.value [ fhir:value "M1230041" ]
         ]
       ] ;
       fhir:DocumentReference.date [ fhir:value "2024-01-01T15:30:00Z"^^xsd:dateTime ] ;
       fhir:DocumentReference.author [
         fhir:index -1 ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
           fhir:Identifier.value [ fhir:value "1234567893" ]
         ]
       ] ;
       fhir:DocumentReference.content [
         fhir:index -1 ;
         fhir:DocumentReference.content.attachment [
           fhir:Attachment.contentType [ fhir:value "application/pdf" ] ;
           fhir:Attachment.url [ fhir:value "http://example.org/consentexample" ]
         ]
       ]
     ]
  ] .

<http://hl7.org/fhir/QuestionnaireResponse/QuestionnaireResponseExample> a fhir:QuestionnaireResponse .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Parameters/FileConsentDocRefExample.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Parameters/FileConsentDocRefExample.ttl> .