This is hows Fileman sets screens on pointers. Rather than edit the
input transform, you should modify the screen.
====
Gregory Woodhouse
[EMAIL PROTECTED]
On Apr 23, 2005, at 6:46 PM, Kevin Toppenberg wrote:
I need help understanding an input transform
In file 50.7/PHARMACY ORDERABLE ITEM, in field MED
ROUTE (.06), I am being limited in the choices
available to me. I want to be able to put in ORAL or
PO for a drug route.
Here is a screen log:
INPUT TO WHAT FILE: PHARMACY ORDERABLE ITEM//
EDIT WHICH FIELD: ALL//
Select PHARMACY ORDERABLE ITEM NAME: dilTIAZEM
TAB
NAME: DILTIAZEM//
DOSAGE FORM: TAB// (No Editing)
IV FLAG:
INACTIVE DATE:
DAY (nD) or DOSE (nL) LIMIT:
MED ROUTE: BUCCAL// PO??
Enter the most common MED ROUTE associated with
this medication.
ONLY MED ROUTES MARKED FOR USE BY ALL PACKAGES
ARE SELECTABLE.
MED ROUTE: BUCCAL//
-------------
Here I show that PO is a valid record in the
MEDICATION ROUTE file (50.1)--and that it DOES appear
to be marked for use by "all packages"
OUTPUT FROM WHAT FILE: MEDICATION ROUTES//
Select MEDICATION ROUTES NAME: PO
1 PO ORAL PO
2 PO SC ORAL/SUBCUTANEOUS PO SC
CHOOSE 1-2: 1 ORAL PO
ANOTHER ONE:
STANDARD CAPTIONED OUTPUT? Yes// (Yes)
Include COMPUTED fields: (N/Y/R/B): NO// b BOTH
Computed Fields and Record Num
ber (IEN)
NUMBER: 1 NAME: ORAL
OUTPATIENT EXPANSION: MOUTH ABBREVIATION:
PO
PACKAGE USE: ALL PACKAGES
------------
Here is the input transform for the field (field .06
of file 50.7).
INPUT TRANSFORM: S DIC("S")="I
$P(^(0),""^"")'=""ORAL"",$P(^(0),""^"",4)" D ^DIC K
DIC S DIC=DIE,X=+Y K:Y<0 X
The node;piece 0;4 --> Package Use(0:national drug
file only, 1:All packages)
So each entry is tested for
$P(^(0),"^")'="ORAL"
and $P(^(0),"^",4)>0 both must be true.
1. I don't understand how all an input transform is
setup. For example, before calling d ^DIC, doesn't
DIC=FileNum have to be set, and DIC(0)="AEQ" or
something. Also what is the naked reference ^(0)
referring to. Also, how does the input transform
communicate back? By setting $T, or by killing X? If
X is killed is any further processing carried out by
fileman?
2. Looking at this specific example, there seems to be
a specific restriction against having a route to be
ORAL--why?
Thanks
Kevin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members