Operation Definition: Get Medication Plan History

NameDefinition
$medication-plan-historyhttps://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-history-OP

Anforderungen

Invocations

URL: [base]/$medication-plan-history

Return Values (Out)

NameCardinalityTypeDocumentation
history0..*
history.planVersion1..1id
history.lastUpdated1..1dateTime
history.author1..1Organization
operationOutcome1..1OperationOutcome

OperationDefinition
<OperationDefinition xmlns="http://hl7.org/fhir">
    <id value="get-medication-plan-history-OP" />
    <url value="https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-history-OP" />
    <version value="1.1.1" />
    <name value="Get Medication Plan History" />
    <title value="Get Medication Plan History" />
    <status value="active" />
    <kind value="operation" />
    <date value="2024-08-14" />
    <publisher value="gematik GmbH" />
    <description value="Get the history of the medication plan" />
    <code value="medication-plan-history" />
    <system value="true" />
    <type value="false" />
    <instance value="false" />
    <outputProfile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-history-medicationplan-out-parameters" />
    <parameter>
        <name value="history" />
        <use value="out" />
        <min value="0" />
        <max value="*" />
        <part>
            <name value="planVersion" />
            <use value="out" />
            <min value="1" />
            <max value="1" />
            <type value="id" />
        </part>
        <part>
            <name value="lastUpdated" />
            <use value="out" />
            <min value="1" />
            <max value="1" />
            <type value="dateTime" />
        </part>
        <part>
            <name value="author" />
            <use value="out" />
            <min value="1" />
            <max value="1" />
            <type value="Organization" />
        </part>
    </parameter>
    <parameter>
        <name value="operationOutcome" />
        <use value="out" />
        <min value="1" />
        <max value="1" />
        <type value="OperationOutcome" />
    </parameter>
</OperationDefinition>
{
    "resourceType": "OperationDefinition",
    "id": "get-medication-plan-history-OP",
    "url": "https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-history-OP",
    "title": "Get Medication Plan History",
    "description": "Get the history of the medication plan",
    "version": "1.1.1",
    "status": "active",
    "publisher": "gematik GmbH",
    "date": "2024-08-14",
    "kind": "operation",
    "name": "Get Medication Plan History",
    "code": "medication-plan-history",
    "system": true,
    "type": false,
    "instance": false,
    "outputProfile": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-history-medicationplan-out-parameters",
    "parameter":  [
        {
            "name": "history",
            "use": "out",
            "min": 0,
            "max": "*",
            "part":  [
                {
                    "name": "planVersion",
                    "type": "id",
                    "use": "out",
                    "min": 1,
                    "max": "1"
                },
                {
                    "name": "lastUpdated",
                    "type": "dateTime",
                    "use": "out",
                    "min": 1,
                    "max": "1"
                },
                {
                    "name": "author",
                    "type": "Organization",
                    "use": "out",
                    "min": 1,
                    "max": "1"
                }
            ]
        },
        {
            "name": "operationOutcome",
            "type": "OperationOutcome",
            "use": "out",
            "min": 1,
            "max": "1"
        }
    ]
}

Output-Parameterprofil

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
nameΣ1..1string
valueBase64Binarybase64Binary
valueBooleanboolean
valueCanonicalcanonical()
valueCodecode
valueDatedate
valueDateTimedateTime
valueDecimaldecimal
valueIdid
valueInstantinstant
valueIntegerinteger
valueMarkdownmarkdown
valueOidoid
valuePositiveIntpositiveInt
valueStringstring
valueTimetime
valueUnsignedIntunsignedInt
valueUriuri
valueUrlurl
valueUuiduuid
valueAddressAddress
valueAgeAge
valueAnnotationAnnotation
valueAttachmentAttachment
valueCodeableConceptCodeableConcept
valueCodingCoding
valueContactPointContactPoint
valueCountCount
valueDistanceDistance
valueDurationDuration
valueHumanNameHumanName
valueIdentifierIdentifier
valueMoneyMoney
valuePeriodPeriod
valueQuantityQuantity
valueRangeRange
valueRatioRatio
valueSampledDataSampledData
valueSignatureSignature
valueTimingTiming
valueContactDetailContactDetail
valueContributorContributor
valueDataRequirementDataRequirement
valueExpressionExpression
valueParameterDefinitionParameterDefinition
valueRelatedArtifactRelatedArtifact
valueTriggerDefinitionTriggerDefinition
valueUsageContextUsageContext
valueDosageDosage
valueMetaMeta
valueReferenceReference()
resourceΣ I0..1Resource
partΣ0..*see (parameter)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
nameS Σ1..1stringPattern
resourceΣ I0..0Resource
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
nameS Σ1..1stringPattern
valueIdid
resourceΣ I0..0Resource
partΣ0..0see (parameter)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
nameS Σ1..1stringPattern
valueDateTimedateTime
resourceΣ I0..0Resource
partΣ0..0see (parameter)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
nameS Σ1..1stringPattern
resourceΣ I1..1EPAOperationOutcome
partΣ0..0see (parameter)
Parameters
DefinitionThis resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it.
Cardinality0...*
Comments

