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

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

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

 a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "enc-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: Encounter enc-example</b></p><a name=\"enc-example\"> </a><a name=\"hcenc-example\"> </a><a name=\"enc-example-en-US\"> </a><p><b>Encounter: Legal Status</b>: <span title=\"Codes:{http://snomed.info/sct 135848002}\">Voluntary admission</span></p><p><b>status</b>: Completed</p><p><b>class</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span></p><p><b>subject</b>: Nice Patient</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.eu/fhir/StructureDefinition/encounter-legalStatus"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:135848002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "135848002" ] ;
fhir:display [ fhir:v "Voluntary admission" ]       ] )     ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:class ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "IMP" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:display [ fhir:v "Nice Patient" ]
  ] . #