- MT platform: Expanse / 6.1
This report returns a list of a patient's historical allergies from EMR, based on a user-specified medical record number.
Use this this stored procedure when you're not sure where to find data from a particular DR table or column. It searches for DR table or column names and returns relevant metadata from the DrTable_Main and DrTable_Columns (M-AT) or DrTableMain and DrTableColumns (MAGIC, C/S) tables. (For more information on searching for metadata and data storage in MEDITECH, read this blog post.)
This stored procedure is designed to help document programming objects (stored procedures and user-defined functions) so you can catalog your code and understand which MEDITECH Data Repository live tables and columns your code refers to. It will help plan for DR database schema changes and major version upgrades.