HL7 Europe Extensions
0.1.1-ballot - ballot 150

This page is part of the HL7 Europe Extensions (v0.1.1-ballot: Release Ballot) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Consent: example with extensions - 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "consent-example"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent consent-example</b></p><a name=\"consent-example\"> </a><a name=\"hcconsent-example\"> </a><a name=\"consent-example-en-US\"> </a><p><b>Consent: Related Condition</b>: <a href=\"#hcconsent-example/condition-example\">Condition Chronic kidney disease stage 1</a></p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Consent Document</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition #condition-example</b></p><a name=\"consent-example/condition-example\"> </a><a name=\"hcconsent-example/condition-example\"> </a><a name=\"consent-example/condition-example-en-US\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 431855005}\">Chronic kidney disease stage 1</span></p><p><b>subject</b>: Nice Patient</p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
a fhir:Condition ;
fhir:id [ fhir:v "condition-example" ] ;
fhir:clinicalStatus [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ]       ] )     ] ;
fhir:code [
      ( fhir:coding [
a sct:431855005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "431855005" ] ;
fhir:display [ fhir:v "Chronic kidney disease stage 1" ]       ] )     ] ;
fhir:subject [
fhir:display [ fhir:v "Nice Patient" ]     ]
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#condition-example" ]     ]
  ] ) ; # 
  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 Document" ]     ] )
  ] ) . #