Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

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

## Resource Profile: EBookings Theatre List

Official URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list | Version: 1.2.60
Active as of 2026-04-05 | Computable Name: EBookingsTheatreList

EBookings theatre list that defines a snapshot of bookings/appointment at a point in time. This will have a status of draft or final. The theatre list may be shared with participants of the appointment or beyond. All listed bookings should be contained copies at the point in time at which the theatre list was created.

Usages:

- Examples for this Profile: List/TheatreListExample

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List | C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Required Pattern: current
mode | ?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Required Pattern: snapshot
date | S Σ | 1..1 | dateTime | When the theatre list was prepared
source | Σ | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
entry | S C | 1..* | BackboneElement | Theatre booking for a single booking
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
deleted | ?!C | 0..1 | boolean | If this item is actually marked as deleted
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std.
List.mode | Base | required | ListMode | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | List | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | List | 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 | List | 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 | List | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | List | 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()`
lst-1 | error | List | A list can only have an emptyReason if it is empty | `emptyReason.empty() or entry.empty()`
lst-2 | error | List | The deleted flag can only be used if the mode of the list is "changes" | `mode = 'changes' or entry.deleted.empty()`
lst-3 | error | List | An entry date can only be used if the mode of the list is "working" | `mode = 'working' or entry.date.empty()`

This structure is derived from List

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List |  | 0..* | List | A list is a curated collection of resources
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
status |  | 1..1 | code | current | retired | entered-in-error Required Pattern: current
mode |  | 1..1 | code | working | snapshot | changes Required Pattern: snapshot
code |  |  |  |
coding |  | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 225738002
display |  | 1..1 | string | Representation defined by the system Fixed Value: Operating room
subject |  | 0..0 |  | If all resources have the same subject
encounter |  | 0..0 |  | Context in which list created
date | S | 1..1 | dateTime | When the theatre list was prepared
source |  | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
entry | S | 1..* | BackboneElement | Theatre booking for a single booking
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List | C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3
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 Bindings | Purpose
AllLanguages | Max Binding
text |  | 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
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier | Business identifier
status | ?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Required Pattern: current
mode | ?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Required Pattern: snapshot
title | Σ | 0..1 | string | Descriptive name for the list Example General: Dr. Jane's Patients
code | Σ | 0..1 | CodeableConcept | What the purpose of this list is Binding: ExampleUseCodesForList (example): What the purpose of a list is.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
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://snomed.info/sct
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 225738002
display |  | 1..1 | string | Representation defined by the system Fixed Value: Operating room
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
date | S Σ | 1..1 | dateTime | When the theatre list was prepared
source | Σ | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
orderedBy |  | 0..1 | CodeableConcept | What order the list has Binding: ListOrderCodes (preferred): What order applies to the items in a list.
note |  | 0..* | Annotation | Comments about the list
entry | S C | 1..* | BackboneElement | Theatre booking for a single booking
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
flag |  | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
deleted | ?!C | 0..1 | boolean | If this item is actually marked as deleted
date |  | 0..1 | dateTime | When item added to list
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
emptyReason | C | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
List.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std.
List.mode | Base | required | ListMode | 📍4.0.1 | FHIR Std.
List.code | Base | example | Example Use Codes for List | 📍4.0.1 | FHIR Std.
List.orderedBy | Base | preferred | List Order Codes | 📍4.0.1 | FHIR Std.
List.entry.flag | Base | example | Patient Medicine Change Types | 📍4.0.1 | FHIR Std.
List.emptyReason | Base | preferred | List Empty Reasons | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | List | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | List | 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 | List | 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 | List | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | List | 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()`
lst-1 | error | List | A list can only have an emptyReason if it is empty | `emptyReason.empty() or entry.empty()`
lst-2 | error | List | The deleted flag can only be used if the mode of the list is "changes" | `mode = 'changes' or entry.deleted.empty()`
lst-3 | error | List | An entry date can only be used if the mode of the list is "working" | `mode = 'working' or entry.date.empty()`

This structure is derived from List

Summary

Mandatory: 14 elements(1 nested mandatory element)
Must-Support: 15 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

