Here is an example from a CDS attribute of how to strip a phone number down to just digits, then reformat.
http://www.iatric.com/_docs/updates-mar2006.pdf There is also a report in our library MIS.zcus.is.util with a macro: %MIS.zcus.is.rw.util.M.numeric(A) that will strip all but numbers from A. This is the way it is done, with the "not tilde" operator. @phone.number'~(D(255):48_("0123456789")_(D(255):70))) Joe Cocuzzo Vice President NPR Services Iatric Systems, Inc. Phone/Fax: (978) 805-4115 Email: [EMAIL PROTECTED] Web: www.iatric.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Caruso, Charlie Sent: Tuesday, April 10, 2007 10:53 AM To: [EMAIL PROTECTED] Subject: [MEDITECH-L] Phone Number reformat All, I am trying to write an NPR report to a vendor's specs for supplying the patient phone number in 10 characters or less numeric only format, stripping Meditech format of any parenthesis and /or dashes. Anyone willing to share this one? Thank you, Charlie Caruso CIO Goodall Hospital 25 June Street Sanford, ME 04073 Phone: 207-490-7481 email: [EMAIL PROTECTED] =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list [EMAIL PROTECTED] http://mtusers.com/mailman/listinfo/meditech-l =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list [EMAIL PROTECTED] http://mtusers.com/mailman/listinfo/meditech-l