The parameters that may be used are defined by the OperationDefinition resource.

Mappings
  • rim: Entity. Role, or Act
  • v2: n/a
  • rim: n/a
Parameters.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typestring
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Parameters.meta
DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
Cardinality0...1
TypeMeta
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Parameters.implicitRules
DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding

A human language.

CommonLanguages (preferred)
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter
DefinitionA parameter passed to or received from the operation.
Cardinality1...*
TypeBackboneElement
SummaryTrue
SlicingUnordered, Closed, by name(Pattern)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • inv-1: A parameter must have one and only one of (value, resource, part)
    (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))
Mappings
  • rim: n/a
Parameters.parameter.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Parameters.parameter.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter.name
DefinitionThe name of the parameter (reference to the operation definition).
Cardinality1...1
Typestring
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter.value[x]
DefinitionIf the parameter is a data type.
Cardinality0...1
Typebase64Binary
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter.resource
DefinitionIf the parameter is a whole resource.
Cardinality0...1
TypeResource
SummaryTrue
Comments

When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.

Mappings
  • rim: Entity. Role, or Act
Parameters.parameter.part
DefinitionA named part of a multi-part parameter.
Cardinality0...*
Typesee (parameter)
SummaryTrue
Comments

Only one level of nested parameters is allowed.

Parameters.parameter:history
DefinitionA parameter passed to or received from the operation.
Cardinality0...*
TypeBackboneElement
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • inv-1: A parameter must have one and only one of (value, resource, part)
    (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))
Mappings
  • rim: n/a
Parameters.parameter:history.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Parameters.parameter:history.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.name
DefinitionThe name of the parameter (reference to the operation definition).
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern

history

Mappings
  • rim: n/a
Parameters.parameter:history.value[x]
DefinitionIf the parameter is a data type.
Cardinality0...0
Typebase64Binary
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter:history.resource
DefinitionIf the parameter is a whole resource.
Cardinality0...0
TypeResource
SummaryTrue
Comments

When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.

Mappings
  • rim: Entity. Role, or Act
Parameters.parameter:history.part
DefinitionA named part of a multi-part parameter.
Cardinality1...*
Typesee (parameter)
Must SupportTrue
SummaryTrue
Comments

Only one level of nested parameters is allowed.

SlicingUnordered, Closed, by name(Pattern)
Parameters.parameter:history.part:planVersion
DefinitionA named part of a multi-part parameter.
Cardinality0...1
TypeBackboneElement
Must SupportTrue
SummaryTrue
Comments

Only one level of nested parameters is allowed.

Parameters.parameter:history.part:planVersion.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Parameters.parameter:history.part:planVersion.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.part:planVersion.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.part:planVersion.name
DefinitionThe name of the parameter (reference to the operation definition).
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern

planVersion

Mappings
  • rim: n/a
Parameters.parameter:history.part:planVersion.value[x]
DefinitionIf the parameter is a data type.
Cardinality1...1
Typeid
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter:history.part:planVersion.resource
DefinitionIf the parameter is a whole resource.
Cardinality0...0
TypeResource
SummaryTrue
Comments

When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.

Mappings
  • rim: Entity. Role, or Act
Parameters.parameter:history.part:planVersion.part
DefinitionA named part of a multi-part parameter.
Cardinality0...0
Typesee (parameter)
SummaryTrue
Comments

Only one level of nested parameters is allowed.

Parameters.parameter:history.part:lastUpdated
DefinitionA named part of a multi-part parameter.
Cardinality0...1
TypeBackboneElement
Must SupportTrue
SummaryTrue
Comments

Only one level of nested parameters is allowed.

