Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
is_deletedbooleanIf this record should be considered soft deletedFALSE
preparation_code_idbigintEMIS code_id - internal identifier for the drug preparation123456
preparation_pack_idbigintPK The identifier for the preparation in a given pack78901
supplier_namevarcharThe name of the supplier/manufacturer’Examplus Healthcare Ltd’
termvarcharDescription of the drug or medication’Metformin 500mg tablets’
dmd_product_code_idbigintDictionary of Medicines and Devices (dm+d) product identifier123456789
pack_descriptionvarcharA description of the pack’28 tablet’
units_per_packdoubleHow many of the unit of measure is contained in the pack28.0
unit_of_measurevarcharThe unit type for the medication (e.g., tablets, ml)‘tablet’
pack_pricerealHow much the pack costs1.42
price_per_unitrealCost of an individual unit of measure (pack price / units per pack)0.0507
is_guide_price_packbooleanIndicates if pack price is the amount NHS will reimburse prescriberTRUE
is_breakablebooleanIf you can break a pack i.e. it comes in 12, you only need 10, can you do this?FALSE
is_divisiblebooleanIf this preparation is divisibleFALSE
organisationvarcharThe organisation that this data was replicated from’EMIS’
transform_datetimetimestamp(6) with time zoneThe datetime that the data was made available in the model with a relevant change’2023-05-12 14:30:15.000 UTC’
_execution_datevarcharFormatted transform datetime for versioning’20230512143015’

Not used in this schema

Refer to the definition / universal-improvements page for detailed differences between v1 and v2 of this model.

Columns NameData TypesData Exists in v1Data Exists in v2Comments
is_deletedboolean
emis_code_idbigint
prep_pack_idbigint
supplier_namevarchar
emis_termvarchar
dmd_productcode_idbigint
pack_descriptionvarchar
units_per_packdouble
uomvarchar
pack_pricereal
price_per_unitreal
is_guide_price_pack_flagboolean
is_breakable_flagboolean
non_divisible_flagboolean
organisationvarchar
transform_datetimetimestamp(6) with time zone
_execution_datevarchar

Not used in this schema

Not used in this schema

Not used in this schema

Not used in this schema

Not used in this schema

Not used in this schema

Not used in this schema