PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-2.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
description: Definition of the basic medication statement
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDMedicationStatement
type: MedicationStatement
elements:
  contained: {short: Medication inline resource, 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]
  status:
    pattern: {type: Code, value: completed}
    index: 4
  medicationReference:
    type: Reference
    short: Reference to the contained medication
    refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication']
    index: 5
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    index: 6
    elements:
      reference: {index: 7}
    required: [reference]
  reasonCode:
    short: Treatment reason
    index: 8
    elements:
      text: {index: 9}
  note: {short: Annotation, index: 10}
  dosage:
    short: How the medication should be taken
    index: 11
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        nonstructured:
          match: {}
          schema: {type: Dosage, short: Free text dosage instructions, index: 12}
          min: 0
          max: 1
        structurednormal:
          match: {}
          schema: {type: Dosage, short: Structured Normal Dosing, index: 13}
          min: 0
          max: 1
        structuredsplit:
          match: {}
          schema: {type: Dosage, short: Structured Split Dosing, array: true, index: 14}
          min: 0
package_version: emed-2.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 2.0.0
required: [dosage, identifier, contained]