Parameters.parameter:history.part:lastUpdated.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Parameters.parameter:history.part:lastUpdated.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.part:lastUpdated.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:history.part:lastUpdated.name
DefinitionThe name of the parameter (reference to the operation definition).
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern

lastUpdated

Mappings
  • rim: n/a
Parameters.parameter:history.part:lastUpdated.value[x]
DefinitionIf the parameter is a data type.
Cardinality1...1
TypedateTime
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter:history.part:lastUpdated.resource
DefinitionIf the parameter is a whole resource.
Cardinality0...0
TypeResource
SummaryTrue
Comments

When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.

Mappings
  • rim: Entity. Role, or Act
Parameters.parameter:history.part:lastUpdated.part
DefinitionA named part of a multi-part parameter.
Cardinality0...0
Typesee (parameter)
SummaryTrue
Comments

Only one level of nested parameters is allowed.

Parameters.parameter:operationOutcome
DefinitionA parameter passed to or received from the operation.
Cardinality0...1
TypeBackboneElement
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • inv-1: A parameter must have one and only one of (value, resource, part)
    (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))
Mappings
  • rim: n/a
Parameters.parameter:operationOutcome.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Parameters.parameter:operationOutcome.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:operationOutcome.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Parameters.parameter:operationOutcome.name
DefinitionThe name of the parameter (reference to the operation definition).
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern

operationOutcome

Mappings
  • rim: n/a
Parameters.parameter:operationOutcome.value[x]
DefinitionIf the parameter is a data type.
Cardinality0...0
Typebase64Binary
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Parameters.parameter:operationOutcome.resource
DefinitionA collection of error, warning, or information messages that result from a system action.
Cardinality1...1
TypeEPAOperationOutcome
SummaryTrue
Comments

Can result from the failure of a REST call or be part of the response message returned from a request message.

Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
Mappings
  • rim: Entity. Role, or Act
  • rim: Grouping is handled through multiple repetitions from whatever context references the outcomes (no specific grouper required)
Parameters.parameter:operationOutcome.part
DefinitionA named part of a multi-part parameter.
Cardinality0...0
Typesee (parameter)
SummaryTrue
Comments

