QI-Core Implementation Guide
7.0.2 - STU 7

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

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

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

     a fhir:Condition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Condition 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-condition-encounter-diagnosis.html\">QICore Condition Encounter Diagnosis</a></p></div><p><b>Condition Asserted Date</b>: 2015-10-31</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical resolved}\">Resolved</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}\">Confirmed</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 39065001}\">Burnt Ear</span></p><p><b>bodySite</b>: <span title=\"Codes:{http://snomed.info/sct 49521004}\">Left Ear</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><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter: status = in-progress; class = inpatient encounter (ActCode#IMP); type = 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.</a></p><p><b>onset</b>: 2015-10-31</p><p><b>abatement</b>: 2015-12-01</p><p><b>recordedDate</b>: 2015-11-01</p><h3>Stages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Summary</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 258219007}\">stage II</span></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/condition-assertedDate>     ] ;
    fhir:value [
    a fhir:DateTime ;
    fhir:v "2015-10-31"^^xsd:date     ]
      ] ) ; #
      fhir:clinicalStatus [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>       ] ;
    fhir:code [ fhir:v "resolved" ]     ] )
      ] ; #
      fhir:verificationStatus [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>       ] ;
    fhir:code [ fhir:v "confirmed" ]     ] )
      ] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-category>       ] ;
    fhir:code [ fhir:v "encounter-diagnosis" ] ;
    fhir:display [ fhir:v "Encounter Diagnosis" ]     ] )
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    a sct:39065001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "39065001" ] ;
    fhir:display [ fhir:v "Burn of ear" ]     ] ) ;
    fhir:text [ fhir:v "Burnt Ear" ]
      ] ; #
      fhir:bodySite ( [
        ( fhir:coding [
    a sct:49521004 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "49521004" ] ;
    fhir:display [ fhir:v "Left external ear structure" ]     ] ) ;
    fhir:text [ fhir:v "Left Ear" ]
      ] ) ; #
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] ; #
      fhir:encounter [
    fhir:l fhir:Encounter/example ;
    fhir:reference [ fhir:v "Encounter/example" ]
      ] ; #
      fhir:onset [
    a fhir:DateTime ;
    fhir:v "2015-10-31"^^xsd:date
      ] ; #
      fhir:abatement [
    a fhir:DateTime ;
    fhir:v "2015-12-01"^^xsd:date
      ] ; #
      fhir:recordedDate [ fhir:v "2015-11-01"^^xsd:date] ; #
      fhir:stage ( [
    fhir:summary [
          ( fhir:coding [
    a sct:258219007 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "258219007" ] ;
    fhir:display [ fhir:v "stage II" ]       ] )     ]
      ] ) . #