Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## Resource Profile: GEM ERP PR CloseOperation Input

Official URL: https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERP-PR-PAR-Close-Operation-Input | Version: 2.0.0-ballot.2
Active as of 2026-06-30 | Computable Name: GEM_ERP_PR_PAR_CloseOperation_Input
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Dieses Profil definiert die Parameter für das Schließen eines Workflows für ein Rezept vom AVS zum TI-Flow-Fachdienst. Dies kann für die Operationen $close und $dispense verwendet werden.

Usages:

- Examples for this Profile: Parameters/ExampleCloseInputParameters, Parameters/ExampleCloseInputParametersKombipackung, Parameters/ExampleCloseInputParametersMultipleMedicationDispenses and Parameters/ExampleCloseInputParametersRezeptur

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for parameter | Σ C | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
parameter:rxDispensation | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1, workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: rxDispensation
Slices for part | S Σ | 1..* | See parameter (Parameters) | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
part:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S Σ | 1..1 | BackboneElement | Named part of a multi-part parameter
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medicationDispense
resource | Σ C | 1..1 | MedicationDispense | If parameter is a whole resource
part:medication | S Σ | 0..1 | BackboneElement | Named part of a multi-part parameter
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medication
resource | Σ C | 1..1 | Medication | If parameter is a whole resource
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:rxDispensation | 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()))`
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

This structure is derived from Parameters

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
Slices for parameter |  | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name
parameter:rxDispensation | S C | 0..* | BackboneElement | Operation Parameter Constraints: workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
name | S | 1..1 | string | Name from the definition Required Pattern: rxDispensation
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 0..0 |  | If parameter is a whole resource
Slices for part | S | 1..* |  | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S | 1..1 | BackboneElement | Named part of a multi-part parameter
name | S | 1..1 | string | Name from the definition Required Pattern: medicationDispense
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 1..1 | MedicationDispense | If parameter is a whole resource
part |  | 0..0 |  | Named part of a multi-part parameter
part:medication | S | 0..1 | BackboneElement | Named part of a multi-part parameter
name | S | 1..1 | string | Name from the definition Required Pattern: medication
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 1..1 | Medication | If parameter is a whole resource
part |  | 0..0 |  | Named part of a multi-part parameter
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
Slices for parameter | Σ C | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
value[x] | Σ C | 0..1 |  | If parameter is a data type
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
resource | Σ C | 0..1 | Resource | If parameter is a whole resource
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:rxDispensation | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1, workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: rxDispensation
Slices for part | S Σ | 1..* | See parameter (Parameters) | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
part:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
value[x] | Σ C | 0..1 |  | If parameter is a data type
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
resource | Σ C | 0..1 | Resource | If parameter is a whole resource
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S Σ | 1..1 | BackboneElement | Named part of a multi-part parameter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medicationDispense
resource | Σ C | 1..1 | MedicationDispense | If parameter is a whole resource
part:medication | S Σ | 0..1 | BackboneElement | Named part of a multi-part parameter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medication
resource | Σ C | 1..1 | Medication | If parameter is a whole resource
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Parameters.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:rxDispensation | 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()))`
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

This structure is derived from Parameters

Summary

Mandatory: 0 element(4 nested mandatory elements)
Must-Support: 7 elements
Prohibited: 6 elements

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Parameters.parameter (Closed)
- The element 1 is sliced based on the value of Parameters.parameter.part (Closed)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for parameter | Σ C | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
parameter:rxDispensation | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1, workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: rxDispensation
Slices for part | S Σ | 1..* | See parameter (Parameters) | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
part:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S Σ | 1..1 | BackboneElement | Named part of a multi-part parameter
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medicationDispense
resource | Σ C | 1..1 | MedicationDispense | If parameter is a whole resource
part:medication | S Σ | 0..1 | BackboneElement | Named part of a multi-part parameter
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medication
resource | Σ C | 1..1 | Medication | If parameter is a whole resource
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:rxDispensation | 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()))`
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

Differential View

This structure is derived from Parameters

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
Slices for parameter |  | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name
parameter:rxDispensation | S C | 0..* | BackboneElement | Operation Parameter Constraints: workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
name | S | 1..1 | string | Name from the definition Required Pattern: rxDispensation
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 0..0 |  | If parameter is a whole resource
Slices for part | S | 1..* |  | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S | 1..1 | BackboneElement | Named part of a multi-part parameter
name | S | 1..1 | string | Name from the definition Required Pattern: medicationDispense
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 1..1 | MedicationDispense | If parameter is a whole resource
part |  | 0..0 |  | Named part of a multi-part parameter
part:medication | S | 0..1 | BackboneElement | Named part of a multi-part parameter
name | S | 1..1 | string | Name from the definition Required Pattern: medication
value[x] |  | 0..0 |  | If parameter is a data type
resource |  | 1..1 | Medication | If parameter is a whole resource
part |  | 0..0 |  | Named part of a multi-part parameter
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters |  | 0..* | Parameters | Operation Request or Response
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
Slices for parameter | Σ C | 0..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by pattern:name Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
value[x] | Σ C | 0..1 |  | If parameter is a data type
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
resource | Σ C | 0..1 | Resource | If parameter is a whole resource
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:rxDispensation | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1, workflow-parameters-close-medication-exists, workflow-parameters-close-dispense-medication-references
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: rxDispensation
Slices for part | S Σ | 1..* | See parameter (Parameters) | Named part of a multi-part parameter Slice: Unordered, Closed by pattern:name
part:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
value[x] | Σ C | 0..1 |  | If parameter is a data type
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
resource | Σ C | 0..1 | Resource | If parameter is a whole resource
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
Slices for part |  |  |  | Content/Rules for all slices
part:medicationDispense | S Σ | 1..1 | BackboneElement | Named part of a multi-part parameter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medicationDispense
resource | Σ C | 1..1 | MedicationDispense | If parameter is a whole resource
part:medication | S Σ | 0..1 | BackboneElement | Named part of a multi-part parameter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | S Σ | 1..1 | string | Name from the definition Required Pattern: medication
resource | Σ C | 1..1 | Medication | If parameter is a whole resource
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Parameters.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:rxDispensation | 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()))`
workflow-parameters-close-dispense-medication-references | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, the reference must resolve to the Medication. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies ((part.where(name = 'medicationDispense').resource.medication.reference.split('/').last().split(':').last()) = (part.where(name = 'medication').resource.id))`
workflow-parameters-close-medication-exists | error | Parameters.parameter:rxDispensation | If a reference from a MedicationDispense to a Medication exists, a Medication resource must exist. | `part.where(name = 'medicationDispense').resource.medication.ofType(Reference).reference.exists() implies part.where(name = 'medication').exists()`

This structure is derived from Parameters

Summary

Mandatory: 0 element(4 nested mandatory elements)
Must-Support: 7 elements
Prohibited: 6 elements

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Parameters.parameter (Closed)
- The element 1 is sliced based on the value of Parameters.parameter.part (Closed)

Other representations of profile: CSV, Excel, Schematron