Real Time Location Services Implementation Guide
1.0.0-ballot - CI Build International flag

Real Time Location Services Implementation Guide, published by HL7 International - Patient Administration Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/rtls-ig/ and changes regularly. See the Directory of published versions

: Enroll Tag Event 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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EnrollTagExample-MessageBundle"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsMessageBundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsMessageBundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "message"] ; # 
  fhir:timestamp [ fhir:v "2023-03-24T10:24:13.1882432-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/fhir/EnrollTagMessageHeaderExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/EnrollTagMessageHeaderExample> )
  ] [
fhir:fullUrl [ fhir:v "http://example.org/fhir/EnrollTagExample-Device"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/fhir/EnrollTagExample-Device> )
  ] ) . # 

<http://example.org/fhir/EnrollTagMessageHeaderExample> a fhir:MessageHeader ;
  fhir:id [ fhir:v "EnrollTagExample-MessageHeader"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsMessageHeader"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsMessageHeader>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"EnrollTagExample-MessageHeader\"> </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 MessageHeader &quot;EnrollTagExample-MessageHeader&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rtlsMessageHeader.html\">RTLS Message Header Resource Profile</a></p></div><p><b>event</b>: Enroll Tag (Details: http://hl7.org/fhir/uv/rtls/CodeSystem/rtlsMessageEvents code enroll-tag = 'Enroll Tag', stated as 'null')</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint[x]</b></td></tr><tr><td>*</td><td><a href=\"http://example.org/FHIR/R5/RTLS-Subscriber\">http://example.org/FHIR/R5/RTLS-Subscriber</a></td></tr></table><p><b>focus</b>: <a href=\"#Device_EnrollTagExample-Device\">See above (http://example.org/fhir/EnrollTagExample-Device)</a></p></div>"
  ] ; # 
  fhir:event [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org/fhir/uv/rtls/CodeSystem/rtlsMessageEvents"^^xsd:anyURI ] ;
fhir:code [ fhir:v "enroll-tag" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "http://example.org/FHIR/R5/RTLS-Subscriber"^^xsd:anyURI ]
  ] ; # 
  fhir:focus ( [
fhir:link <http://example.org/fhir/EnrollTagExample-Device> ;
fhir:reference [ fhir:v "http://example.org/fhir/EnrollTagExample-Device" ]
  ] ) . # 

<http://example.org/fhir/EnrollTagExample-Device> a fhir:Device ;
  fhir:id [ fhir:v "EnrollTagExample-Device"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsDevice"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsDevice>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Device</b><a name=\"EnrollTagExample-Device\"> </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 Device &quot;EnrollTagExample-Device&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rtlsDevice.html\">RTLS Tag Device Profile</a></p></div><p><b>identifier</b>: id: 12345678</p><p><b>status</b>: active</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://rtls.org/trackingtags/id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "12345678" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] . #