Welcome to the DR Network.

Everything you need to get started building reports with Data Repository. All free and available for every MEDITECH version from MAGIC to Expanse. Sign up today!

Contact us

Proper Case (function)

  • MT platform: Client/Server, MAGIC, 6.0

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.)

Please note: the image below is only a partial view of the complete function. Download the file to see the complete code sample.

To download this report, please log in or create an account.  


fn proper case