PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.3.2
    http://nictiz.nl/fhir/StructureDefinition/zib-TobaccoUse
description: 'TobaccoUse as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1, release 2017.\r\n\r\nTobacco 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 use of tobacco.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib TobaccoUse
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            TobaccoUseCode:
              match: {code: '365980008'}
              schema:
                short: TobaccoUseCode
                index: 1
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 2
                  code:
                    pattern: {type: Code, value: '365980008'}
                    index: 3
                  display: {defaultValueString: Finding of tobacco use and exposure (finding), index: 4}
  context:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare', 'http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'http://nictiz.nl/fhir/StructureDefinition/gp-Encounter', 'http://nictiz.nl/fhir/StructureDefinition/zib-Encounter']
    index: 5
  effectivePeriod:
    type: Period
    index: 6
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema:
            type: Period
            index: 6
            elements:
              start: {short: StartDate, index: 7}
              end: {short: StopDate, index: 8}
  valueCodeableConcept:
    short: TobaccoUseStatus
    type: CodeableConcept
    index: 9
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {short: TobaccoUseStatus, type: CodeableConcept, _required: true, index: 9}
          min: 1
  comment: {short: Comment, index: 10}
  component:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.code, type: value}
      min: null
      slices:
        TypeOfTobaccoUsed:
          match:
            code:
              coding: {code: '53661000146106'}
          schema:
            index: 12
            elements:
              code:
                index: 13
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 14
                      code:
                        pattern: {type: Code, value: '53661000146106'}
                        index: 15
                      display: {defaultValueString: Type of tobacco used (observable entity), index: 16}
              valueCodeableConcept:
                short: TypeOfTobaccoUsed
                type: CodeableConcept
                index: 17
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {short: TypeOfTobaccoUsed, type: CodeableConcept, index: 17}
        Amount:
          match:
            code:
              coding: {code: '266918002'}
          schema:
            index: 18
            elements:
              code:
                index: 19
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 20
                      code:
                        pattern: {type: Code, value: '266918002'}
                        index: 21
                      display: {defaultValueString: Tobacco smoking consumption (observable entity), index: 22}
              valueQuantity:
                short: Amount
                type: Quantity
                index: 23
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {short: Amount, type: Quantity, index: 23}
        PackYears:
          match:
            code:
              coding: {code: '401201003'}
          schema:
            index: 24
            elements:
              code:
                index: 25
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 26
                      code:
                        pattern: {type: Code, value: '401201003'}
                        index: 27
                      display: {defaultValueString: Cigarette pack-years (observable entity), index: 28}
              valueQuantity:
                type: Quantity
                short: PackYears
                index: 29
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        type: Quantity
                        short: PackYears
                        index: 29
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                            index: 30
                          code:
                            pattern: {type: Code, value: '{PackYears}'}
                            index: 31
                        required: [system, code]
package_version: 1.3.2
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-TobaccoUse
base: http://fhir.nl/fhir/StructureDefinition/nl-core-observation
version: 2.1.1
required: [valueCodeableConcept]