Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescription
is_deletedbooleanWhether this record should be considered deleted. Data deleted at source has non-key columns set to null while primary keys are retained.
organisationvarcharAn organisation is synonymous with a pharmacy and is also known as the RXid.
stock_item_idintegerUnique identifier for the stock item.
stock_item_guidvarcharGlobally unique identifier for the stock item.
stock_item_added_date_timetimestampThe date and time the stock item was added.
stock_item_modified_date_timetimestampThe date and time the stock item was modified.
stock_levelintegerCurrent quantity of the stock item.
minimum_stockintegerMinimum quantity of the stock item to be kept in inventory.
maximum_stockintegerMaximum quantity of the stock item to be kept in inventory.
pack_code_idintegerLocal identifier of ProScript Connect packs.
product_pack_sizenumericPack size from PKB.
product_namevarcharPKB product name.
manufacturer_namevarcharPKB manufacturer name.
product_pack_typeintegerDM+D product pack type (0 = VMPP, 1 = AMPP).
product_pack_code_idintegerDM+D pack identifier (VMPP/AMPP). Relates to virtual and actual product pack entities.
virtual_product_pack_idintegerGeneric pack information corresponding to a virtual product pack.
pharmacy_idintegerForeign key to the pharmacy table.
pharmacy_namevarcharThe name of the pharmacy.
pack_pricenumericRegional preparation pack price.
pip_codevarcharPIP code is a unique identifier allocated to a specific product.
is_generic_packbooleanIdentifies whether a pack is generic or branded.
is_generic_preparationbooleanIdentifies whether a preparation is generic or branded.
is_parallel_importbooleanIndicates whether the pack is a parallel import.
is_discount_not_deductedbooleanDiscount-not-deducted (zero discount) status of the preparation/pack.
drug_tariff_categoryvarcharDrug tariff category used for pricing and reimbursement.
preparation_type_identifierintegerPharmaceutical type identifier of the preparation.
is_acbsbooleanWhether the regional preparation has ACBS approval.
contraceptive_identifierintegerContraceptive status identifier for a regional pack.
dispensable_type_identifierintegerSuitability classification for dispensed product choice lists.
is_specialbooleanWhether or not the stock item is special.
dispensed_date_timetimestampThe date and time when the item was dispensed.
dispensed_quantitynumericDispensed quantity of the latest qualifying dispense event.
dispensed_costnumericCost value of the latest qualifying dispense event.
dispensed_pricenumericPrice value of the latest qualifying dispense event.
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.
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.