PackagesCanonicalsLogsProblems
    Packages
    de.gecco@1.0.5-rc.2
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/smoking-status
description: Tobacco use assessment
package_name: de.gecco
derivation: constraint
name: SmokingStatus
type: Observation
elements:
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 72166-2, system: 'http://loinc.org'}
    index: 0
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 1
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 3
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 4}
  effective[x]:
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 6}
    elements:
      extension:
        index: 5
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dataAbsentReason:
              match: {url: null}
              schema: {type: Extension, short: 'effective[x] absence reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 6}
  value:
    choices: [valueCodeableConcept]
    index: 11
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 11
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 12
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 12}
  component: {mustSupport: false, index: 13}
package_version: 1.0.5-rc.2
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/smoking-status
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.5
required: [effectiveDateTime, subject, effective]