PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-emed@0.2.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card
description: Definition of the medication statement for the Medication Card document
package_name: ch.fhir.ig.ch-emed
derivation: constraint
name: CHEMEDMedicationStatementCard
type: MedicationStatement
elements:
  dosage:
    short: How the medication should be taken
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        nonstructured:
          match: {}
          schema: {type: Dosage, short: Free text dosage instructions, _required: true, index: 20}
          min: 1
          max: 1
        structured:
          match: {}
          schema: {type: Dosage, short: Structured dosage instructions, index: 21}
  reasonCode:
    short: Treatment reason
    index: 16
    elements:
      text: {index: 17}
  note: {short: Annotation, index: 18}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        treatmentPlan:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication treatment plan, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', index: 2}
          min: 0
          max: 1
        authorDocument:
          match: {url: null}
          schema: {type: Extension, short: Author of the original document if different from the information source, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-documentauthor', index: 3}
          min: 0
          max: 1
  contained: {short: Medication inline resource, index: 0}
  status:
    pattern: {type: Code, value: completed}
    index: 7
  identifier:
    short: Medication treatment plan item ID
    index: 4
    elements:
      system: {index: 5}
      value: {index: 6}
  medicationReference:
    type: Reference
    short: Reference to the contained medication
    refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication-medicationstatement']
    index: 8
  informationSource:
    type: Reference
    short: The author of the medical decision
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 11
    extensions:
      authorTime: {url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', min: 0, max: 1, type: Extension, short: Timestamp of the authorship/data input, index: 13}
      authorOrganization: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization', min: 0, max: 1, type: Extension, short: The author's organization, index: 14}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            authorTime:
              match: {url: null}
              schema: {type: Extension, short: Timestamp of the authorship/data input, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', index: 13}
              min: 0
              max: 1
            authorOrganization:
              match: {url: null}
              schema: {type: Extension, short: The author's organization, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization', index: 14}
              min: 0
              max: 1
      reference: {index: 15}
    required: [reference]
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
package_version: 0.2.0
extensions:
  treatmentPlan: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', min: 0, max: 1, type: Extension, short: Reference to the medication treatment plan, index: 2}
  authorDocument: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-documentauthor', min: 0, max: 1, type: Extension, short: Author of the original document if different from the information source, index: 3}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 0.2.0
required: [dosage, contained]