Charlie,
Create a Macro - lets call it <init> and enter the following code below.
(Then on page 3 in Footnotes do an AL START init)
Whenever you want to convert a computed field just do something like :
@phone'~/INTEGER : Will strip anything but numbers.
I believe Iatric has this on their site as well.
@TRANSLATE.NUMBER.STRING
TRANSLATE.TO.INTEGER
D(255):48_("0123456789")_(D(255):69)^/INTEGER
James Purvins
Inland Northwest Health Services
(509) 232-8384
This e-mail and any attachments are confidential and may also be
privileged. If you are not the named recipient, or have otherwise
received this communication in error, please delete it from your inbox,
notify the sender immediately by replying to the message, and do not
disclose its contents to any other person, use the information for any
purpose or store or copy the information in any medium. Thank you for
your cooperation
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Caruso, Charlie
Sent: Tuesday, April 10, 2007 7: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