PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    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
    elements:
      reference: {mustSupport: true, index: 2}
    required: [reference]
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 4
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 5}
  effective[x]:
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 7}
    elements:
      extension:
        index: 6
        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: 7}
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 9
  valueCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: value
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/smoking-status'}
            index: 11
  component: {mustSupport: false, index: 12}
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/smoking-status
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.1
required: [effectiveDateTime, subject, effective]