Only one level of nested parameters is allowed.

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="epa-op-history-medicationplan-out-parameters" />
    <url value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-history-medicationplan-out-parameters" />
    <version value="1.1.1" />
    <name value="EPAOpHistoryMedicationPlanOutParameters" />
    <title value="EPA Operation Get Medication Plan History Input-Parameters" />
    <status value="active" />
    <experimental value="false" />
    <date value="2024-08-14" />
    <publisher value="gematik GmbH" />
    <description value="Operation to retrieve the history of the medication plan, returning only version, lastUpdated, and author." />
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Parameters" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Parameters" />
    <derivation value="constraint" />
    <differential>
        <element id="Parameters.parameter">
            <path value="Parameters.parameter" />
            <slicing>
                <discriminator>
                    <type value="pattern" />
                    <path value="name" />
                </discriminator>
                <rules value="closed" />
            </slicing>
            <min value="1" />
        </element>
        <element id="Parameters.parameter:history">
            <path value="Parameters.parameter" />
            <sliceName value="history" />
            <min value="0" />
            <max value="*" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.name">
            <path value="Parameters.parameter.name" />
            <patternString value="history" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.value[x]">
            <path value="Parameters.parameter.value[x]" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:history.resource">
            <path value="Parameters.parameter.resource" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:history.part">
            <path value="Parameters.parameter.part" />
            <slicing>
                <discriminator>
                    <type value="pattern" />
                    <path value="name" />
                </discriminator>
                <rules value="closed" />
            </slicing>
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:planVersion">
            <path value="Parameters.parameter.part" />
            <sliceName value="planVersion" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="BackboneElement" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:planVersion.name">
            <path value="Parameters.parameter.part.name" />
            <patternString value="planVersion" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:planVersion.value[x]">
            <path value="Parameters.parameter.part.value[x]" />
            <min value="1" />
            <type>
                <code value="id" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:planVersion.resource">
            <path value="Parameters.parameter.part.resource" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:history.part:planVersion.part">
            <path value="Parameters.parameter.part.part" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:history.part:lastUpdated">
            <path value="Parameters.parameter.part" />
            <sliceName value="lastUpdated" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="BackboneElement" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:lastUpdated.name">
            <path value="Parameters.parameter.part.name" />
            <patternString value="lastUpdated" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:lastUpdated.value[x]">
            <path value="Parameters.parameter.part.value[x]" />
            <min value="1" />
            <type>
                <code value="dateTime" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:history.part:lastUpdated.resource">
            <path value="Parameters.parameter.part.resource" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:history.part:lastUpdated.part">
            <path value="Parameters.parameter.part.part" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:operationOutcome">
            <path value="Parameters.parameter" />
            <sliceName value="operationOutcome" />
            <min value="0" />
            <max value="1" />
        </element>
        <element id="Parameters.parameter:operationOutcome.name">
            <path value="Parameters.parameter.name" />
            <patternString value="operationOutcome" />
            <mustSupport value="true" />
        </element>
        <element id="Parameters.parameter:operationOutcome.value[x]">
            <path value="Parameters.parameter.value[x]" />
            <max value="0" />
        </element>
        <element id="Parameters.parameter:operationOutcome.resource">
            <path value="Parameters.parameter.resource" />
            <min value="1" />
            <type>
                <code value="OperationOutcome" />
                <profile value="https://gematik.de/fhir/epa/StructureDefinition/epa-operation-outcome" />
            </type>
        </element>
        <element id="Parameters.parameter:operationOutcome.part">
            <path value="Parameters.parameter.part" />
            <max value="0" />
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "id": "epa-op-history-medicationplan-out-parameters",
    "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-history-medicationplan-out-parameters",
    "version": "1.1.1",
    "name": "EPAOpHistoryMedicationPlanOutParameters",
    "title": "EPA Operation Get Medication Plan History Input-Parameters",
    "status": "active",
    "experimental": false,
    "date": "2024-08-14",
    "publisher": "gematik GmbH",
    "description": "Operation to retrieve the history of the medication plan, returning only version, lastUpdated, and author.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Parameters",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Parameters.parameter",
                "path": "Parameters.parameter",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "pattern",
                            "path": "name"
                        }
                    ],
                    "rules": "closed"
                },
                "min": 1
            },
            {
                "id": "Parameters.parameter:history",
                "path": "Parameters.parameter",
                "sliceName": "history",
                "min": 0,
                "max": "*",
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.name",
                "path": "Parameters.parameter.name",
                "patternString": "history",
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.value[x]",
                "path": "Parameters.parameter.value[x]",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:history.resource",
                "path": "Parameters.parameter.resource",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:history.part",
                "path": "Parameters.parameter.part",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "pattern",
                            "path": "name"
                        }
                    ],
                    "rules": "closed"
                },
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:planVersion",
                "path": "Parameters.parameter.part",
                "sliceName": "planVersion",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "BackboneElement"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:planVersion.name",
                "path": "Parameters.parameter.part.name",
                "patternString": "planVersion",
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:planVersion.value[x]",
                "path": "Parameters.parameter.part.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "id"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:planVersion.resource",
                "path": "Parameters.parameter.part.resource",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:history.part:planVersion.part",
                "path": "Parameters.parameter.part.part",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:history.part:lastUpdated",
                "path": "Parameters.parameter.part",
                "sliceName": "lastUpdated",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "BackboneElement"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:lastUpdated.name",
                "path": "Parameters.parameter.part.name",
                "patternString": "lastUpdated",
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:lastUpdated.value[x]",
                "path": "Parameters.parameter.part.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "dateTime"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:history.part:lastUpdated.resource",
                "path": "Parameters.parameter.part.resource",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:history.part:lastUpdated.part",
                "path": "Parameters.parameter.part.part",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:operationOutcome",
                "path": "Parameters.parameter",
                "sliceName": "operationOutcome",
                "min": 0,
                "max": "1"
            },
            {
                "id": "Parameters.parameter:operationOutcome.name",
                "path": "Parameters.parameter.name",
                "patternString": "operationOutcome",
                "mustSupport": true
            },
            {
                "id": "Parameters.parameter:operationOutcome.value[x]",
                "path": "Parameters.parameter.value[x]",
                "max": "0"
            },
            {
                "id": "Parameters.parameter:operationOutcome.resource",
                "path": "Parameters.parameter.resource",
                "min": 1,
                "type":  [
                    {
                        "code": "OperationOutcome",
                        "profile":  [
                            "https://gematik.de/fhir/epa/StructureDefinition/epa-operation-outcome"
                        ]
                    }
                ]
            },
            {
                "id": "Parameters.parameter:operationOutcome.part",
                "path": "Parameters.parameter.part",
                "max": "0"
            }
        ]
    }
}