- EBookings Appointment Base (http://fhir.geniesolutions.io/StructureDefinition/ebookings-appointment-base)
- Genie Coverage (http://fhir.geniesolutions.io/StructureDefinition/gs-coverage)
- Genie Practitioner (http://fhir.geniesolutions.io/StructureDefinition/gs-practitioner)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- EBookings Patient (http://fhir.geniesolutions.io/StructureDefinition/ebookings-patient)
- EBookings Prosthesis Device (http://fhir.geniesolutions.io/StructureDefinition/ebookings-prosthesis)
- Genie PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/gs-practitionerrole)

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of List.contained (Closed)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List | C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Required Pattern: current
mode | ?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Required Pattern: snapshot
date | S Σ | 1..1 | dateTime | When the theatre list was prepared
source | Σ | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
entry | S C | 1..* | BackboneElement | Theatre booking for a single booking
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
deleted | ?!C | 0..1 | boolean | If this item is actually marked as deleted
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std.
List.mode | Base | required | ListMode | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | List | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | List | 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 | List | 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 | List | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | List | 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()`
lst-1 | error | List | A list can only have an emptyReason if it is empty | `emptyReason.empty() or entry.empty()`
lst-2 | error | List | The deleted flag can only be used if the mode of the list is "changes" | `mode = 'changes' or entry.deleted.empty()`
lst-3 | error | List | An entry date can only be used if the mode of the list is "working" | `mode = 'working' or entry.date.empty()`

Differential View

This structure is derived from List

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List |  | 0..* | List | A list is a curated collection of resources
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
status |  | 1..1 | code | current | retired | entered-in-error Required Pattern: current
mode |  | 1..1 | code | working | snapshot | changes Required Pattern: snapshot
code |  |  |  |
coding |  | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 225738002
display |  | 1..1 | string | Representation defined by the system Fixed Value: Operating room
subject |  | 0..0 |  | If all resources have the same subject
encounter |  | 0..0 |  | Context in which list created
date | S | 1..1 | dateTime | When the theatre list was prepared
source |  | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
entry | S | 1..* | BackboneElement | Theatre booking for a single booking
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
List | C | 0..* | List | A list is a curated collection of resources Constraints: lst-1, lst-2, lst-3
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 Bindings | Purpose
AllLanguages | Max Binding
text |  | 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
Slices for contained |  | 8..* | Resource | Contained, inline Resources Slice: Unordered, Closed by type:$this
contained:booking | S | 1..* | EBookingsAppointmentBase | Appointment base
contained:coverage | S | 1..* | GSCoverage | Insurance or medical plan or a payment agreement
contained:servicerequest | S | 1..* | ServiceRequest | Contained, inline Resources
contained:practitioner | S | 1..* | GSPractitioner | A person with a formal responsibility in the provisioning of services
contained:organization | S | 1..1 | GSOrganization | An organisation in an Australian healthcare context
contained:hospital | S | 1..1 | GSHealthcareService | A healthcare service in an Australian healthcare context
contained:patient | S | 1..* | EBookingsPatient | A patient in an Australian healthcare context
contained:prosthesis | S | 0..* | EBookingsProsthesis | Item used in healthcare
contained:practitionerrole | S | 1..* | GSPractitionerRole | A person with formal responsibility in a role providing one or more services
Slices for extension |  | 4..* | Extension | Extension Slice: Unordered, Open by value:url
extension:hospital | S | 1..1 | Reference(Genie HealthcareService) | EBookings Theatre List Hospital Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
extension:vmo | S | 1..1 | Reference(Genie PractitionerRole) | EBookings Theatre List VMO Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
extension:period | S | 1..1 | Period | EBookings Theatre List Period Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
extension:theatreliststatus | S | 1..1 | Coding | EBookings Theatre List Status Extension URL: http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext Binding: Theatre list status valueSet (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier | Business identifier
status | ?!Σ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required): The current state of the list. Required Pattern: current
mode | ?!Σ | 1..1 | code | working | snapshot | changes Binding: ListMode (required): The processing mode that applies to this list. Required Pattern: snapshot
title | Σ | 0..1 | string | Descriptive name for the list Example General: Dr. Jane's Patients
code | Σ | 0..1 | CodeableConcept | What the purpose of this list is Binding: ExampleUseCodesForList (example): What the purpose of a list is.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..1 | Coding | Code defined by a terminology system Required Pattern: At least the following
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://snomed.info/sct
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 225738002
display |  | 1..1 | string | Representation defined by the system Fixed Value: Operating room
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
date | S Σ | 1..1 | dateTime | When the theatre list was prepared
source | Σ | 0..1 | Reference(Genie PractitionerRole | Genie Practitioner) | Who defined the theatre list (aka Author)
orderedBy |  | 0..1 | CodeableConcept | What order the list has Binding: ListOrderCodes (preferred): What order applies to the items in a list.
note |  | 0..* | Annotation | Comments about the list
entry | S C | 1..* | BackboneElement | Theatre booking for a single booking
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
flag |  | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
deleted | ?!C | 0..1 | boolean | If this item is actually marked as deleted
date |  | 0..1 | dateTime | When item added to list
item |  | 1..1 | Reference(EBookings Appointment Base) | Actual entry
emptyReason | C | 0..1 | CodeableConcept | Why list is empty Binding: ListEmptyReasons (preferred): If a list is empty, why it is empty.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
List.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
List.status | Base | required | ListStatus | 📍4.0.1 | FHIR Std.
List.mode | Base | required | ListMode | 📍4.0.1 | FHIR Std.
List.code | Base | example | Example Use Codes for List | 📍4.0.1 | FHIR Std.
List.orderedBy | Base | preferred | List Order Codes | 📍4.0.1 | FHIR Std.
List.entry.flag | Base | example | Patient Medicine Change Types | 📍4.0.1 | FHIR Std.
List.emptyReason | Base | preferred | List Empty Reasons | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | List | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | List | 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 | List | 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 | List | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | List | 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()`
lst-1 | error | List | A list can only have an emptyReason if it is empty | `emptyReason.empty() or entry.empty()`
lst-2 | error | List | The deleted flag can only be used if the mode of the list is "changes" | `mode = 'changes' or entry.deleted.empty()`
lst-3 | error | List | An entry date can only be used if the mode of the list is "working" | `mode = 'working' or entry.date.empty()`

This structure is derived from List

Summary

Mandatory: 14 elements(1 nested mandatory element)
Must-Support: 15 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

- EBookings Appointment Base (http://fhir.geniesolutions.io/StructureDefinition/ebookings-appointment-base)
- Genie Coverage (http://fhir.geniesolutions.io/StructureDefinition/gs-coverage)
- Genie Practitioner (http://fhir.geniesolutions.io/StructureDefinition/gs-practitioner)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- EBookings Patient (http://fhir.geniesolutions.io/StructureDefinition/ebookings-patient)
- EBookings Prosthesis Device (http://fhir.geniesolutions.io/StructureDefinition/ebookings-prosthesis)
- Genie PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/gs-practitionerrole)

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-hospital-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-vmo-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-period-ext
- http://fhir.geniesolutions.io/StructureDefinition/ebookings-theatre-list-status-ext

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of List.contained (Closed)

Other representations of profile: CSV, Excel, Schematron