PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@0.2.2-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement
description: This profile sets minimum expectations for a MedicationStatement resource to record, search, and fetch summary statements of medication use associated with a patient. It is based on the [AU Base Medication Statement](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationstatement.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the MedicationStatement when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCoreMedicationStatement
type: MedicationStatement
elements:
  category: {mustSupport: true, index: 3}
  dosage:
    constraint:
      au-core-mst-03: {human: 'If present, the dosage shall at least have text or patient instructions', source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement', severity: error, expression: text.exists() or patientInstruction.exists()}
    mustSupport: true
    index: 23
  medication[x]:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            pbs:
              match: {system: null}
              schema: {mustSupport: true, index: 10}
            amt:
              match: {system: null}
              schema: {mustSupport: true, index: 11}
  reasonCode: {mustSupport: true, index: 21}
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 8}
  statusReason: {mustSupport: true, index: 2}
  note: {mustSupport: true, index: 22}
  status: {mustSupport: true, index: 1}
  effective:
    mustSupport: true
    choices: []
    index: 18
  context:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter']
    index: 16
  dateAsserted: {mustSupport: true, index: 19}
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-careplan', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-servicerequest']
    index: 0
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication']
    index: 14
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication']
            index: 14
  informationSource:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson']
    index: 20
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 15
  medication:
    choices: [medicationReference]
    index: 13
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 13
package_version: 0.2.2-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement
base: http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement
version: 0.2.2-preview