PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.5.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationstatement
description: This profile sets minimum expectations for a MedicationStatement resource in the context of a patient summary in an Australian context. It is based on the [AU Core MedicationStatement](https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-medicationstatement.html) profile, and applies the additional requirements from [MedicationStatement (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips).
package_name: hl7.fhir.au.ps
derivation: constraint
name: AUPSMedicationStatement
type: MedicationStatement
elements:
  dosage:
    index: 20
    elements:
      text: {index: 21}
      timing: {mustSupport: true, index: 22}
  medication[x]:
    elements:
      coding:
        index: 6
        slicing:
          slices:
            pbs:
              match: {}
              schema: {index: 6}
            amt:
              match: {}
              schema: {index: 7}
  reasonCode: {type: CodeableConcept, index: 18}
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 5
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 5}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 15}
  status: {index: 0}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 14
  dateAsserted: {index: 17}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medication']
    index: 10
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medication']
            index: 10
  subject:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient']
    index: 11
    elements:
      reference: {mustSupport: true, index: 12}
    required: [reference]
  effectivePeriod: {type: Period, choiceOf: effective, index: 16}
  medication:
    choices: [medicationReference]
    index: 9
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 9
  reasonReference:
    type: Reference
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips']
    index: 19
package_version: 0.5.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationstatement
base: http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement
version: 0.5.0-preview
required: [effectiveDateTime, effectivePeriod, effective]