FHIR IG analytics| Package | hl7.at.fhir.elga.emed.r4 |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-at-elga-emed-parameters-out-prescription-write.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/HL7Austria/ELGA-e-Medikation-R4/StructureDefinition-at-elga-emed-parameters-out-prescription-write.html |
| URL | https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-parameters-out-prescription-write |
| Version | 0.1.0 |
| Status | draft |
| Date | 2026-10-27T21:19:22+00:00 |
| Name | AtElgaEmedParametersOutPrescriptionWrite |
| Title | AT ELGA e-Medikation Parameters Out $prescription-write |
| Authority | hl7 |
| Description | Profil für den Rückgabewert der $prescription-write Operation. |
| Type | Parameters |
| Kind | resource |
No resources found
| StructureDefinition | ||
| hl7.at.fhir.elga.emed.r4#current | at-elga-emed-bundle-geplanteabgaben-write-response | AT ELGA e-Medikation Transaction-Response Bundle Geplante Abgaben |
| hl7.at.fhir.elga.emed.r4#current | at-elga-emed-operationoutcome | AT ELGA e-Medikation OperationOutcome |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition at-elga-emed-parameters-out-prescription-write
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | C | 0..* | Parameters | Operation Request or Response Constraints: at-emed-prescription-write-out-ergebnis |
![]() ![]() | 0..0 | Fachliche Begründung: Die Ressource wird nach den Regeln dieses Implementierungsleitfadens interpretiert. Zusätzliche implizite Verarbeitungsregeln werden nicht verwendet. | ||
![]() ![]() | S | 1..* | BackboneElement | Operation Parameter Slice: Unordered, Closed by type:resource Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them |
![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern. | ||
![]() ![]() ![]() ![]() | S | 1..1 | string | Name from the definition |
![]() ![]() ![]() | S | 0..* | BackboneElement | Hinweise zu ignorierten Must-Support Elementen (bei Erfolg) bzw. Fehler, der zur Ablehnung der Operation geführt hat (bei Misserfolg) |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern. | ||
![]() ![]() ![]() ![]() | S | 1..1 | string | Name from the definition Required Pattern: operationOutcome (extensions allowed) |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen. | ||
![]() ![]() ![]() ![]() | S | 1..1 | AtElgaEmedOperationOutcome | AT ELGA e-Medikation OperationOutcome |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen. | ||
![]() ![]() ![]() | S | 0..1 | BackboneElement | Transaction-Response Bundle mit den persistierten Geplanten Abgaben (nur bei Erfolg) |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern. | ||
![]() ![]() ![]() ![]() | S | 1..1 | string | Name from the definition Required Pattern: geplanteAbgaben (extensions allowed) |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen. | ||
![]() ![]() ![]() ![]() | S | 1..1 | AtElgaEmedBundleGeplanteAbgabenWriteResponse | Contains a collection of resources |
![]() ![]() ![]() ![]() | 0..0 | Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen. | ||
{
"resourceType": "StructureDefinition",
"id": "at-elga-emed-parameters-out-prescription-write",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-parameters-out-prescription-write",
"version": "0.1.0",
"name": "AtElgaEmedParametersOutPrescriptionWrite",
"title": "AT ELGA e-Medikation Parameters Out $prescription-write",
"status": "draft",
"date": "2026-10-27T21:19:22+00:00",
"publisher": "ELGA GmbH",
"contact": [
{
"name": "ELGA GmbH",
"telecom": [
{
"system": "url",
"value": "http://elga.gv.at"
}
]
},
{
"name": "ELGA GmbH",
"telecom": [
{
"system": "url",
"value": "https://elga.gv.at",
"use": "work"
}
]
}
],
"description": "Profil für den Rückgabewert der $prescription-write Operation.",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "resource",
"abstract": false,
"type": "Parameters",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters",
"derivation": "constraint",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
}
],
"element": [
{
"id": "Parameters",
"path": "Parameters",
"short": "Operation Request or Response",
"definition": "This resource is a non-persisted resource used to pass information into and back from an [operation](http://hl7.org/fhir/R4/operations.html). It has no other use, and there is no RESTful endpoint associated with it.",
"comment": "The parameters that may be used are defined by the OperationDefinition resource.",
"min": 0,
"max": "*",
"base": {
"path": "Parameters",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "at-emed-prescription-write-out-ergebnis",
"severity": "error",
"human": "Ist kein Bundle mit persistierten Geplanten Abgaben enthalten (Fehlerfall), muss mindestens ein OperationOutcome mit einem Issue der Schwere 'error' oder 'fatal' enthalten sein.",
"expression": "parameter.resource.ofType(Bundle).exists() or (parameter.resource.ofType(OperationOutcome).count() >= 1 and parameter.resource.ofType(OperationOutcome).issue.where(severity = 'error' or severity = 'fatal').exists())",
"source": "https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-parameters-out-prescription-write"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "v2",
"map": "n/a"
},
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.id",
"path": "Parameters.id",
"short": "Logical id of this artifact",
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.meta",
"path": "Parameters.meta",
"short": "Metadata about the resource",
"definition": "The 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.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.meta",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Meta"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.implicitRules",
"path": "Parameters.implicitRules",
"short": "Fachliche Begründung: Die Ressource wird nach den Regeln dieses Implementierungsleitfadens interpretiert. Zusätzliche implizite Verarbeitungsregeln werden nicht verwendet.",
"definition": "A 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.",
"comment": "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.",
"min": 0,
"max": "0",
"base": {
"path": "Resource.implicitRules",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": true,
"isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
"isSummary": true
},
{
"id": "Parameters.language",
"path": "Parameters.language",
"short": "Language of the resource content",
"definition": "The base language in which the resource is written.",
"comment": "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).",
"min": 0,
"max": "1",
"base": {
"path": "Resource.language",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}
],
"strength": "preferred",
"description": "A human language.",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1"
}
},
{
"id": "Parameters.parameter",
"path": "Parameters.parameter",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "resource"
}
],
"rules": "closed"
},
"short": "Operation Parameter",
"definition": "A parameter passed to or received from the operation.",
"min": 1,
"max": "*",
"base": {
"path": "Parameters.parameter",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "inv-1",
"severity": "error",
"human": "A parameter must have one and only one of (value, resource, part)",
"expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath": "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))",
"source": "http://hl7.org/fhir/StructureDefinition/Parameters"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter.id",
"path": "Parameters.parameter.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter.extension",
"path": "Parameters.parameter.extension",
"short": "Additional content defined by implementations",
"definition": "May 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.",
"comment": "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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"definition": "An Extension",
"min": 0,
"max": "0",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
},
{
"id": "Parameters.parameter.name",
"path": "Parameters.parameter.name",
"short": "Name from the definition",
"definition": "The name of the parameter (reference to the operation definition).",
"min": 1,
"max": "1",
"base": {
"path": "Parameters.parameter.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter.value[x]",
"path": "Parameters.parameter.value[x]",
"short": "If parameter is a data type",
"definition": "If the parameter is a data type.",
"min": 0,
"max": "1",
"base": {
"path": "Parameters.parameter.value[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "base64Binary"
},
{
"code": "boolean"
},
{
"code": "canonical"
},
{
"code": "code"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "decimal"
},
{
"code": "id"
},
{
"code": "instant"
},
{
"code": "integer"
},
{
"code": "markdown"
},
{
"code": "oid"
},
{
"code": "positiveInt"
},
{
"code": "string"
},
{
"code": "time"
},
{
"code": "unsignedInt"
},
{
"code": "uri"
},
{
"code": "url"
},
{
"code": "uuid"
},
{
"code": "Address"
},
{
"code": "Age"
},
{
"code": "Annotation"
},
{
"code": "Attachment"
},
{
"code": "CodeableConcept"
},
{
"code": "Coding"
},
{
"code": "ContactPoint"
},
{
"code": "Count"
},
{
"code": "Distance"
},
{
"code": "Duration"
},
{
"code": "HumanName"
},
{
"code": "Identifier"
},
{
"code": "Money"
},
{
"code": "Period"
},
{
"code": "Quantity"
},
{
"code": "Range"
},
{
"code": "Ratio"
},
{
"code": "Reference"
},
{
"code": "SampledData"
},
{
"code": "Signature"
},
{
"code": "Timing"
},
{
"code": "ContactDetail"
},
{
"code": "Contributor"
},
{
"code": "DataRequirement"
},
{
"code": "Expression"
},
{
"code": "ParameterDefinition"
},
{
"code": "RelatedArtifact"
},
{
"code": "TriggerDefinition"
},
{
"code": "UsageContext"
},
{
"code": "Dosage"
},
{
"code": "Meta"
}
],
"condition": [
"inv-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter.resource",
"path": "Parameters.parameter.resource",
"short": "If parameter is a whole resource",
"definition": "If the parameter is a whole resource.",
"comment": "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.",
"min": 0,
"max": "1",
"base": {
"path": "Parameters.parameter.resource",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Resource"
}
],
"condition": [
"inv-1"
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter.part",
"path": "Parameters.parameter.part",
"short": "Named part of a multi-part parameter",
"definition": "A named part of a multi-part parameter.",
"comment": "Only one level of nested parameters is allowed.",
"min": 0,
"max": "*",
"base": {
"path": "Parameters.parameter.part",
"min": 0,
"max": "*"
},
"contentReference": "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:operationOutcome",
"path": "Parameters.parameter",
"sliceName": "operationOutcome",
"short": "Hinweise zu ignorierten Must-Support Elementen (bei Erfolg) bzw. Fehler, der zur Ablehnung der Operation geführt hat (bei Misserfolg)",
"definition": "A parameter passed to or received from the operation.",
"min": 0,
"max": "*",
"base": {
"path": "Parameters.parameter",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "inv-1",
"severity": "error",
"human": "A parameter must have one and only one of (value, resource, part)",
"expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath": "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))",
"source": "http://hl7.org/fhir/StructureDefinition/Parameters"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:operationOutcome.id",
"path": "Parameters.parameter.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter:operationOutcome.extension",
"path": "Parameters.parameter.extension",
"short": "Additional content defined by implementations",
"definition": "May 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.",
"comment": "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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter:operationOutcome.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"definition": "An Extension",
"min": 0,
"max": "0",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
},
{
"id": "Parameters.parameter:operationOutcome.name",
"path": "Parameters.parameter.name",
"short": "Name from the definition",
"definition": "The name of the parameter (reference to the operation definition).",
"min": 1,
"max": "1",
"base": {
"path": "Parameters.parameter.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "operationOutcome",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:operationOutcome.value[x]",
"path": "Parameters.parameter.value[x]",
"short": "Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen.",
"definition": "If the parameter is a data type.",
"min": 0,
"max": "0",
"base": {
"path": "Parameters.parameter.value[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "base64Binary"
},
{
"code": "boolean"
},
{
"code": "canonical"
},
{
"code": "code"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "decimal"
},
{
"code": "id"
},
{
"code": "instant"
},
{
"code": "integer"
},
{
"code": "markdown"
},
{
"code": "oid"
},
{
"code": "positiveInt"
},
{
"code": "string"
},
{
"code": "time"
},
{
"code": "unsignedInt"
},
{
"code": "uri"
},
{
"code": "url"
},
{
"code": "uuid"
},
{
"code": "Address"
},
{
"code": "Age"
},
{
"code": "Annotation"
},
{
"code": "Attachment"
},
{
"code": "CodeableConcept"
},
{
"code": "Coding"
},
{
"code": "ContactPoint"
},
{
"code": "Count"
},
{
"code": "Distance"
},
{
"code": "Duration"
},
{
"code": "HumanName"
},
{
"code": "Identifier"
},
{
"code": "Money"
},
{
"code": "Period"
},
{
"code": "Quantity"
},
{
"code": "Range"
},
{
"code": "Ratio"
},
{
"code": "Reference"
},
{
"code": "SampledData"
},
{
"code": "Signature"
},
{
"code": "Timing"
},
{
"code": "ContactDetail"
},
{
"code": "Contributor"
},
{
"code": "DataRequirement"
},
{
"code": "Expression"
},
{
"code": "ParameterDefinition"
},
{
"code": "RelatedArtifact"
},
{
"code": "TriggerDefinition"
},
{
"code": "UsageContext"
},
{
"code": "Dosage"
},
{
"code": "Meta"
}
],
"condition": [
"inv-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:operationOutcome.resource",
"path": "Parameters.parameter.resource",
"short": "AT ELGA e-Medikation OperationOutcome",
"definition": "A collection of error, warning, or information messages that result from a system action.",
"comment": "Can result from the failure of a REST call or be part of the response message returned from a request message.",
"min": 1,
"max": "1",
"base": {
"path": "Parameters.parameter.resource",
"min": 0,
"max": "1"
},
"type": [
{
"code": "OperationOutcome",
"profile": [
"https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-operationoutcome"
],
"_profile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-profile-constraints",
"valueCode": "partial"
}
]
}
]
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "rim",
"map": "Grouping is handled through multiple repetitions from whatever context references the outcomes (no specific grouper required)"
}
]
},
{
"id": "Parameters.parameter:operationOutcome.part",
"path": "Parameters.parameter.part",
"short": "Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen.",
"definition": "A named part of a multi-part parameter.",
"comment": "Only one level of nested parameters is allowed.",
"min": 0,
"max": "0",
"base": {
"path": "Parameters.parameter.part",
"min": 0,
"max": "*"
},
"contentReference": "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:geplanteAbgaben",
"path": "Parameters.parameter",
"sliceName": "geplanteAbgaben",
"short": "Transaction-Response Bundle mit den persistierten Geplanten Abgaben (nur bei Erfolg)",
"definition": "A parameter passed to or received from the operation.",
"min": 0,
"max": "1",
"base": {
"path": "Parameters.parameter",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "inv-1",
"severity": "error",
"human": "A parameter must have one and only one of (value, resource, part)",
"expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath": "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))",
"source": "http://hl7.org/fhir/StructureDefinition/Parameters"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.id",
"path": "Parameters.parameter.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter:geplanteAbgaben.extension",
"path": "Parameters.parameter.extension",
"short": "Additional content defined by implementations",
"definition": "May 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.",
"comment": "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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "Parameters.parameter:geplanteAbgaben.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"definition": "An Extension",
"min": 0,
"max": "0",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.name",
"path": "Parameters.parameter.name",
"short": "Name from the definition",
"definition": "The name of the parameter (reference to the operation definition).",
"min": 1,
"max": "1",
"base": {
"path": "Parameters.parameter.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "geplanteAbgaben",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.value[x]",
"path": "Parameters.parameter.value[x]",
"short": "Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen.",
"definition": "If the parameter is a data type.",
"min": 0,
"max": "0",
"base": {
"path": "Parameters.parameter.value[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "base64Binary"
},
{
"code": "boolean"
},
{
"code": "canonical"
},
{
"code": "code"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "decimal"
},
{
"code": "id"
},
{
"code": "instant"
},
{
"code": "integer"
},
{
"code": "markdown"
},
{
"code": "oid"
},
{
"code": "positiveInt"
},
{
"code": "string"
},
{
"code": "time"
},
{
"code": "unsignedInt"
},
{
"code": "uri"
},
{
"code": "url"
},
{
"code": "uuid"
},
{
"code": "Address"
},
{
"code": "Age"
},
{
"code": "Annotation"
},
{
"code": "Attachment"
},
{
"code": "CodeableConcept"
},
{
"code": "Coding"
},
{
"code": "ContactPoint"
},
{
"code": "Count"
},
{
"code": "Distance"
},
{
"code": "Duration"
},
{
"code": "HumanName"
},
{
"code": "Identifier"
},
{
"code": "Money"
},
{
"code": "Period"
},
{
"code": "Quantity"
},
{
"code": "Range"
},
{
"code": "Ratio"
},
{
"code": "Reference"
},
{
"code": "SampledData"
},
{
"code": "Signature"
},
{
"code": "Timing"
},
{
"code": "ContactDetail"
},
{
"code": "Contributor"
},
{
"code": "DataRequirement"
},
{
"code": "Expression"
},
{
"code": "ParameterDefinition"
},
{
"code": "RelatedArtifact"
},
{
"code": "TriggerDefinition"
},
{
"code": "UsageContext"
},
{
"code": "Dosage"
},
{
"code": "Meta"
}
],
"condition": [
"inv-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.resource",
"path": "Parameters.parameter.resource",
"short": "Contains a collection of resources",
"definition": "A container for a collection of resources.",
"comment": "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.",
"min": 1,
"max": "1",
"base": {
"path": "Parameters.parameter.resource",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Bundle",
"profile": [
"https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-bundle-geplanteabgaben-write-response"
],
"_profile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-profile-constraints",
"valueCode": "partial"
}
]
}
]
}
],
"mustSupport": true,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "v2",
"map": "N/A"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "cda",
"map": "ClinicalDocument, if bundle.type = document"
}
]
},
{
"id": "Parameters.parameter:geplanteAbgaben.part",
"path": "Parameters.parameter.part",
"short": "Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen.",
"definition": "A named part of a multi-part parameter.",
"comment": "Only one level of nested parameters is allowed.",
"min": 0,
"max": "0",
"base": {
"path": "Parameters.parameter.part",
"min": 0,
"max": "*"
},
"contentReference": "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
}
]
},
"differential": {
"element": [
{
"id": "Parameters",
"path": "Parameters",
"constraint": [
{
"key": "at-emed-prescription-write-out-ergebnis",
"severity": "error",
"human": "Ist kein Bundle mit persistierten Geplanten Abgaben enthalten (Fehlerfall), muss mindestens ein OperationOutcome mit einem Issue der Schwere 'error' oder 'fatal' enthalten sein.",
"expression": "parameter.resource.ofType(Bundle).exists() or (parameter.resource.ofType(OperationOutcome).count() >= 1 and parameter.resource.ofType(OperationOutcome).issue.where(severity = 'error' or severity = 'fatal').exists())",
"source": "https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-parameters-out-prescription-write"
}
]
},
{
"id": "Parameters.implicitRules",
"path": "Parameters.implicitRules",
"short": "Fachliche Begründung: Die Ressource wird nach den Regeln dieses Implementierungsleitfadens interpretiert. Zusätzliche implizite Verarbeitungsregeln werden nicht verwendet.",
"max": "0"
},
{
"id": "Parameters.parameter",
"path": "Parameters.parameter",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "resource"
}
],
"rules": "closed"
},
"min": 1,
"mustSupport": true
},
{
"id": "Parameters.parameter.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"max": "0"
},
{
"id": "Parameters.parameter.name",
"path": "Parameters.parameter.name",
"mustSupport": true
},
{
"id": "Parameters.parameter:operationOutcome",
"path": "Parameters.parameter",
"sliceName": "operationOutcome",
"short": "Hinweise zu ignorierten Must-Support Elementen (bei Erfolg) bzw. Fehler, der zur Ablehnung der Operation geführt hat (bei Misserfolg)",
"min": 0,
"max": "*",
"mustSupport": true
},
{
"id": "Parameters.parameter:operationOutcome.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"max": "0"
},
{
"id": "Parameters.parameter:operationOutcome.name",
"path": "Parameters.parameter.name",
"patternString": "operationOutcome",
"mustSupport": true
},
{
"id": "Parameters.parameter:operationOutcome.value[x]",
"path": "Parameters.parameter.value[x]",
"short": "Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen.",
"max": "0"
},
{
"id": "Parameters.parameter:operationOutcome.resource",
"path": "Parameters.parameter.resource",
"min": 1,
"type": [
{
"code": "OperationOutcome",
"profile": [
"https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-operationoutcome"
]
}
],
"mustSupport": true
},
{
"id": "Parameters.parameter:operationOutcome.part",
"path": "Parameters.parameter.part",
"short": "Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen.",
"max": "0"
},
{
"id": "Parameters.parameter:geplanteAbgaben",
"path": "Parameters.parameter",
"sliceName": "geplanteAbgaben",
"short": "Transaction-Response Bundle mit den persistierten Geplanten Abgaben (nur bei Erfolg)",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.modifierExtension",
"path": "Parameters.parameter.modifierExtension",
"short": "Fachliche Begründung: Es sind keine zusätzlichen Erweiterungen vorgesehen, die die Bedeutung der Ressource oder ihrer Elemente verändern.",
"max": "0"
},
{
"id": "Parameters.parameter:geplanteAbgaben.name",
"path": "Parameters.parameter.name",
"patternString": "geplanteAbgaben",
"mustSupport": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.value[x]",
"path": "Parameters.parameter.value[x]",
"short": "Fachliche Begründung: Der Parameter transportiert ausschließlich eine Ressource, ein Wert ist nicht vorgesehen.",
"max": "0"
},
{
"id": "Parameters.parameter:geplanteAbgaben.resource",
"path": "Parameters.parameter.resource",
"min": 1,
"type": [
{
"code": "Bundle",
"profile": [
"https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-bundle-geplanteabgaben-write-response"
]
}
],
"mustSupport": true
},
{
"id": "Parameters.parameter:geplanteAbgaben.part",
"path": "Parameters.parameter.part",
"short": "Fachliche Begründung: Verschachtelte Parameter sind nicht vorgesehen.",
"max": "0"
}
]
}
}