PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.cbb@0.15.0-beta
    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: 13
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            short: SmokingStatus
            choices: [valueCodeableConcept]
            index: 15
  component:
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        typeOfSmokingOrTobacco:
          match:
            code:
              coding:
              - {code: '53661000146106', system: 'http://snomed.info/sct'}
          schema:
            index: 20
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '53661000146106', system: 'http://snomed.info/sct'}
                index: 21
              value:
                short: TypeOfSmokingOrTobacco
                choices: [valueCodeableConcept]
                index: 23
              valueCodeableConcept: {type: CodeableConcept, short: TypeOfSmokingOrTobacco, choiceOf: value, index: 24}
        amount:
          match:
            code:
              coding:
              - {code: '266918002', system: 'http://snomed.info/sct'}
          schema:
            index: 25
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '266918002', system: 'http://snomed.info/sct'}
                index: 26
              value:
                short: Amount
                pattern:
                  type: Quantity
                  value: {system: 'http://unitsofmeasure.org'}
                choices: [valueQuantity]
                index: 28
              valueQuantity:
                short: Amount
                type: Quantity
                pattern:
                  type: Quantity
                  value: {system: 'http://unitsofmeasure.org'}
                choiceOf: value
                index: 29
        packYears:
          match:
            code:
              coding:
              - {code: '401201003', system: 'http://snomed.info/sct'}
          schema:
            index: 30
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '401201003', system: 'http://snomed.info/sct'}
                index: 31
              value:
                short: PackYears
                choices: [valueInteger]
                index: 33
              valueInteger: {type: integer, short: PackYears, choiceOf: value, index: 34}
  note:
    index: 17
    elements:
      text: {short: Comment, index: 18}
  effective[x]:
    elements:
      start: {short: StartDate, index: 10}
      end: {short: StopDate, index: 11}
  extension:
    type: Extension
    isModifier: false
    url: https://fhir.healthdata.be/StructureDefinition/ext-SmokingStatus.FrequencyQualifier
    index: 0
    slicing:
      slices:
        frequency:
          match: {}
          schema:
            type: Extension
            isModifier: false
            url: https://fhir.healthdata.be/StructureDefinition/ext-SmokingStatus.FrequencyQualifier
            index: 0
            elements:
              value:
                choices: []
                index: 2
  effective:
    choices: []
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectivePeriod:
          match: {}
          schema:
            choices: [effectivePeriod]
            index: 8
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '365980008', system: 'http://snomed.info/sct'}
    index: 3
  valueCodeableConcept:
    short: SmokingStatus
    type: CodeableConcept
    choiceOf: value
    index: 16
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {short: SmokingStatus, type: CodeableConcept, choiceOf: value, index: 16}
  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: 4
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 9
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, choiceOf: effective, index: 9}
package_version: 0.15.0-beta
extensions:
  frequency:
    url: https://fhir.healthdata.be/StructureDefinition/ext-SmokingStatus.FrequencyQualifier
    type: Extension
    isModifier: false
    index: 0
    elements:
      value:
        choices: []
        index: 2
class: profile
kind: resource
url: https://fhir.healthdata.be/StructureDefinition/HdBe-SmokingStatus
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null