Magentus Practice Management FHIR® Implementation Guide
1.3.4 - Release
Australia
This page is part of the Magentus Practice Management FHIR Implementation Guide (v1.3.4: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions
| Official URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference | Version: 1.3.4 | ||||
| Active as of 2026-11-06 | Computable Name: EBookingsDifference | ||||
Documents the difference between two versions of a theatre booking. Uses a structured form rather than a string to allow for easier processing.
There are three kinds of changes documented in this resources. Zero or more of each kind is included in the change resource.
ChargeItem resources that carry invoiced codes such as MBS item numbers. The reference to the added resource is provided as a FHIR reference.ChargeItem resources. The identity of the ChargeItem is provided as a string, because the resource no longer exists.ChargeItems are never changed but rather added or removed.name[0].family for a change to the last name of the first Patient name.contained[Device].deviceName[0].name identifying a change to a device name within the contained resources of another resource.Current behaviour: the platform keeps one change record per booking. Each change makes a new version of it, with the same
id. The current version holds the latest difference, and the previous versions hold the earlier ones (Basic/[id]/_history). When a booking is created, every resource in the booking is listed as added, not onlyChargeItems. After a hospital response or a cancellation, the record holds only the changes to theAppointment. A change that a hospital makes produces no change record. See Theatre Booking Content Changes.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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 Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Required Pattern: | |
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |||||
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |||||
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |||||
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |||||
![]() ![]() |
0..1 | date | When created | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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 Basic
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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 Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Required Pattern: | |
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..* | Reference() | EBooking Difference Addition URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition | |||||
![]() ![]() ![]() |
0..* | string | EBooking Difference Deletion URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion | |||||
![]() ![]() ![]() |
0..* | (Complex) | EBooking Difference Modification URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |||||
![]() ![]() |
0..1 | Reference(EBookings Appointment) | Appointment related to the difference information | |||||
![]() ![]() |
0..1 | date | When created | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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 Basic
Other representations of profile: CSV, Excel, Schematron