@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 -------------------------------------------------------------------

<https://fhir-ig.digital.health.nz/nzhts/Observation/smoking-status-example> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "smoking-status-example"] ; # 
  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 smoking-status-example</b></p><a name=\"smoking-status-example\"> </a><a name=\"hcsmoking-status-example\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:\">Smoking status</span></p><p><b>subject</b>: <a href=\"#hcsmoking-status-example/patient\">Anonymous Patient (no stated gender), DoB Unknown ( https://standards.digital.health.nz/ns/nhi-id#ZZZ0039 (use: official, ))</a></p><p><b>effective</b>: 2026-06-24</p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 77176002}\">Currently smoking</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #patient</b></p><a name=\"smoking-status-example/patient\"> </a><a name=\"hcsmoking-status-example/patient\"> </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: <code>http://hl7.org.nz/fhir/StructureDefinition/NzPatient</code></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown ( https://standards.digital.health.nz/ns/nhi-id#ZZZ0039 (use: official, ))</p><hr/></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
     a fhir:Patient ;
     fhir:id [ fhir:v "patient" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NzPatient"^^xsd:anyURI ;
         fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NzPatient>
       ] )
     ] ;
     fhir:identifier ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "ZZZ0039" ]
     ] )
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Smoking status" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "#patient" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2026-06-24"^^xsd:date
  ] ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:77176002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "http://snomed.info/sct/21000210109/version/20260401" ] ;
       fhir:code [ fhir:v "77176002" ] ;
       fhir:display [ fhir:v "Currently smoking" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

