Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
is_deletedbooleanIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUEfalse
code_idbigintEMIS code ID - internal identifier123456789
dmd_product_code_idbigintDictionary of Medicines and Devices (dm+d) product identifier; also a SNOMED CT concept identifier12354611500001104
model_updated_datetimetimestamp(6) with time zoneDate and time the model last updated this record2023-05-12 14:30:15.000000 UTC
old_codevarcharEMIS old codePICC555
termvarcharDescription of EMIS Code IDParacetamol 500mg tablets
transform_datetimetimestamp(6) with time zoneDate and time the data was made available in the model with a relevant change2023-05-12 14:30:15.000000 UTC

Use this query to preview recent rows and validate expected columns:

SELECT *
FROM explorer_open_safely.drug_code
LIMIT 100;