Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: General Consent Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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 "Example1"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2009-03-16T11:55:12.640+05:30"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-profile"^^xsd:anyURI ;
fhir:link <https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-profile>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "Normal" ]     ] ) ;
    ( fhir:tag [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "New" ] ;
fhir:display [ fhir:v "New" ]     ] [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Pen" ] ;
fhir:display [ fhir:v "Pen" ]     ] [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NewPen" ] ;
fhir:display [ fhir:v "New Pen" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent Example1</b></p><a name=\"Example1\"> </a><a name=\"hcExample1\"> </a><a name=\"Example1-en-US\"> </a><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\">Last updated: 2009-03-16 11:55:12+0530</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-athena-consent-profile.html\">Athena Consent Profile</a></p><p style=\"margin-bottom: 0px\">Tags: New (Details: EditTags code New  = ' New ', stated as ' New '), Pen (Details: EditTags code Pen  = ' Pen ', stated as ' Pen '), New Pen (Details: EditTags code NewPen  = ' NewPen ', stated as ' New Pen ')</p><p style=\"margin-bottom: 0px\">Security Label: Normal (Details: Confidentiality code N  = ' normal ', stated as ' Normal ')</p></div><p><b>identifier</b>: Unspecified Identifier/1552819465100590</p><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope adr}\">Advanced Care Directive</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentcategorycodes acd}\">DONOR-CORNEA</span></p><p><b>patient</b>: <a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>dateTime</b>: 2009-03-16 10:44:14+0530</p><p><b>performer</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-extension-encounter"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Encounter/Example1" ]     ]
  ] [
fhir:url [ fhir:v "hhttps://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-extension-period"^^xsd:anyURI ] ;
fhir:value [
a fhir:Period ;
fhir:start [ fhir:v "2012-05-07T00:00:00+05:30"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2012-05-10T00:00:00+05:30"^^xsd:dateTime ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ] ;
fhir:display [ fhir:v "Unspecified Identifier" ]       ] ) ;
fhir:text [ fhir:v "Unspecified Identifier" ]     ] ;
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/AdvanceDirectiveId/1000-4-9390"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1552819465100590" ]
  ] ) ; # 
  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 "adr" ] ;
fhir:display [ fhir:v "Advanced Care Directive" ]     ] ) ;
fhir:text [ fhir:v "Advanced Care Directive" ]
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentcategorycodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "acd" ] ;
fhir:display [ fhir:v "Advance Directive" ]     ] ) ;
fhir:text [ fhir:v "DONOR-CORNEA" ]
  ] ) ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/Example1" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2009-03-16T10:44:14+05:30"^^xsd:dateTime] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Practitioner/Example1" ]
  ] ) . #