Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescription
pharmacy_idintegerForeign key to the pharmacy table.
ods_order_idintegerPrimary key from the ODS order table.
ods_order_item_idintegerPrimary key from the ODS order item table.
prescription_guidvarcharUnique identifier for the prescription across systems.
prescription_item_guidvarcharUnique identifier for the prescription item across systems.
order_added_datetimestampThe date and time when the order was added.
order_modified_datetimestampThe date and time when the order was last modified.
order_item_added_datetimestampThe date and time when the order item was added.
order_item_modified_datetimestampThe date and time when the order item was last modified.
local_dispensebooleanFlag indicating whether the item was dispensed locally.
descriptionvarcharDescription of the RDS order item status.
item_status_reasonvarcharDescription of the item status reason.
accuracy_check_uservarcharDisplay name of the user who performed the accuracy check.
date_accuracy_checkedtimestampThe date and time when the user performed the accuracy check.
date_clinically_checkedtimestampThe date and time when the user performed the clinical check.
clinical_check_uservarcharDisplay name of the pharmacist who performed the clinical check.
patient_full_namevarcharFormatted full name of the patient.
action_descriptionvarcharDescription of each recorded action.
quantity_orderednumericUser ordered quantity.
quantity_receivednumericQuantity that the service responded it will send back.
branch_identifiervarcharBranch identifier assigned by head office for data exchange workflows.
national_practice_codevarcharPharmacy NacsCode used to identify the pharmacy when the user logs in.
organisationvarcharAn organisation is synonymous with a pharmacy and is also known as the RXid.
row_idvarcharUnique hash generated based on column values, used to identify data changes.
last_updated_datedateDate that this record was last updated by the orchestration process.