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/Supply Request"

From OHC Network Wiki
More languages
More actions

"ModelField" values

16 rows are stored for this page
FieldField typeValue
ModelStringSupplyRequest
SectionStringSupplyRequest fields
FieldStringstatus
FieldTypeStringCharField(255)
NotesTextLifecycle status, spec-bound to <code>SupplyRequestStatusOptions</code> (see below). Required on write.
FieldField typeValue
ModelStringSupplyRequest
SectionStringSupplyRequest fields
FieldStringquantity
FieldTypeStringDecimalField
NotesText<code>max_digits=20</code>, <code>decimal_places=6</code>, nullable in DB. The write spec accepts a <code>Decimal</code> capped to <code>decimal_places=0</code> (whole numbers); the read spec returns it as an <code>int</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringSupplyRequest fields
FieldStringsupplied_item_condition
FieldTypeStringCharField(255)
NotesTextModel-only — no current spec reads or writes it, so it's unreachable through the API.
FieldField typeValue
ModelStringSupplyRequest
SectionStringSupplyRequest fields
FieldStringitem
FieldTypeStringFK → ProductKnowledge
NotesText<code>CASCADE</code>. The catalogue item being requested. Required on create, resolved server-side from an <code>external_id</code>. Cannot be changed afterwards.
FieldField typeValue
ModelStringSupplyRequest
SectionStringSupplyRequest fields
FieldStringorder
FieldTypeStringFK → RequestOrder
NotesText<code>CASCADE</code>, nullable in DB but required by the spec on both create and update. Resolved server-side from an <code>external_id</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringname
FieldTypeStringCharField(255)
NotesTextRequired.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringstatus
FieldTypeStringCharField(255)
NotesTextSpec-bound to <code>SupplyRequestOrderStatusOptions</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringnote
FieldTypeStringTextField
NotesTextOptional (<code>str
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringtags
FieldTypeStringArrayField[int]
NotesTextDefault <code>list</code>; tag IDs, not a relational join. Expanded to tag objects on read via <code>SingleFacilityTagManager</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringpriority
FieldTypeStringCharField(255)
NotesTextSpec-bound to <code>SupplyRequestPriorityOptions</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringintent
FieldTypeStringCharField(255)
NotesTextSpec-bound to <code>SupplyRequestIntentOptions</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringreason
FieldTypeStringCharField(255)
NotesTextSpec-bound to <code>SupplyRequestReason</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringcategory
FieldTypeStringCharField(255)
NotesTextSpec-bound to <code>SupplyRequestCategoryOptions</code>.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringsupplier
FieldTypeStringFK → Organization
NotesTextNullable <code>CASCADE</code>. On write, must be an organization with <code>org_type == &quot;product_supplier&quot;</code> — the server rejects anything else.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringorigin
FieldTypeStringFK → FacilityLocation
NotesTextNullable <code>CASCADE</code>, <code>related_name=&quot;origin_request_orders&quot;</code>. The sending location.
FieldField typeValue
ModelStringSupplyRequest
SectionStringRequestOrder
FieldStringdestination
FieldTypeStringFK → FacilityLocation
NotesText<code>CASCADE</code>, <code>related_name=&quot;destination_request_orders&quot;</code>. The receiving location. Required.

"Docs" values

1 row is stored for this page
FieldField typeValue
TitleStringSupply Request
DocTypeStringreference
DomainStringsupply
SummaryText
SidebarOrderInteger4
IntroducedInString3.0
DeprecatedInString
FHIRResourceString
ModelStringSupplyRequest
SourceFileString
StatusStringcurrent