QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide - Downloaded Version 7.0.2 See the Directory of published versions

## : Encounter 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:Encounter ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-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 example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </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=\"StructureDefinition-qicore-encounter.html\">QICore Encounter</a></p></div><p><b>status</b>: In Progress</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>type</b>: <span title=\"Codes:{http://www.ama-assn.org/go/cpt 99223}\">Initial hospital inpatient or observation care, per day, for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and high level of medical decision making. When using total time on the date of the encounter for code selection, 75 minutes must be met or exceeded.</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Condition</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-appendicitis-example.html\">Condition Appendicitis (disorder)</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:status [ fhir:v "in-progress"] ; #
      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 "IMP" ] ;
    fhir:display [ fhir:v "inpatient encounter" ]
      ] ; #
      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 "99223" ] ;
    fhir:display [ fhir:v "Initial hospital inpatient or observation care, per day, for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and high level of medical decision making. When using total time on the date of the encounter for code selection, 75 minutes must be met or exceeded." ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] ; #
      fhir:diagnosis ( [
    fhir:condition [
    fhir:l fhir:Condition/appendicitis-example ;
    fhir:reference [ fhir:v "Condition/appendicitis-example" ]     ]
      ] ) . #