IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft)
IE Medication Events Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-header | Version: 0.1.0 | |||
| Draft as of 2026-10-09 | Computable Name: IEMpdPrescriptionGroupHeader | |||
The header of an Electronic Prescription Group (ePG): the group-level data HIQA EP Section 3 defines, which a Bundle cannot carry: the prescription group identifier (3.1), date and time of issue (3.2), prescription group status with reason (3.3), presented form (3.4), and the electronic prescriptions (eP) it groups (3.5, one action per MedicationRequest). One entry of the ePG Bundle (IEMpdElectronicPrescriptionGroup, ADR-003).
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: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests Constraints: ie-grp-status-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason Constraints: ext-1 |
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
SΣ | 1..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. |
![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. Fixed Value: order |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about |
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored |
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group |
![]() ![]() |
0..* | Annotation | Additional notes about the response | |
![]() ![]() |
SC | 1..* | BackboneElement | Proposed actions, if any Constraints: rqg-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SC | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| RequestGroup.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RequestGroup.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| RequestGroup.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RequestGroup | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RequestGroup | 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 | RequestGroup | 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 | RequestGroup | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RequestGroup | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | RequestGroup.implicitRules, RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier, RequestGroup.identifier.use, RequestGroup.identifier.type, RequestGroup.identifier.system, RequestGroup.identifier.value, RequestGroup.status, RequestGroup.intent, RequestGroup.subject, RequestGroup.authoredOn, RequestGroup.author, RequestGroup.note, RequestGroup.action, RequestGroup.action.modifierExtension, RequestGroup.action.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.action.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
| rqg-1 | error | RequestGroup.action | Must have resource or action but not both |
resource.exists() != action.exists()
|
This structure is derived from RequestGroup
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason |
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form | |
![]() ![]() |
S | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Description of identifier |
![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value |
![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() |
S | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown |
![]() ![]() |
1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order | |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about |
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored |
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group |
![]() ![]() |
0..* | Annotation | Additional notes about the response | |
![]() ![]() |
S | 1..* | BackboneElement | Proposed actions, if any |
![]() ![]() ![]() |
S | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action |
![]() ![]() ![]() |
0..0 | Sub action | ||
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests Constraints: ie-grp-status-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
SΣ | 1..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. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique 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) | ||||
![]() ![]() |
Σ | 0..* | canonical() | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
0..* | Reference(Resource) | Fulfills plan, proposal, or order | |||||
![]() ![]() |
0..* | Reference(Resource) | Request(s) replaced by this request | |||||
![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. Fixed Value: order | ||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | What's being requested/ordered | ||||
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Created as part of | |||||
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored | ||||
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group | ||||
![]() ![]() |
0..* | CodeableConcept | Why the request group is needed | |||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why the request group is needed | |||||
![]() ![]() |
0..* | Annotation | Additional notes about the response | |||||
![]() ![]() |
SC | 1..* | BackboneElement | Proposed actions, if any Constraints: rqg-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | User-visible prefix for the action (e.g. 1. or A.) | |||||
![]() ![]() ![]() |
0..1 | string | User-visible title | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Short description of the action | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | ||||
![]() ![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Code representing the meaning of the action or sub-actions | |||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Supporting documentation for the intended performer of the action | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Whether or not the action is applicable | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | code | applicability | start | stop Binding: ActionConditionKind (required): The kind of condition for the action. | |||||
![]() ![]() ![]() ![]() |
0..1 | Expression | Boolean-valued expression | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Relationship to another action | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | id | What action this is related to | |||||
![]() ![]() ![]() ![]() |
1..1 | code | before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end Binding: ActionRelationshipType (required): Defines the types of relationships between actions. | |||||
![]() ![]() ![]() ![]() |
0..1 | Time offset for the relationship | ||||||
![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
0..1 | When the action should take place | ||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device) | Who should perform the action | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | create | update | remove | fire-event Binding: ActionType (extensible): The type of action to be performed. | |||||
![]() ![]() ![]() |
0..1 | code | visual-group | logical-group | sentence-group Binding: ActionGroupingBehavior (required): Defines organization behavior of a group. | |||||
![]() ![]() ![]() |
0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: ActionSelectionBehavior (required): Defines selection behavior of a group. | |||||
![]() ![]() ![]() |
0..1 | code | must | could | must-unless-documented Binding: ActionRequiredBehavior (required): Defines expectations around whether an action or action group is required. | |||||
![]() ![]() ![]() |
0..1 | code | yes | no Binding: ActionPrecheckBehavior (required): Defines selection frequency behavior for an action or group. | |||||
![]() ![]() ![]() |
0..1 | code | single | multiple Binding: ActionCardinalityBehavior (required): Defines behavior for an action or a group for how many times that item may be repeated. | |||||
![]() ![]() ![]() |
SC | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| RequestGroup.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RequestGroup.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| RequestGroup.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| RequestGroup.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.condition.kind | Base | required | ActionConditionKind | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.relatedAction.relationship | Base | required | ActionRelationshipType | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.type | Base | extensible | ActionType | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.groupingBehavior | Base | required | ActionGroupingBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.selectionBehavior | Base | required | ActionSelectionBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.requiredBehavior | Base | required | ActionRequiredBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.precheckBehavior | Base | required | ActionPrecheckBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.cardinalityBehavior | Base | required | ActionCardinalityBehavior | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RequestGroup | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RequestGroup | 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 | RequestGroup | 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 | RequestGroup | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RequestGroup | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | RequestGroup.meta, RequestGroup.implicitRules, RequestGroup.language, RequestGroup.text, RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier, RequestGroup.identifier.extension, RequestGroup.identifier.use, RequestGroup.identifier.type, RequestGroup.identifier.system, RequestGroup.identifier.value, RequestGroup.identifier.period, RequestGroup.identifier.assigner, RequestGroup.instantiatesCanonical, RequestGroup.instantiatesUri, RequestGroup.basedOn, RequestGroup.replaces, RequestGroup.groupIdentifier, RequestGroup.status, RequestGroup.intent, RequestGroup.priority, RequestGroup.code, RequestGroup.subject, RequestGroup.encounter, RequestGroup.authoredOn, RequestGroup.author, RequestGroup.reasonCode, RequestGroup.reasonReference, RequestGroup.note, RequestGroup.action, RequestGroup.action.extension, RequestGroup.action.modifierExtension, RequestGroup.action.prefix, RequestGroup.action.title, RequestGroup.action.description, RequestGroup.action.textEquivalent, RequestGroup.action.priority, RequestGroup.action.code, RequestGroup.action.documentation, RequestGroup.action.condition, RequestGroup.action.condition.extension, RequestGroup.action.condition.modifierExtension, RequestGroup.action.condition.kind, RequestGroup.action.condition.expression, RequestGroup.action.relatedAction, RequestGroup.action.relatedAction.extension, RequestGroup.action.relatedAction.modifierExtension, RequestGroup.action.relatedAction.actionId, RequestGroup.action.relatedAction.relationship, RequestGroup.action.relatedAction.offset[x], RequestGroup.action.timing[x], RequestGroup.action.participant, RequestGroup.action.type, RequestGroup.action.groupingBehavior, RequestGroup.action.selectionBehavior, RequestGroup.action.requiredBehavior, RequestGroup.action.precheckBehavior, RequestGroup.action.cardinalityBehavior, RequestGroup.action.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier.extension, RequestGroup.action.extension, RequestGroup.action.modifierExtension, RequestGroup.action.condition.extension, RequestGroup.action.condition.modifierExtension, RequestGroup.action.relatedAction.extension, RequestGroup.action.relatedAction.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
| rqg-1 | error | RequestGroup.action | Must have resource or action but not both |
resource.exists() != action.exists()
|
This structure is derived from RequestGroup
Summary
Mandatory: 9 elements
Must-Support: 11 elements
Fixed: 1 element
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests Constraints: ie-grp-status-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason Constraints: ext-1 |
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
SΣ | 1..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. |
![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. Fixed Value: order |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about |
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored |
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group |
![]() ![]() |
0..* | Annotation | Additional notes about the response | |
![]() ![]() |
SC | 1..* | BackboneElement | Proposed actions, if any Constraints: rqg-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SC | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| RequestGroup.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RequestGroup.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| RequestGroup.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RequestGroup | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RequestGroup | 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 | RequestGroup | 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 | RequestGroup | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RequestGroup | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | RequestGroup.implicitRules, RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier, RequestGroup.identifier.use, RequestGroup.identifier.type, RequestGroup.identifier.system, RequestGroup.identifier.value, RequestGroup.status, RequestGroup.intent, RequestGroup.subject, RequestGroup.authoredOn, RequestGroup.author, RequestGroup.note, RequestGroup.action, RequestGroup.action.modifierExtension, RequestGroup.action.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.action.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
| rqg-1 | error | RequestGroup.action | Must have resource or action but not both |
resource.exists() != action.exists()
|
Differential View
This structure is derived from RequestGroup
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason |
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form | |
![]() ![]() |
S | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Description of identifier |
![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value |
![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() |
S | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown |
![]() ![]() |
1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order | |
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about |
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored |
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group |
![]() ![]() |
0..* | Annotation | Additional notes about the response | |
![]() ![]() |
S | 1..* | BackboneElement | Proposed actions, if any |
![]() ![]() ![]() |
S | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action |
![]() ![]() ![]() |
0..0 | Sub action | ||
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | RequestGroup(4.0.1) | A group of related requests Constraints: ie-grp-status-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IE MPD Prescription Group Status Reason URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | Attachment | IE MPD Presented Form URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-presented-form Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Prescription group identifier (HIQA EP 3.1) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
SΣ | 1..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. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique 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) | ||||
![]() ![]() |
Σ | 0..* | canonical() | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
0..* | Reference(Resource) | Fulfills plan, proposal, or order | |||||
![]() ![]() |
0..* | Reference(Resource) | Request(s) replaced by this request | |||||
![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. Fixed Value: order | ||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | What's being requested/ordered | ||||
![]() ![]() |
S | 1..1 | Reference(IE MPD Patient (ePrescription/eDispensation)(0.1.0)) | Who the request group is about | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Created as part of | |||||
![]() ![]() |
S | 1..1 | dateTime | When the request group was authored | ||||
![]() ![]() |
S | 1..1 | Reference(IE MPD PractitionerRole(0.1.0) | IE MPD Practitioner(0.1.0)) | Device or practitioner that authored the request group | ||||
![]() ![]() |
0..* | CodeableConcept | Why the request group is needed | |||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why the request group is needed | |||||
![]() ![]() |
0..* | Annotation | Additional notes about the response | |||||
![]() ![]() |
SC | 1..* | BackboneElement | Proposed actions, if any Constraints: rqg-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | User-visible prefix for the action (e.g. 1. or A.) | |||||
![]() ![]() ![]() |
0..1 | string | User-visible title | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Short description of the action | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | ||||
![]() ![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Code representing the meaning of the action or sub-actions | |||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Supporting documentation for the intended performer of the action | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Whether or not the action is applicable | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | code | applicability | start | stop Binding: ActionConditionKind (required): The kind of condition for the action. | |||||
![]() ![]() ![]() ![]() |
0..1 | Expression | Boolean-valued expression | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Relationship to another action | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | id | What action this is related to | |||||
![]() ![]() ![]() ![]() |
1..1 | code | before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end Binding: ActionRelationshipType (required): Defines the types of relationships between actions. | |||||
![]() ![]() ![]() ![]() |
0..1 | Time offset for the relationship | ||||||
![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
0..1 | When the action should take place | ||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device) | Who should perform the action | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | create | update | remove | fire-event Binding: ActionType (extensible): The type of action to be performed. | |||||
![]() ![]() ![]() |
0..1 | code | visual-group | logical-group | sentence-group Binding: ActionGroupingBehavior (required): Defines organization behavior of a group. | |||||
![]() ![]() ![]() |
0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: ActionSelectionBehavior (required): Defines selection behavior of a group. | |||||
![]() ![]() ![]() |
0..1 | code | must | could | must-unless-documented Binding: ActionRequiredBehavior (required): Defines expectations around whether an action or action group is required. | |||||
![]() ![]() ![]() |
0..1 | code | yes | no Binding: ActionPrecheckBehavior (required): Defines selection frequency behavior for an action or group. | |||||
![]() ![]() ![]() |
0..1 | code | single | multiple Binding: ActionCardinalityBehavior (required): Defines behavior for an action or a group for how many times that item may be repeated. | |||||
![]() ![]() ![]() |
SC | 1..1 | Reference(IE MPD MedicationRequest (ePrescription)(0.1.0)) | The target of the action | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| RequestGroup.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| RequestGroup.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| RequestGroup.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| RequestGroup.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| RequestGroup.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.condition.kind | Base | required | ActionConditionKind | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.relatedAction.relationship | Base | required | ActionRelationshipType | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.type | Base | extensible | ActionType | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.groupingBehavior | Base | required | ActionGroupingBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.selectionBehavior | Base | required | ActionSelectionBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.requiredBehavior | Base | required | ActionRequiredBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.precheckBehavior | Base | required | ActionPrecheckBehavior | 📍4.0.1 | FHIR Std. |
| RequestGroup.action.cardinalityBehavior | Base | required | ActionCardinalityBehavior | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | RequestGroup | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | RequestGroup | 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 | RequestGroup | 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 | RequestGroup | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | RequestGroup | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | RequestGroup.meta, RequestGroup.implicitRules, RequestGroup.language, RequestGroup.text, RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier, RequestGroup.identifier.extension, RequestGroup.identifier.use, RequestGroup.identifier.type, RequestGroup.identifier.system, RequestGroup.identifier.value, RequestGroup.identifier.period, RequestGroup.identifier.assigner, RequestGroup.instantiatesCanonical, RequestGroup.instantiatesUri, RequestGroup.basedOn, RequestGroup.replaces, RequestGroup.groupIdentifier, RequestGroup.status, RequestGroup.intent, RequestGroup.priority, RequestGroup.code, RequestGroup.subject, RequestGroup.encounter, RequestGroup.authoredOn, RequestGroup.author, RequestGroup.reasonCode, RequestGroup.reasonReference, RequestGroup.note, RequestGroup.action, RequestGroup.action.extension, RequestGroup.action.modifierExtension, RequestGroup.action.prefix, RequestGroup.action.title, RequestGroup.action.description, RequestGroup.action.textEquivalent, RequestGroup.action.priority, RequestGroup.action.code, RequestGroup.action.documentation, RequestGroup.action.condition, RequestGroup.action.condition.extension, RequestGroup.action.condition.modifierExtension, RequestGroup.action.condition.kind, RequestGroup.action.condition.expression, RequestGroup.action.relatedAction, RequestGroup.action.relatedAction.extension, RequestGroup.action.relatedAction.modifierExtension, RequestGroup.action.relatedAction.actionId, RequestGroup.action.relatedAction.relationship, RequestGroup.action.relatedAction.offset[x], RequestGroup.action.timing[x], RequestGroup.action.participant, RequestGroup.action.type, RequestGroup.action.groupingBehavior, RequestGroup.action.selectionBehavior, RequestGroup.action.requiredBehavior, RequestGroup.action.precheckBehavior, RequestGroup.action.cardinalityBehavior, RequestGroup.action.resource | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | RequestGroup.extension, RequestGroup.extension:statusReason, RequestGroup.extension:presentedForm, RequestGroup.modifierExtension, RequestGroup.identifier.extension, RequestGroup.action.extension, RequestGroup.action.modifierExtension, RequestGroup.action.condition.extension, RequestGroup.action.condition.modifierExtension, RequestGroup.action.relatedAction.extension, RequestGroup.action.relatedAction.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| ie-grp-status-1 | error | RequestGroup | A status reason SHALL be given unless the prescription is active, completed or draft (HIQA EP 3.3.2) |
status = 'active' or status = 'completed' or status = 'draft' or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-prescription-group-status-reason').exists()
|
| rqg-1 | error | RequestGroup.action | Must have resource or action but not both |
resource.exists() != action.exists()
|
This structure is derived from RequestGroup
Summary
Mandatory: 9 elements
Must-Support: 11 elements
Fixed: 1 element
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron