Data Repository Talk

MEDITECH Data Repository Library of Resources

Welcome to the Data Repository Network, your library of free SQL report downloads for MEDITECH DR. Based on our 18+ years of custom DR development from MEDITECH hospitals like yours, these simplified reports and T-SQL functions are your building blocks for writing and deploying your own custom reports, and include versions for all MEDITECH platforms: MAGIC, C/S, 6.0 and 6.1. Each report includes a SQL stored procedure and Visual Studio .rdl file so you can get up and running quickly.


Age All

Returns the age in years between two dates, including the age in "xM xD" format for pediatric patients.

Name Suffix Parse

Returns a patient's suffix (JR, SR, etc.), if present, from expressions with data in "LAST,FIRST MI..." format.

Middle Initial Parse

Returns a patient's middle initial, if present, from expressions with data in "LAST,FIRST MI..." format.

Add Padding to String

This function pads a string with N number of spaces.

Payment Summary by Insurance

This report summarizes and totals BAR adjustments, receipts and refunds by insurance for a batch date range provided by the user.

Patient Account Charge Detail by Category

This report provides all charge procedure detail from BAR based on a user-provided account number.

Lab Results for Current Inpatients

This report lists current inpatients with basic demographic data and all lab test results from the most recently collected specimen.

Lab Results by Patient Account

This report provides all lab specimens and resulted test values based on a user-provided account number.

Current Inpatients without Admit Order

This report lists current inpatients (excluding newborns) that have no admission order.

Current Inpatients with Last Vital Signs

This report shows the last recorded blood pressure, height and weight and temperature for current inpatients.