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

: FileConsentQuestionnaireExample - TTL Representation

Raw ttl | Download


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

 a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "FileConsentQuestionnaireExample"] ; # 
  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:QuestionnaireResponse ;
fhir:id [ fhir:v "QuestionnaireResponseExample" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse>         ] )       ] ;
fhir:questionnaire [
fhir:v "http://example.org/fhir/Questionnaire/Simple-Consent-Form"^^xsd:anyURI ;
fhir:link <http://example.org/fhir/Questionnaire/Simple-Consent-Form>       ] ;
fhir:status [ fhir:v "completed" ] ;
fhir:subject [
fhir:identifier [
fhir:system [ fhir:v "http://example.org/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "M1230041" ]         ]       ] ;
fhir:authored [ fhir:v "2024-01-01"^^xsd:date ] ;
fhir:author [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567893" ]         ]       ] ;
      ( fhir:item [
fhir:linkId [ fhir:v "1" ] ;
        ( fhir:answer [
fhir:value [
a fhir:boolean ;
fhir:v true           ]         ] )       ] )     ] )
  ] ) . #