{
  "resourceType": "Observation",
  "id": "observation-smoking-pack-years-jenny-m",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"observation-smoking-pack-years-jenny-m\" </p></div><p><b>status</b>: final</p><p><b>category</b>: Social History <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#social-history)</span></p><p><b>code</b>: Cigarette pack-years (observable entity) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#401201003)</span></p><p><b>subject</b>: <a href=\"Patient-cancer-patient-jenny-m.html\">Patient/cancer-patient-jenny-m</a> \" M\"</p><p><b>effective</b>: 2018-03-16</p><p><b>value</b>: 20 Pack-Years<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {PackYears} = '{PackYears}')</span></p></div>"
  },
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "social-history",
          "display": "Social History"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "401201003",
        "display": "Cigarette pack-years (observable entity)"
      }
    ]
  },
  "subject": {
    "reference": "Patient/cancer-patient-jenny-m"
  },
  "effectiveDateTime": "2018-03-16",
  "valueQuantity": {
    "value": 20,
    "unit": "Pack-Years",
    "system": "http://unitsofmeasure.org",
    "code": "{PackYears}"
  }
}