This expression, (X?.E1"."5N.N) is true if X matches the pattern "0 or more characters" followed by "1 decimal point" followed by "5 or more digits". This is one of five OR'd expressions any one of which if true causes X to be killed. The effect of the pattern match is to cause X to be killed if it has more than 4 digits following the decimal point.
----- Original Message ----- From: "Nancy Anthracite" <[EMAIL PROTECTED]> To: <hardhats-members@lists.sourceforge.net> Sent: Sunday, June 25, 2006 6:00 PM Subject: Re: [Hardhats-members] How to control Fileman lookup field? > This is the input transform that I think governs the you are trying to put .5 > into. I am trying to understand !(X?.E1"."5N.N) X > > Does it need to be 0.5, not .5? Isn't it saying there needs to be at least > 1 > something before the decimal point? > > Of course, this may not have anything to do with it even if true. > > IDENTIFIED BY: DOSE (#1) > > CROSS > REFERENCED BY: DISPENSE UNITS PER DOSE(AC), DISPENSE UNITS PER DOSE(B) > > 50.0903,.01 DISPENSE UNITS PER DOSE 0;1 NUMBER (Multiply asked) > > INPUT TRANSFORM: K:+X'=X!(X>99999999)!(X<0)!(X?.E1"."5N.N)! > ('$P($G(^PSDRUG(DA(1),"DOS")),"^",2)) X > LAST EDITED: APR 24, 2001 > > > > This is the input transform that I think governs the you are trying to put .5 > into. I am trying to understand !(X?.E1"."5N.N) X > > Does it need to be 0.5, not .5? Isn't it saying it needs at least 1 > something before the decimal point? > > > > > > On Sunday 25 June 2006 16:32, Kevin Toppenberg wrote: > On 6/25/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: >> I have a question about controlling the Fileman lookup field. I'm >> probably describing this wrong, so let me give an example. >> >> I have a record in file 50, as dumped out below. Notice especially field >> 903 >> >> .001-NUMBER : 7118 >> .01-GENERIC NAME : SILDENAFIL (xxxxxx) 50MG TAB >> -snip- >> 901-STRENGTH : 50 >> 902-UNIT : MG >> 903-POSSIBLE DOSAGES : >> Multiple Entry #1 >> .01-DISPENSE UNITS PER DOSE : 1 >> 1-DOSE : 50 >> 2-PACKAGE : IO >> >> Multiple Entry #2 >> .01-DISPENSE UNITS PER DOSE : .5 >> 1-DOSE : 25 >> 2-PACKAGE : O >> >> Multiple Entry #3 >> .01-DISPENSE UNITS PER DOSE : 1 >> 1-DOSE : 50 >> 2-PACKAGE : IO >> >> Multiple Entry #4 >> .01-DISPENSE UNITS PER DOSE : 2 >> 1-DOSE : 100 >> 2-PACKAGE : IO >> >> >> Now look at this Fileman screen log: >> >> INPUT TO WHAT FILE: DRUG// >> EDIT WHICH FIELD: ALL// 903 POSSIBLE DOSAGES (multiple) >> EDIT WHICH POSSIBLE DOSAGES SUB-FIELD: ALL// >> THEN EDIT FIELD: >> >> >> Select DRUG GENERIC NAME: `7118 SILDENAFIL (xxxxx) 50MG TAB GU900 >> >> Select DISPENSE UNITS PER DOSE: 2// ? >> Answer with POSSIBLE DOSAGES DISPENSE UNITS PER DOSE >> Choose from: >> 1 50 >> 2 100 >> >> You may enter a new POSSIBLE DOSAGES, if you wish >> Type a Number between 0 and 99999999, 4 Decimal Digits >> >> Select DISPENSE UNITS PER DOSE: 2// `2 .5 25 >> DISPENSE UNITS PER DOSE: .5// >> DOSE: 25// (No Editing) >> PACKAGE: O// >> BCMA UNITS PER DOSE: >> Select DISPENSE UNITS PER DOSE: >> >> >> My questions are: >> 1. Why aren't all 4 records shown as options to edit? I can edit >> record #2 via `2 >> 2. Why is it showing me the value of the DOSE field when asking which >> record I want to pick. Doesn't it usually show the .01 field? >> 3. Are the 1 and 2 shown on the list line numbers, or are those the >> .01 field values? >> >> Thanks >> Kevin > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > -- > Nancy Anthracite > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members