- MT platform: Client/Server, MAGIC
This stored procedure returns a list of each provider type per inpatient visit, optimized for flat-file output. The report logic is driven by the patient discharge date range.
This TSQL query is useful to compare DR database schemas between test and live databases. This script produces a detailed list of changes by comparing your existing release in live against a newer version in test, and shows changed items by category (new tables, new columns, removed columns, datatype changes, etc.).
This scalar TSQL function converts any text string to proper case (mixed case with initial upper case letter followed by lower case letters). Typically used to convert patient, provider, insurance names, etc. as stored in MEDITECH to a more user-friendly format.
(Read our blog for more information about user-defined functions in T-SQL.)