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/MedicationListDiscontinuationMedicationRequest | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: MedicationListDiscontinuationMedicationRequest | |||
MedicationListDiscontinuationMedicationRequest profile is used with Kanta medication list and it contains the details of prescription discontinuation. Source
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber" | |
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation Example General: 123456 | |
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation Example General: 123456 | |
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | |
![]() ![]() |
1..1 | CodeableConcept | Prescription message type Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |
![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi' | |
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.statusReason | Base | example | Medication request status reason codes | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.substitution.allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.5 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MedicationRequest | 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-4 | error | MedicationRequest | 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-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
This structure is derived from MedicationRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber | |
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Status information 'Latest' | ||
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate | |
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode | |
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText | |
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation | |
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation | |
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown | |
![]() ![]() |
1..1 | CodeableConcept | Prescription message type | |
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |
![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi' | |
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..0 | Type of medication usage | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |
![]() ![]() |
0..0 | Encounter created as part of encounter/admission/stay | ||
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..0 | When request was initially authored | ||
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
0..0 | Information about the prescription | ||
![]() ![]() |
0..0 | How the medication should be taken | ||
![]() ![]() |
0..0 | Medication supply authorization | ||
![]() ![]() |
0..0 | Any restrictions on medication substitution | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() ![]() ![]() |
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 | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber" | |||||
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |||||
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |||||
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
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 | "medicineId" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
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 | "medicineIdPart" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |||||
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | |||||
![]() ![]() |
1..1 | CodeableConcept | Prescription message type Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |||||
![]() ![]() ![]() ![]() |
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 - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.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 - Reseptisanoman tyyppi' | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |||||
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |||||
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.statusReason | Base | example | Medication request status reason codes | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.substitution.allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.5 |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.5 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MedicationRequest | 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-4 | error | MedicationRequest | 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-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
This structure is derived from MedicationRequest
Summary
Mandatory: 19 elements(4 nested mandatory elements)
Fixed: 6 elements
Prohibited: 26 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber" | |
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineId" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "medicineIdPart" | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation Example General: 123456 | |
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation Example General: 123456 | |
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | |
![]() ![]() |
1..1 | CodeableConcept | Prescription message type Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |
![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi' | |
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.statusReason | Base | example | Medication request status reason codes | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.substitution.allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.5 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MedicationRequest | 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-4 | error | MedicationRequest | 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-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
Differential View
This structure is derived from MedicationRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber | |
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Status information 'Latest' | ||
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate | |
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode | |
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText | |
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation | |
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation | |
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown | |
![]() ![]() |
1..1 | CodeableConcept | Prescription message type | |
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |
![]() ![]() ![]() ![]() |
1..1 | uri | OID of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.2006 (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Code of the Kanta code system 'Sähköinen lääkemääräys - Reseptisanoman tyyppi' | |
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..0 | Type of medication usage | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |
![]() ![]() |
0..0 | Encounter created as part of encounter/admission/stay | ||
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..0 | When request was initially authored | ||
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
0..0 | Information about the prescription | ||
![]() ![]() |
0..0 | How the medication should be taken | ||
![]() ![]() |
0..0 | Medication supply authorization | ||
![]() ![]() |
0..0 | Any restrictions on medication substitution | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
1..1 | Coding | CDA R2 header specification templateId (specification package version) Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() ![]() ![]() |
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 | Identity of the terminology system Fixed Value: http://resepti.kanta.fi/fhir/cdaHeaderTemplateId (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | CDA R2 header specification templateId (specification package version) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
5..* | Extension | Extension 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 | (Complex) | Asiakirjan versio URL: http://resepti.kanta.fi/StructureDefinition/extension/versionNumber Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber" | |||||
![]() ![]() ![]() ![]() |
1..1 | positiveInt | Asiakirjan versio | |||||
![]() ![]() ![]() |
1..* | dateTime | The creation time of a document URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime | |||||
![]() ![]() ![]() |
1..1 | (Complex) | The identifier of the medicine in use and the part identifier of the medicine continuum URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension 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 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
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 | "medicineId" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the drug in use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | The identifier of the drug in use Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
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 | "medicineIdPart" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | positiveInt | Part identifier of medicine continuum | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum" | |||||
![]() ![]() ![]() |
1..1 | dateTime | Lääkkeen lopetuspäivä URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopDate Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | Coding | Lääkkeen lopetuksen syy URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonCode Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | string | Lääkkeen lopetuksen lisätiedot URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/stopReasonText Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Coding | The adverse effect of the drug URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/adverseEffect | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | External ids for this request Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..1 | Identifier | Document identifier (Unique identifier of the prescription discontinuation document) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/id (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Unique OID identifier of a document of prescription discontinuation Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the original document of prescription discontinuation | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://resepti.kanta.fi/fhir/id/setId (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Identifier of the original document of prescription discontinuation Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | |||||
![]() ![]() |
1..1 | CodeableConcept | Prescription message type Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Coding | Prescription message type | |||||
![]() ![]() ![]() ![]() |
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 - Reseptisanoman tyyppi'. Fixed Value: urn:oid:1.2.246.537.5.40105.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 - Reseptisanoman tyyppi' | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(MedicationListMedication) {c} | Reference to MedicationListMedication resource | |||||
![]() ![]() |
1..1 | Reference(MedicationListPatient) {c} | Reference to MedicationListPatient resource | |||||
![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Reference to MedicationlistPractitionerRole resource | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.extension:continuum.extension:medicineId.value[x].type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:id.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| MedicationRequest.identifier:setId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.statusReason | Base | example | Medication request status reason codes | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.substitution.allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.5 |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.5 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MedicationRequest | 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-4 | error | MedicationRequest | 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-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
This structure is derived from MedicationRequest
Summary
Mandatory: 19 elements(4 nested mandatory elements)
Fixed: 6 elements
Prohibited: 26 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron