US Core Implementation Guide
8.0.0-ballot - 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 8.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

: Cigarette Pack-Years 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 -------------------------------------------------------------------

 a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pack-years-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|8.0.0-ballot"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|8.0.0-ballot>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation pack-years-example</b></p><a name=\"pack-years-example\"> </a><a name=\"hcpack-years-example\"> </a><a name=\"pack-years-example-en-US\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social History</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 401201003}\">Cigarette pack-years</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw</a></p><p><b>effective</b>: 2016-03-18 05:27:04+0000</p><p><b>value</b>: 26 pack-years<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{pack-years} = '{pack-years}')</span></p></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "social-history" ] ;
fhir:display [ fhir:v "Social History" ]     ] ) ;
fhir:text [ fhir:v "Social History" ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:401201003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "401201003" ] ;
fhir:display [ fhir:v "Cigarette pack-years (observable entity)" ]     ] ) ;
fhir:text [ fhir:v "Cigarette pack-years" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy Shaw" ]
  ] ; # 
  fhir:effective [ fhir:v "2016-03-18T05:27:04Z"^^xsd:dateTime] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "26"^^xsd:decimal ] ;
fhir:unit [ fhir:v "pack-years" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "{pack-years}" ]
  ] . #