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 Delivery"

From OHC Network Wiki
More languages
More actions

"ModelField" values

21 rows are stored for this page
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item & quantity
FieldStringsupplied_item
FieldTypeStringFK → Product (CASCADE)
NotesTextNullable. The product delivered. Required at the API layer only when the order has no <code>origin</code> (external delivery); scoped to <code>order.destination.facility</code> on write
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item &amp; quantity
FieldStringsupplied_inventory_item
FieldTypeStringFK → InventoryItem (CASCADE)
NotesTextNullable. Specific inventory item (batch/lot) drawn from. Required at the API layer when the order has an <code>origin</code> (intra-facility move); scoped to <code>order.origin.facility</code>
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item &amp; quantity
FieldStringsupplied_item_quantity
FieldTypeStringDecimalField(max_digits=20, decimal_places=6)
NotesTextNullable in DB. On write a <code>Decimal</code> with <code>decimal_places=0</code> (whole units); on read serialized as <code>int</code>. Auto-derived as <code>pack_quantity × pack_size</code> when both are given
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item &amp; quantity
FieldStringsupplied_item_pack_quantity
FieldTypeStringIntegerField
NotesTextNullable; default <code>None</code>. Number of packs delivered
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item &amp; quantity
FieldStringsupplied_item_pack_size
FieldTypeStringIntegerField
NotesTextNullable; default <code>None</code>. Units per pack
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDelivered item &amp; quantity
FieldStringsupplied_item_condition
FieldTypeStringCharField(255)
NotesTextOptional. Condition of the delivered item — enum <code>SupplyDeliveryConditionOptions</code> (see below)
FieldField typeValue
ModelStringSupplyDelivery
SectionStringStatus &amp; classification
FieldStringstatus
FieldTypeStringCharField(255)
NotesTextRequired. Lifecycle state — enum <code>SupplyDeliveryStatusOptions</code> (see below)
FieldField typeValue
ModelStringSupplyDelivery
SectionStringStatus &amp; classification
FieldStringdelivery_type
FieldTypeStringCharField(255)
NotesTextEnum <code>SupplyDeliveryTypeOptions</code> (<code>product</code> / <code>device</code>). Stored on the model but not exposed on the current Create/Update specs, so it can't be set through the API
FieldField typeValue
ModelStringSupplyDelivery
SectionStringLinks &amp; pricing
FieldStringsupply_request
FieldTypeStringFK → SupplyRequest (CASCADE)
NotesTextNullable. Request this delivery fulfils. Set by <code>external_id</code> on write
FieldField typeValue
ModelStringSupplyDelivery
SectionStringLinks &amp; pricing
FieldStringorder
FieldTypeStringFK → DeliveryOrder (CASCADE)
NotesTextNullable in DB, but '''required on create''' (referenced by <code>external_id</code>). Optional on update
FieldField typeValue
ModelStringSupplyDelivery
SectionStringLinks &amp; pricing
FieldStringtotal_purchase_price
FieldTypeStringDecimalField(max_digits=20, decimal_places=6)
NotesTextNullable. Total purchase cost. Spec: <code>Decimal</code> <code>max_digits=20, decimal_places=6</code>
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringname
FieldTypeStringCharField(255)
NotesTextRequired. Human-readable order name
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringstatus
FieldTypeStringCharField(255)
NotesTextRequired. Order lifecycle — enum <code>SupplyDeliveryOrderStatusOptions</code> (see below)
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringnote
FieldTypeStringTextField
NotesTextNullable. Free-text note
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringtags
FieldTypeStringArrayField[int]
NotesTextDefault <code>[]</code>. Tag IDs; rendered via <code>SingleFacilityTagManager</code> on read
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringsupplier
FieldTypeStringFK → Organization (CASCADE)
NotesTextNullable. On write must be an Organization with <code>org_type = product_supplier</code>
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringorigin
FieldTypeStringFK → FacilityLocation (CASCADE)
NotesTextNullable. Source location; absence means stock is entering from an external <code>supplier</code>
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringdestination
FieldTypeStringFK → FacilityLocation (CASCADE)
NotesText'''Required.''' Receiving location
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringpatient
FieldTypeStringFK → Patient (PROTECT)
NotesTextNullable. Patient the order is dispensed to. Cannot be set together with <code>origin</code>
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringpatient_invoice
FieldTypeStringFK → Invoice (PROTECT)
NotesTextNullable. Linked billing invoice; serialized as <code>patient_invoice_id</code> on read
FieldField typeValue
ModelStringSupplyDelivery
SectionStringDeliveryOrder
FieldStringextensions
FieldTypeStringJSONField
NotesTextDefault <code>{}</code>. Validated for <code>ExtensionResource.supply_delivery_order</code>

"Docs" values

1 row is stored for this page
FieldField typeValue
TitleStringSupply Delivery
DocTypeStringreference
DomainStringsupply
SummaryText
SidebarOrderInteger5
IntroducedInString3.0
DeprecatedInString
FHIRResourceString
ModelStringSupplyDelivery
SourceFileString
StatusStringcurrent