PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-5.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
description: Definition of the medication statement for the medication treatment plan document (and as basis medication statement)
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDMedicationStatement
type: MedicationStatement
elements:
  dosage:
    short: How the medication should be taken
    index: 15
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        baseEntry:
          match: {}
          schema: {type: Dosage, short: Base entry of the dosage instruction, _required: true, index: 16}
          min: 1
          max: 1
        additionalEntry:
          match: {}
          schema: {type: Dosage, short: Additional entry of the dosage instruction, array: true, index: 17}
          min: 0
  reasonCode: {short: Treatment reason, index: 14}
  contained: {index: 0}
  identifier:
    short: MedicationStatement Identifier
    index: 1
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        index: 2
      value: {short: Identifier value as UUID, index: 3}
    required: [value, system]
  dateAsserted: {index: 11}
  medicationReference:
    short: Reference to the contained medication
    refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication']
    type: Reference
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Reference to the contained medication
            refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication']
            type: Reference
            choiceOf: medication
            index: 8
          min: 0
          max: 1
  informationSource:
    type: Reference
    short: The author of the medical decision, see also 'Guidance - Authorship'
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 12
    elements:
      reference: {index: 13}
    required: [reference]
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
  medication:
    choices: []
    index: 5
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: Reference to the contained medication
            choices: [medicationReference]
            index: 7
          min: 0
          max: 1
package_version: emed-5.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationstatement
version: 5.0.0
required: [informationSource, dosage, identifier, dateAsserted, contained]