JohnMoehrke Consent with Segmented data
0.1.0-current - ci-build International flag

JohnMoehrke Consent with Segmented data, published by John Moehrke (himself). This guide is not an authorized publication; it is the continuous build for version 0.1.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/ConsentWithSegmentation/ and changes regularly. See the Directory of published versions

: Consent for treatment example - TTL Representation

Page standards status: Informative

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-consent-treat"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://johnmoehrke.github.io/ConsentWithSegmentation/StructureDefinition/johnmoehrke.consentwithsegmentation.consenttreat"^^xsd:anyURI ;
fhir:link <http://johnmoehrke.github.io/ConsentWithSegmentation/StructureDefinition/johnmoehrke.consentwithsegmentation.consenttreat>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"ex-consent-treat\"> </a></p><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\">Resource Consent &quot;ex-consent-treat&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-johnmoehrke.consentwithsegmentation.consenttreat.html\">Consent to allow use for treatment</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>status</b>: active</p><p><b>category</b>: Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>date</b>: 2022-06-13</p><p><b>grantor</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>grantee</b>: <a href=\"Organization-ex-organization.html\">Organization/ex-organization</a> &quot;somewhere org&quot;</p><p><b>sourceReference</b>: <a href=\"DocumentReference-ex-documentreference.html\">DocumentReference/ex-documentreference</a></p><h3>PolicyBases</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://example.org/policies/basePrivacyConsentPolicy.xacml\">http://example.org/policies/basePrivacyConsentPolicy.xacml</a></td></tr></table><p><b>decision</b>: permit</p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Purpose</b></td></tr><tr><td style=\"display: none\">*</td><td>treatment (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code TREAT = 'treatment', stated as 'null'), healthcare payment (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code HPAYMT = 'healthcare payment', stated as 'null'), healthcare operations (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code HOPERAT = 'healthcare operations', stated as 'null')</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:59284-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "59284-0" ] ;
fhir:display [ fhir:v "Consent" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:date [ fhir:v "2022-06-13"^^xsd:date] ; # 
  fhir:grantor ( [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ) ; # 
  fhir:grantee ( [
fhir:reference [ fhir:v "Organization/ex-organization" ]
  ] ) ; # 
  fhir:sourceReference ( [
fhir:reference [ fhir:v "DocumentReference/ex-documentreference" ]
  ] ) ; # 
  fhir:policyBasis [
fhir:url [ fhir:v "http://example.org/policies/basePrivacyConsentPolicy.xacml"^^xsd:anyURI ]
  ] ; # 
  fhir:decision [ fhir:v "permit"] ; # 
  fhir:provision ( [
    ( fhir:purpose [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TREAT" ]     ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HPAYMT" ]     ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HOPERAT" ]     ] )
  ] ) . #