PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract@1.0.0
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwObservationTobaccoUseCurrentStatus
description: null
package_name: telus.dw.emr.extract
derivation: constraint
name: DwObservationTobaccoUseCurrentStatus
type: Observation
elements:
  category:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value: {text: social-history}
    index: 8
  referenceRange: {index: 39}
  value[x]:
    elements:
      coding:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            SNOMEDCTCoding:
              match: {}
              schema:
                mustSupport: true
                index: 23
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct/20621000087109'}
                    mustSupport: true
                    index: 24
                  code: {mustSupport: true, index: 25}
                  display: {mustSupport: true, index: 26}
                  userSelected: {mustSupport: true, index: 27}
            LOINCCoding:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/current-smoking-status-uv-ips'}
                mustSupport: true
                index: 28
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 29
                  version:
                    pattern: {type: String, value: 1.1.0}
                    mustSupport: true
                    index: 30
                  code: {index: 31}
                  display: {mustSupport: true, index: 32}
                  userSelected: {mustSupport: true, index: 33}
      text: {mustSupport: true, index: 34}
  meta:
    index: 1
    elements:
      id: {index: 2}
      lastUpdated: {index: 3}
      source: {mustSupport: true, index: 4}
    required: [lastUpdated, id]
  derivedFrom: {index: 40}
  encounter: {mustSupport: true, index: 15}
  specimen: {index: 37}
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 20
  note: {mustSupport: true, index: 35}
  status: {mustSupport: true, index: 7}
  effective:
    mustSupport: true
    choices: []
    index: 17
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 9
    elements:
      coding:
        mustSupport: true
        index: 10
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            mustSupport: true
            index: 11
          code:
            pattern: {type: Code, value: 72166-2}
            mustSupport: true
            index: 12
      text: {mustSupport: true, index: 13}
  identifier: {mustSupport: true, index: 6}
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 21}
  bodySite: {index: 36}
  issued: {mustSupport: true, index: 18}
  device: {index: 38}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient']
    index: 14
  text: {mustSupport: true, index: 5}
package_version: 1.0.0
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwObservationTobaccoUseCurrentStatus
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [id, subject, effective]