PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@1.0.0-projectathon-pre
    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 is informed by the constraints of the [Observation-AlcoholUse IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Observation-alcoholuse-uv-ips.html) to allow for cross-border and cross-jurisdiction sharing of Social History Information. No equivilant Canadian Baseline Profile exists at the time of this draft.
package_name: ca.infoway.io.psca
derivation: constraint
name: ObservationAlcoholUsePSCA
type: Observation
elements:
  valueQuantity: {type: Quantity, mustSupport: true, index: 11}
  value:
    mustSupport: true
    choices: []
    index: 10
  component: {index: 12}
  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: 8}
    elements:
      extension:
        index: 7
        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: 8}
              max: 1
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 6}
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 5
  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]
package_version: 1.0.0-projectathon-pre
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: 1.0.0
required: [effectiveDateTime, value, subject, code, effective]