Magentus Practice Management FHIR Implementation Guide
1.2.39 - ci-build Australia flag

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.39) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: EBooking Difference Between Appointment Versions

Official URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference Version: 1.2.39
Draft as of 2025-06-12 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.

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..* Basic Resource for non-supported content
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... code ?!SΣ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
... subject Σ 0..1 Reference(EBookings Appointment) Appointment related to the difference information
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.codeexamplePattern: Difference
http://hl7.org/fhir/ValueSet/basic-resource-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Basic

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic Basic
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
... code S 1..1 CodeableConcept Kind of Resource
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
... subject 0..1 Reference(EBookings Appointment) Appointment related to the difference information

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..* Basic Resource for non-supported content
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier
... code ?!SΣ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.


Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(EBookings Appointment) Appointment related to the difference information
... created Σ 0..1 date When created
... author Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) Who created

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Basic.codeexamplePattern: Difference
http://hl7.org/fhir/ValueSet/basic-resource-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..* Basic Resource for non-supported content
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... code ?!SΣ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
... subject Σ 0..1 Reference(EBookings Appointment) Appointment related to the difference information
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.codeexamplePattern: Difference
http://hl7.org/fhir/ValueSet/basic-resource-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Basic

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic Basic
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
... code S 1..1 CodeableConcept Kind of Resource
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
... subject 0..1 Reference(EBookings Appointment) Appointment related to the difference information

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..* Basic Resource for non-supported content
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:addition S 0..* Reference() EBooking Difference Addition
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-addition
.... extension:deletion S 0..* string EBooking Difference Deletion
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-deletion
.... extension:modification S 0..* (Complex) EBooking Difference Modification
URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-difference-modification
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier
... code ?!SΣ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.


Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: Difference
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(EBookings Appointment) Appointment related to the difference information
... created Σ 0..1 date When created
... author Σ 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) Who created

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Basic.codeexamplePattern: Difference
http://hl7.org/fhir/ValueSet/basic-resource-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron