PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.cbb@0.4.0-alpha
    https://fhir.healthdata.be/StructureDefinition/HdBe-SmokingStatus
description: Tobacco is a product that comes from the leaves of the tobacco plant, which is smoked as a drug. Smokable forms of tobacco include rolling tobacco, cigarettes, cigars and pipe tobacco. This information model describes the information asked of the patient about their smoking behaviour and use of tobacco.
package_name: healthdata.be.r4.cbb
derivation: constraint
name: HdBeSmokingStatus
type: Observation
elements:
  value:
    choices: []
    index: 10
  component:
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        typeOfSmokingOrTobacco:
          match:
            code:
              coding:
              - {code: '53661000146106', system: 'http://snomed.info/sct'}
          schema:
            index: 15
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '53661000146106', system: 'http://snomed.info/sct'}
                index: 16
              value:
                short: TypeOfSmokingOrTobacco
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept: {type: CodeableConcept, short: TypeOfSmokingOrTobacco, choiceOf: value, index: 19}
        amount:
          match:
            code:
              coding:
              - {code: '266918002', system: 'http://snomed.info/sct'}
          schema:
            index: 20
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '266918002', system: 'http://snomed.info/sct'}
                index: 21
              value:
                short: Amount
                pattern:
                  type: Quantity
                  value: {system: 'http://unitsofmeasure.org'}
                choices: [valueQuantity]
                index: 23
              valueQuantity:
                short: Amount
                type: Quantity
                pattern:
                  type: Quantity
                  value: {system: 'http://unitsofmeasure.org'}
                choiceOf: value
                index: 24
        packYears:
          match:
            code:
              coding:
              - {code: '401201003', system: 'http://snomed.info/sct'}
          schema:
            index: 25
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '401201003', system: 'http://snomed.info/sct'}
                index: 26
              value:
                short: PackYears
                choices: [valueInteger]
                index: 28
              valueInteger: {type: integer, short: PackYears, choiceOf: value, index: 29}
  note:
    index: 12
    elements:
      text: {short: Comment, index: 13}
  effective[x]:
    elements:
      start: {short: StartDate, index: 7}
      end: {short: StopDate, index: 8}
  effective:
    choices: []
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            index: 5
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '365980008', system: 'http://snomed.info/sct'}
    index: 0
  valueCodeableConcept:
    short: SmokingStatus
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'https://fhir.healthdata.be/ValueSet/SmokingStatus'}
    index: 11
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            short: SmokingStatus
            type: CodeableConcept
            binding: {strength: extensible, valueSet: 'https://fhir.healthdata.be/ValueSet/SmokingStatus'}
            index: 11
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.healthdata.be/StructureDefinition/HdBe-Patient']
    index: 1
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 6
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, index: 6}
package_version: 0.4.0-alpha
class: profile
kind: resource
url: https://fhir.healthdata.be/StructureDefinition/HdBe-SmokingStatus
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null