PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@0.3.2
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-tobaccouse-ca-ps
description: This profile represents the constraints applied to the Observation resource by the PS-CA project to represent Tobacco use assessment in a patient summary. It is informed by the constraints of the [Observation-TobaccoUse IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Observation-tobaccouse-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-smokingstatus.html) to allow for cross-border and cross-jurisdiction sharing of Social History Information.
package_name: ca.infoway.io.psca
derivation: constraint
name: ObservationTobaccoUsePSCA
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://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    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:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', max: 1, short: 'effective[x] absence reason', type: Extension, mustSupport: true, index: 7}
    elements:
      extension:
        index: 6
        slicing:
          rules: open
          description: Extensions are always sliced by (at least) url
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema: {short: 'effective[x] absence reason', type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 7}
              max: 1
  valueCodeableConcept:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/current-smoking-status-uv-ips'}
    mustSupport: true
    index: 8
  component: {index: 9}
package_version: 0.3.2
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-tobaccouse-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.3.0
required: [effectiveDateTime, subject, code, effective]