PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.eps@1.0.0-ballot
    http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps
description: This profile constrains the MedicationStatement resource in the scope of the European Patient Summary.
package_name: hl7.fhir.eu.eps
derivation: constraint
name: MedicationStatementEuEps
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      slices:
        adherence:
          match: {}
          schema:
            index: 0
            extensions:
              code: {url: null, short: Type of adherence, index: 1}
            elements:
              extension:
                short: Type of adherence
                index: 1
                slicing:
                  slices:
                    code:
                      match: {}
                      schema: {short: Type of adherence, index: 1}
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 3
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 4}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core']
    index: 5
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/eps/StructureDefinition/patient-eu-eps']
    index: 6
    elements:
      reference: {index: 7}
    required: [reference]
  effective:
    choices: []
    index: 9
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 11
          min: 0
          max: 1
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 12
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 12}
          min: 0
          max: 1
  dosage:
    index: 13
    elements:
      text: {index: 14}
      timing: {index: 15}
      route: {short: Route of administration, index: 16}
package_version: 1.0.0-ballot
extensions:
  adherence:
    url: null
    index: 0
    extensions:
      code: {url: null, short: Type of adherence, index: 1}
    elements:
      extension:
        short: Type of adherence
        index: 1
        slicing:
          slices:
            code:
              match: {}
              schema: {short: Type of adherence, index: 1}
class: profile
kind: resource
url: http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps
base: http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core
version: 1.0.0-ballot
required: [effective]