ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: Invalidation | |||
Additional information about prescription invalidation: Type of prescription invalidation, Additional information about the invalidation, Invalidator of the prescription, Consent for the invalidation Source
The invalidation extension is used in the MedicationRequest resource.
Context of Use
This extension may be used on the following element(s)
MedicationRequest
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
Extension | Additional information about prescription invalidation | ||
![]() ![]() |
3.. | Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||
![]() ![]() ![]() |
1..1 | The type of prescription invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationType" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | The type of prescription invalidation | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' Fixed Value: urn:oid:1.2.246.537.5.40103.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' | ||
![]() ![]() ![]() |
0..1 | Additional information about prescription invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationInfo" | |||
![]() ![]() ![]() ![]() |
1.. | string | Additional information about prescription invalidation | |
![]() ![]() ![]() |
1..1 | Invalidator of the prescription | ||
![]() ![]() ![]() ![]() |
"invalidator" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | Invalidator of the prescription | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' Fixed Value: urn:oid:1.2.246.537.5.40102.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' | ||
![]() ![]() ![]() |
1..1 | Consent for the invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationConsent" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | The consent for the invalidation | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' Fixed Value: urn:oid:1.2.246.537.5.40119.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' | ||
![]() ![]() |
"http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation" | |||
![]() ![]() |
..0 | |||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
N | 0..* | Extension | Additional information about prescription invalidation Constraints: ext-1 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
3..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Extension | The type of prescription invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationType" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Type of prescription invalidation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' Fixed Value: urn:oid:1.2.246.537.5.40103.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | Extension | Additional information about prescription invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationInfo" | |
![]() ![]() ![]() ![]() |
1..1 | string | Additional information about prescription invalidation | |
![]() ![]() ![]() |
1..1 | Extension | Invalidator of the prescription | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidator" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Invalidator of the prescription | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' Fixed Value: urn:oid:1.2.246.537.5.40102.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
1..1 | Extension | The consent for the invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationConsent" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | The consent for the invalidation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' Fixed Value: urn:oid:1.2.246.537.5.40119.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation" | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Additional information about prescription invalidation: Type of prescription invalidation, Additional information about the invalidation, Invalidator of the prescription, Consent for the invalidation Source
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
Extension | Additional information about prescription invalidation | ||
![]() ![]() |
3.. | Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||
![]() ![]() ![]() |
1..1 | The type of prescription invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationType" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | The type of prescription invalidation | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' Fixed Value: urn:oid:1.2.246.537.5.40103.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' | ||
![]() ![]() ![]() |
0..1 | Additional information about prescription invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationInfo" | |||
![]() ![]() ![]() ![]() |
1.. | string | Additional information about prescription invalidation | |
![]() ![]() ![]() |
1..1 | Invalidator of the prescription | ||
![]() ![]() ![]() ![]() |
"invalidator" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | Invalidator of the prescription | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' Fixed Value: urn:oid:1.2.246.537.5.40102.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' | ||
![]() ![]() ![]() |
1..1 | Consent for the invalidation | ||
![]() ![]() ![]() ![]() |
"invalidationConsent" | |||
![]() ![]() ![]() ![]() |
1.. | Coding | The consent for the invalidation | |
![]() ![]() ![]() ![]() ![]() |
1.. | OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' Fixed Value: urn:oid:1.2.246.537.5.40119.2006 (no extensions allowed) | ||
![]() ![]() ![]() ![]() ![]() |
1.. | Code of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' | ||
![]() ![]() |
"http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation" | |||
![]() ![]() |
..0 | |||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
N | 0..* | Extension | Additional information about prescription invalidation Constraints: ext-1 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
3..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Extension | The type of prescription invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationType" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Type of prescription invalidation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' Fixed Value: urn:oid:1.2.246.537.5.40103.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | Extension | Additional information about prescription invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationInfo" | |
![]() ![]() ![]() ![]() |
1..1 | string | Additional information about prescription invalidation | |
![]() ![]() ![]() |
1..1 | Extension | Invalidator of the prescription | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidator" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Invalidator of the prescription | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' Fixed Value: urn:oid:1.2.246.537.5.40102.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
1..1 | Extension | The consent for the invalidation | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | uri | "invalidationConsent" | |
![]() ![]() ![]() ![]() |
1..1 | Coding | The consent for the invalidation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' Fixed Value: urn:oid:1.2.246.537.5.40119.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit' | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation" | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Additional information about prescription invalidation: Type of prescription invalidation, Additional information about the invalidation, Invalidator of the prescription, Consent for the invalidation Source
Other representations of profile: CSV, Excel, Schematron
| 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 | Extension, Extension.extension, Extension.extension:invalidationType, Extension.extension:invalidationType.extension, Extension.extension:invalidationType.value[x].extension, Extension.extension:invalidationInfo, Extension.extension:invalidationInfo.extension, Extension.extension:invalidator, Extension.extension:invalidator.extension, Extension.extension:invalidator.value[x].extension, Extension.extension:invalidationConsent, Extension.extension:invalidationConsent.extension, Extension.extension:invalidationConsent.value[x].extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|