Health eData 1 Sandbox
0.1.0 - CI Build United States of America flag

Health eData 1 Sandbox, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/argonautproject/USCDIV7/ and changes regularly. See the Directory of published versions

: Encounter From Appointment Example - 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 "encounter-from-appointment"] ; # 
  fhir:meta [
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/instance-name>       ] ;
fhir:value [
a fhir:String ;
fhir:v "Encounter From Appointment Example"       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/instance-description>       ] ;
fhir:value [
a fhir:Markdown ;
fhir:v "This is an encounter example for the *US Core Encounter Profile* that records the visit resulting from a scheduled appointment, referenced via `Encounter.appointment`."       ]     ] ) ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter encounter-from-appointment</b></p><a name=\"encounter-from-appointment\"> </a><a name=\"hcencounter-from-appointment\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/2026Jan/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a></p></div><p><b>identifier</b>: <code>http://example.org/encounter/identifiers</code>/enc-from-appt-001</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-AMB\">v3 Code System ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title=\"Codes:{http://www.ama-assn.org/go/cpt 99213}, {http://snomed.info/sct 185349003}\">Office Visit</span></p><p><b>subject</b>: <a href=\"http://hl7.org/fhir/us/core/2026Jan/Patient-example.html\">Amy V. Baxter</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://hl7.org/fhir/us/core/2026Jan/Practitioner-practitioner-1.html\">Dr Ronald Bone</a></td></tr></table><p><b>appointment</b>: <a href=\"Appointment-appt-resulted-encounter.html\">Appointment: status = fulfilled; serviceType = Encounter for check up; start = 2026-03-12 16:00:00+0000; end = 2026-03-12 16:30:00+0000</a></p><p><b>period</b>: 2026-03-12 16:00:00+0000 --&gt; 2026-03-12 16:30:00+0000</p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://hl7.org/fhir/us/core/2026Jan/Location-hospital.html\">Holy Family Hospital</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
fhir:system [
fhir:v "http://example.org/encounter/identifiers"^^xsd:anyURI ;
fhir:l <http://example.org/encounter/identifiers>     ] ;
fhir:value [ fhir:v "enc-from-appt-001" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>     ] ;
fhir:code [ fhir:v "AMB" ] ;
fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ;
fhir:l <http://www.ama-assn.org/go/cpt>       ] ;
fhir:code [ fhir:v "99213" ]     ] [
a sct:185349003 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>       ] ;
fhir:code [ fhir:v "185349003" ] ;
fhir:display [ fhir:v "Encounter for check up" ]     ] ) ;
fhir:text [ fhir:v "Office Visit" ]
  ] ) ; # 
  fhir:subject [
fhir:l fhir:Patient/example ;
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy V. Baxter" ]
  ] ; # 
  fhir:participant ( [
fhir:individual [
fhir:l fhir:Practitioner/practitioner-1 ;
fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
fhir:display [ fhir:v "Dr Ronald Bone" ]     ]
  ] ) ; # 
  fhir:appointment ( [
fhir:l fhir:Appointment/appt-resulted-encounter ;
fhir:reference [ fhir:v "Appointment/appt-resulted-encounter" ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2026-03-12T16:00:00Z"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2026-03-12T16:30:00Z"^^xsd:dateTime ]
  ] ; # 
  fhir:location ( [
fhir:location [
fhir:l fhir:Location/hospital ;
fhir:reference [ fhir:v "Location/hospital" ] ;
fhir:display [ fhir:v "Holy Family Hospital" ]     ]
  ] ) . #