@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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.au/fhir/core/Observation/smokingstatus-current-smoker> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "smokingstatus-current-smoker"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation smokingstatus-current-smoker</b></p><a name=\"smokingstatus-current-smoker\"> </a><a name=\"hcsmokingstatus-current-smoker\"> </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-au-core-smokingstatus.html\">AU Core Smoking Status</a></p></div><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 1747861000168109}, {http://loinc.org 72166-2}\">Smoking status</span></p><p><b>subject</b>: <a href=\"Patient-wang-li.html\">Li Wang  Male, DoB: 1975-05-03 ( Medical Record Number: 22421441)</a></p><p><b>effective</b>: 2016-07-02</p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 77176002}, {http://loinc.org LA18979-7}\">Smoker</span></p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "social-history" ] ;
       fhir:Coding.display [ fhir:value "Social History" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Social History" ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:1747861000168109 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1747861000168109" ]
     ], [
       fhir:index 1 ;
       a loinc:72166-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "72166-2" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Smoking status" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org.au/fhir/core/Patient/wang-li> ;
     fhir:Reference.reference [ fhir:value "Patient/wang-li" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2016-07-02"^^xsd:date] ;
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:77176002 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "77176002" ] ;
       fhir:Coding.display [ fhir:value "Current smoker" ]
     ], [
       fhir:index 1 ;
       a loinc:LA18979-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "LA18979-7" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Smoker" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org.au/fhir/core/Observation/smokingstatus-current-smoker.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

