PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.1.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 Base MedicationStatement](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationstatement.html) profile, and applies the constraints of [AU Core MedicationStatement](https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-medicationstatement.html) and [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:
    mustSupport: true
    index: 19
    elements:
      text: {mustSupport: true, index: 20}
      timing: {mustSupport: true, index: 21}
  medication[x]:
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            pbs:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://terminology.hl7.org.au/ValueSet/pbs-item'}
                mustSupport: true
                index: 7
            amt:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1'}
                mustSupport: true
                index: 8
  reasonCode: {mustSupport: true, index: 17}
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 5
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 5}
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: []
    index: 15
  dateAsserted: {mustSupport: true, index: 16}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication']
    index: 11
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication']
            index: 11
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  medication:
    choices: [medicationReference]
    index: 10
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 10
  reasonReference:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-diagnosticreport', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition', 'http://hl7.org/fhir/StructureDefinition/Observation']
    index: 18
package_version: 0.1.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationstatement
base: http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
version: 0.1.0-preview
required: [effective]