I have a bunch of macros in a report that I keep for things just like this.  For stripping all but the numbers I do this.
 
In MIS is have a report called "zcus.utils".  In that report I have a macro called "numeric".  The macro only has one line:
 
A'~(D(255):48_("0123456789")_(D(255):70));
 
In the report I create a custom field as such:
 
DAT=FREE
LEN=10
VAL=%MIS.zcus.utils.M.numeric(@home.phone)
 
Hope that helps.
 
Mike
 
 


>>> On 4/10/2007 at 9:52:47 am, in message <[EMAIL PROTECTED]>, "Caruso, Charlie" <[EMAIL PROTECTED]> wrote:
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

Reply via email to