PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.2.0-ti-ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-alcoholuse-ca-ps
description: This profile represents the constraints applied to the Observation resource by the PS-CA project to represent Alcohol use assessment in a patient summary. It allows for cross-border and cross-jurisdiction sharing of Social History Information.
package_name: ca.infoway.io.psca
derivation: constraint
name: ObservationAlcoholUsePSCA
type: Observation
elements:
  status: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 74013-4, system: 'http://loinc.org'}
    index: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 2
    elements:
      reference: {mustSupport: true, index: 3}
    required: [reference]
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 5
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 6}
  value:
    mustSupport: true
    choices: []
    index: 8
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 10
          min: 0
          max: 1
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 11
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 11}
          min: 0
          max: 1
  component: {index: 12}
package_version: 2.2.0-ti-ballot
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-alcoholuse-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.2.0
required: [effectiveDateTime, value, subject, effective]