PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre4
    https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationStatementPSAB
description: This profile defines a set of constraints to the FHIR MedicationStatement resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA MedicationStatement profile and refines constraints that represent the minimum expectations for the MedicationStatement resource when used in the PS-AB Composition profile.
package_name: ca.ab.fhir.psab
derivation: constraint
name: MedicationStatementPSAB
type: MedicationStatement
elements:
  status:
    pattern: {type: Code, value: unknown}
    index: 0
  medication:
    choices: [medicationReference]
    index: 2
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 2
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationPSAB']
    index: 3
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationPSAB']
            index: 3
  subject:
    type: Reference
    refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB']
    index: 4
  effective:
    choices: []
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectiveDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [effectiveDateTime]
            index: 8
          min: 0
          max: 1
  effectiveDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 9
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: effective, index: 9}
          min: 0
          max: 1
  dosage:
    elements:
      text: {index: 10}
      route:
        elements:
          text: {index: 11}
      doseAndRate: {index: 12}
package_version: 0.3.0-pre4
class: profile
kind: resource
url: https://www.alberta.ca/fhir/psab/StructureDefinition/MedicationStatementPSAB
base: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-ca-ps
version: null