Definition
DMD Preparation provides the mapping of EMIS preparation code ID for a medication to the NHS DMD (Dictionary of Medicines and Devices) product code ID (which is also a SNOMED CT concept ID).
Information
Section titled “Information”This model contains DMD codes and their mapped EMIS codes.
What’s changing in iPCV v2
Section titled “What’s changing in iPCV v2”Schema updates for data maintenance
Section titled “Schema updates for data maintenance”- The
is_deletedcolumn has been added to indicate whether a mapping between EMIS preparation codes and DMD product codes has been marked as deleted
Benefit
Section titled “Benefit”- The
is_deletedcolumn enables more effective data maintenance by allowing customers to identify and manage obsolete mappings between EMIS preparation codes and NHS DMD product codes
Customer Action
Section titled “Customer Action”- Update your ETL processes to use the
is_deletedcolumn to filter out obsolete mappings and maintain data quality for DMD preparation code mappings
Examples
Section titled “Examples”Find codes from DMD product code
Section titled “Find codes from DMD product code”SELECT *FROM hive.explorer_ipcv.srv_mkb_mapping_dmdpreparationWHERE dmd_product_code_id = 4205211000001100List of DMD drugs with price per unit under 1
Section titled “List of DMD drugs with price per unit under 1”SELECT term AS drug_name, dmd.dmd_product_code_id, dmd.preparation_code_id, price_per_unitFROM hive.explorer_ipcv.srv_mkb_mapping_dmdpreparation AS dmdJOIN hive.explorer_ipcv.srv_mkb_drugpack AS dcON dc.dmd_product_code_id = dmd.dmd_product_code_idWHERE dc.is_deleted = FALSE AND price_per_unit < 1GROUP BY term, dmd.dmd_product_code_id, dmd.preparation_code_id, price_per_unit
