<Observation xmlns="http://hl7.org/fhir">
  <id value="ma-ma-schema-1-Observation-tobacco-use-5007" />
  <meta>
    <lastUpdated value="2023-12-18T23:07:47Z" />
    <source value="urn:telus:emr:ma:ma-schema-1" />
    <profile value="https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwObservationTobaccoUseCurrentStatus" />
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality" />
      <code value="N" />
      <display value="normal" />
    </security>
  </meta>
  <identifier>
    <use value="official" />
    <system value="urn:telus:emr:ma:ma-schema-1:Observation" />
    <value value="tobacco-5007" />
  </identifier>
  <status value="final" />
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/observation-category" />
      <code value="social-history" />
      <display value="Social History" />
    </coding>
    <text value="social-history" />
  </category>
  <code>
    <coding>
      <system value="http://loinc.org" />
      <code value="72166-2" />
      <display value="Tobacco smoking status" />
    </coding>
    <text value="Tobacco Use" />
  </code>
  <subject>
    <reference value="Patient/ma-ma-schema-1-Patient-12345" />
    <type value="Patient" />
    <display value="John Michael Smith" />
  </subject>
  <encounter>
    <reference value="Encounter/ma-ma-schema-1-Encounter-2001" />
    <type value="Encounter" />
  </encounter>
  <effectiveDateTime value="2023-12-18T10:20:00Z" />
  <performer>
    <reference value="Practitioner/ma-ma-schema-1-Practitioner-789" />
    <type value="Practitioner" />
    <display value="Dr. Sarah Johnson" />
  </performer>
  <valueCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="8517006" />
      <display value="Former smoker" />
    </coding>
    <text value="Former smoker" />
  </valueCodeableConcept>
  <note>
    <text value="Patient quit smoking 5 years ago. Previously smoked 1 pack per day for 10 years." />
  </note>
</Observation>