US Core Implementation Guide
10.0.0-ballot - STU 10 Ballot United States of America flag

US Core Implementation Guide, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 10.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/US-Core/ and changes regularly. See the Directory of published versions

: Encounter 1 Example - TTL Representation

Page standards status: Informative

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

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

<http://hl7.org/fhir/Encounter/example-1> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-1"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2024-01-28T16:06:21-08:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|10.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|10.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter example-1</b></p><a name=\"example-1\"> </a><a name=\"hcexample-1\"> </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: 2024-01-28 16:06:21-0800</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a> version: 10.0.0-ballot</p></div><p><b>US Core Interpreter Needed Extension</b>: <a href=\"http://snomed.info/id/373066001\">SNOMED CT: 373066001</a> (Yes) (version = http://snomed.info/sct/731000124108 )</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title=\"Codes:{http://www.ama-assn.org/go/cpt 99211}\">Office Visit</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy V. Baxter  (no stated gender), DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>period</b>: 2015-11-01 17:00:14-0500 --&gt; 2015-11-01 18:00:14-0500</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=\"Location-hospital.html\">Holy Family Hospital</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-interpreter-needed" ] ;
     fhir:Extension.valueCoding [
       a sct:373066001 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.version [ fhir:value "http://snomed.info/sct/731000124108" ] ;
       fhir:Coding.code [ fhir:value "373066001" ]
     ]
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "AMB" ] ;
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ] ;
  fhir:Encounter.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ] ;
       fhir:Coding.code [ fhir:value "99211" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Office Visit" ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2015-11-01T17:00:14-05:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2015-11-01T18:00:14-05:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.location [
     fhir:index 0 ;
     fhir:Encounter.location.location [
       fhir:link <http://hl7.org/fhir/Location/hospital> ;
       fhir:Reference.reference [ fhir:value "Location/hospital" ] ;
       fhir:Reference.display [ fhir:value "Holy Family Hospital" ]
     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Location/hospital> a fhir:Location .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Encounter/example-1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Encounter/example-1.ttl> .