Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Page values for "References/Booking"

From OHC Network Wiki
More languages
More actions

"ModelField" values

14 rows are stored for this page
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringtoken_slot
FieldTypeStringFK → TokenSlot (PROTECT)
NotesTextThe slot this appointment occupies; required. PROTECT prevents deleting a slot that has bookings
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringpatient
FieldTypeStringFK → emr.Patient (CASCADE)
NotesTextThe booked patient; required
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringbooked_on
FieldTypeStringDateTimeField
NotesText<code>auto_now_add</code> — stamped once at creation, never accepted from clients
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringbooked_by
FieldTypeStringFK → User (CASCADE)
NotesTextUser who created the booking; nullable for self-service or system-created bookings
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringnote
FieldTypeStringTextField
NotesTextFree-text note; nullable in storage but required (<code>str</code>) on write
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringtags
FieldTypeStringArrayField[int]
NotesTextTag IDs, default empty list. Managed via <code>SingleFacilityTagManager</code>; reads return rendered tag objects, not raw IDs
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringassociated_encounter
FieldTypeStringFK → emr.Encounter (PROTECT)
NotesTextEncounter linked to the appointment; nullable, defaults to <code>None</code>. Surfaced only by <code>TokenBookingRetrieveSpec</code>
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringtoken
FieldTypeStringFK → emr.Token (PROTECT)
NotesTextQueue token issued for this booking; nullable, defaults to <code>None</code>, <code>related_name=&quot;token_booking&quot;</code>. Created by the <code>generate_token</code> action
FieldField typeValue
ModelStringBooking
SectionStringTokenBooking fields
FieldStringcharge_item
FieldTypeStringFK → emr.ChargeItem (CASCADE)
NotesTextBilling charge item for the appointment; nullable. Auto-created on booking when the schedule has a <code>charge_item_definition</code>
FieldField typeValue
ModelStringBooking
SectionStringTokenSlot
FieldStringresource
FieldTypeStringFK → SchedulableResource (CASCADE)
NotesTextThe schedulable resource — practitioner, location, or healthcare service — the slot belongs to; required
FieldField typeValue
ModelStringBooking
SectionStringTokenSlot
FieldStringavailability
FieldTypeStringFK → Availability (CASCADE)
NotesTextThe availability rule that generated this slot; nullable
FieldField typeValue
ModelStringBooking
SectionStringTokenSlot
FieldStringstart_datetime
FieldTypeStringDateTimeField
NotesTextSlot start; required, tz-aware
FieldField typeValue
ModelStringBooking
SectionStringTokenSlot
FieldStringend_datetime
FieldTypeStringDateTimeField
NotesTextSlot end; required, tz-aware
FieldField typeValue
ModelStringBooking
SectionStringTokenSlot
FieldStringallocated
FieldTypeStringIntegerField
NotesTextCount of bookings currently allocated to the slot, used to enforce capacity. Defaults to <code>0</code>. Platform-maintained — never written by clients

"Docs" values

1 row is stored for this page
FieldField typeValue
TitleStringBooking
DocTypeStringreference
DomainStringscheduling
SummaryText
SidebarOrderInteger2
IntroducedInString3.0
DeprecatedInString
FHIRResourceString
ModelStringBooking
SourceFileString
StatusStringcurrent