description: Operation to retrieve the history of the medication plan, returning only version, lastUpdated, and author. package_name: de.gematik.epa.medication derivation: constraint name: EPAOpHistoryMedicationPlanOutParameters type: Parameters elements: parameter: index: 0 slicing: rules: closed discriminator: - {path: name, type: pattern} min: 1 slices: history: match: {name: history} schema: mustSupport: true array: true index: 1 elements: name: mustSupport: true pattern: {type: String, value: history} index: 2 value: choices: [] index: 4 resource: {index: 5} part: mustSupport: true index: 6 slicing: rules: closed discriminator: - {path: name, type: pattern} min: 1 slices: planVersion: match: {name: planVersion} schema: type: BackboneElement mustSupport: true index: 7 elements: name: mustSupport: true pattern: {type: String, value: planVersion} index: 8 value: mustSupport: true choices: [valueId] index: 10 valueId: {type: id, mustSupport: true, choiceOf: value, index: 11} resource: {index: 12} required: [value, valueId] lastUpdated: match: {name: lastUpdated} schema: type: BackboneElement mustSupport: true index: 13 elements: name: mustSupport: true pattern: {type: String, value: lastUpdated} index: 14 value: mustSupport: true choices: [valueDateTime] index: 16 valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 17} resource: {index: 18} required: [valueDateTime, value] required: [part] operationOutcome: match: {name: operationOutcome} schema: index: 19 elements: name: mustSupport: true pattern: {type: String, value: operationOutcome} index: 20 value: choices: [] index: 22 resource: {type: OperationOutcome, index: 23} required: [resource] package_version: 1.1.0-rc1 class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-history-medicationplan-out-parameters base: http://hl7.org/fhir/StructureDefinition/Parameters version: 1.1.0-rc1 required: [parameter]