PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/SmokingStatusMeaningfulUse
description: This template represents the current smoking status of the patient as specified in Meaningful Use (MU) Stage 2 requirements. Historic smoking status observations as well as details about the smoking habit (e.g., how many per day) would be represented in the Tobacco Use template.\n\nThis template represents a \"snapshot in time\" observation, simply reflecting what the patient's current smoking status is at the time of the observation. As a result, the effectiveTime is constrained to a time stamp, and will approximately correspond with the author/time. Details regarding the time period when the patient is/was smoking would be recorded in the Tobacco Use template.\n\nIf the patient's current smoking status is unknown, the value element must be populated with SNOMED CT code 266927001 to communicate \"Unknown if ever smoked\" from the Current Smoking Status Value Set.
package_name: hl7.cda.us.ccda
derivation: constraint
name: SmokingStatusMeaningfulUse
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    short: '(USCDI) Smoking Status: If the patient''s current smoking status is unknown, @code **SHALL** contain ''266927001'' (Unknown if ever smoked) from ValueSet Current Smoking Status (2.16.840.1.113883.11.20.9.38 STATIC 2014-09-01) (CONF:1098-31019).'
    index: 17
    elements:
      code:
        binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38'}
        index: 18
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', index: 19}
  id: {index: 6}
  code:
    index: 7
    elements:
      code:
        pattern: {type: Code, value: 72166-2}
        index: 8
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 9
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime:
    short: This template represents a "snapshot in time" observation, simply reflecting what the patient's current smoking status is at the time of the observation. As a result, the effectiveTime is constrained to just a time stamp, and will approximately correspond with the author/time.
    constraint:
      value-only: {human: Interval fields SHALL not be present, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/SmokingStatusMeaningfulUse', severity: error, expression: (low | high | width | center).empty()}
    index: 15
    elements:
      value: {short: value should be used instead of low/high, index: 16}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        smoking-status:
          match: {root: 2.16.840.1.113883.10.20.22.4.78, extension: '2024-05-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.78}
                index: 2
              extension:
                pattern: {type: String, value: '2024-05-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  statusCode:
    index: 12
    elements:
      nullFlavor: {index: 13}
      code:
        binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.6'}
        index: 14
    required: [code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 10
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/SmokingStatusMeaningfulUse', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 11
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/SmokingStatusMeaningfulUse
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 3.0.0
required: [id, effectiveTime, value, statusCode, templateId]