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/Location"

From OHC Network Wiki
More languages
More actions

"ModelField" values

24 rows are stored for this page
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringname
FieldTypeStringCharField(255)
NotesText<code>str</code>, required
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringdescription
FieldTypeStringCharField(255)
NotesText<code>str</code>, required
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringstatus
FieldTypeStringCharField(255)
NotesText<code>StatusChoices</code> enum
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringoperational_status
FieldTypeStringCharField(255)
NotesText<code>FacilityLocationOperationalStatusChoices</code> enum
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringsystem_availability_status
FieldTypeStringCharField(255)
NotesText<code>str</code> (read-only)
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringmode
FieldTypeStringCharField(255)
NotesText<code>FacilityLocationModeChoices</code> enum
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringlocation_type
FieldTypeStringJSONField (default=dict, nullable)
NotesText<code>Coding
FieldField typeValue
ModelStringLocation
SectionStringDescriptive
FieldStringform
FieldTypeStringCharField(255)
NotesText<code>FacilityLocationFormChoices</code> enum
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringparent
FieldTypeStringFK → FacilityLocation
NotesText<code>SET_NULL</code>, nullable. Immediate parent. Accepted on write as a UUID (<code>parent</code>); on read it's dropped in favour of the serialized parent JSON
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringroot_location
FieldTypeStringFK → self
NotesText<code>CASCADE</code>, <code>related_name=&quot;root&quot;</code>, nullable. Top of this node's tree. Excluded from specs
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringhas_children
FieldTypeStringBooleanField
NotesText<code>default=False</code>. Set <code>True</code> on the parent when a child is created. Read-only in list/retrieve specs
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringlevel_cache
FieldTypeStringIntegerField
NotesText<code>default=0</code>. Depth in the tree (<code>parent.level_cache + 1</code>)
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringparent_cache
FieldTypeStringArrayField[int]
NotesTextOrdered ancestor IDs (<code>parent.parent_cache + [parent.id]</code>)
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringcached_parent_json
FieldTypeStringJSONField (default=dict)
NotesTextSerialized parent chain (<code>FacilityLocationListSpec</code>) plus a <code>cache_expiry</code> ISO timestamp. Rebuilt lazily by <code>get_parent_json()</code>, invalidated by the cascade task. <code>cache_expiry_days = 15</code>
FieldField typeValue
ModelStringLocation
SectionStringHierarchy &amp; tree caches
FieldStringsort_index
FieldTypeStringIntegerField
NotesText<code>default=0</code>. In specs <code>int
FieldField typeValue
ModelStringLocation
SectionStringAccess &amp; encounter
FieldStringfacility
FieldTypeStringFK → facility.Facility
NotesText<code>PROTECT</code>. Owning facility. Excluded from specs — resolved from route/context
FieldField typeValue
ModelStringLocation
SectionStringAccess &amp; encounter
FieldStringfacility_organization_cache
FieldTypeStringArrayField[int]
NotesText<code>default=list</code>. Org IDs that can reach this location; rebuilt by <code>sync_organization_cache()</code>
FieldField typeValue
ModelStringLocation
SectionStringAccess &amp; encounter
FieldStringcurrent_encounter
FieldTypeStringFK → Encounter
NotesText<code>SET_NULL</code>, nullable, <code>default=None</code>. Populated from <code>FacilityLocationEncounter</code>. Excluded from the base spec; surfaced as serialized JSON in list/retrieve specs
FieldField typeValue
ModelStringLocation
SectionStringAccess &amp; encounter
FieldStringmetadata
FieldTypeStringJSONField
NotesText<code>default=dict</code>. Open extension bag for deployment-specific data
FieldField typeValue
ModelStringLocation
SectionStringFacilityLocationEncounter
FieldStringstatus
FieldTypeStringCharField(25)
NotesText<code>LocationEncounterAvailabilityStatusChoices</code>
FieldField typeValue
ModelStringLocation
SectionStringFacilityLocationEncounter
FieldStringlocation
FieldTypeStringFK → FacilityLocation
NotesTextexcluded / nested
FieldField typeValue
ModelStringLocation
SectionStringFacilityLocationEncounter
FieldStringencounter
FieldTypeStringFK → Encounter
NotesTextUUID on write, JSON on read
FieldField typeValue
ModelStringLocation
SectionStringFacilityLocationEncounter
FieldStringstart_datetime
FieldTypeStringDateTimeField
NotesText<code>datetime</code> (required)
FieldField typeValue
ModelStringLocation
SectionStringFacilityLocationEncounter
FieldStringend_datetime
FieldTypeStringDateTimeField (nullable)
NotesText<code>datetime

"Docs" values

1 row is stored for this page
FieldField typeValue
TitleStringLocation
DocTypeStringreference
DomainStringfacility
SummaryText
SidebarOrderInteger5
IntroducedInString3.0
DeprecatedInString
FHIRResourceString
ModelStringLocation
SourceFileString
StatusStringcurrent