It looks to me like you have dangling pointers that point to patients
that are no longer there.  You could see if can simply delete all
entries in the file by doing something like this:


INPUT TO WHAT FILE: PHARMACY PATIENT//
EDIT WHICH FIELD: ALL// .01///@
    WARNING: THIS MEANS AUTOMATIC DELETION!!    NAME
THEN EDIT FIELD:


Select PHARMACY PATIENT NAME: ^LOOP
EDIT ENTRIES BY: NUMBER//
START WITH NUMBER: FIRST//



          *** NO RECORDS TO PRINT ***

    LOOP ENDED!


Select PHARMACY PATIENT NAME:


In my examples, I have no entries in the file, so none are shown.

This may kill the entries for the two sample patients you have, which
might make dangling pointers elsewhere.  I'm not sure, but it should
be safe (I think)

Kevin



On 6/23/06, Matthew King <[EMAIL PROTECTED]> wrote:
>
>
>
>
> The pharmacy patient file on my OV4 install is causing errors in my clinical
> reminders and other (order) checks. I only have only two patients in the
> database (DOE and TEST), when I print out the file, I get thousands of pages
> that look like this:
>
>
>
> FIRST PRINT FIELD: .001  NUMBER
>
> THEN PRINT FIELD: .01  NAME
>
> THEN PRINT FIELD: 3  PATIENT STATUS
>
> THEN PRINT FIELD: 50  ACTIVE SCRIPTS
>
> THEN PRINT FIELD: 52.2  NON-VA MEDS  (multiple)
>
>   THEN PRINT NON-VA MEDS SUB-FIELD:
>
> THEN PRINT FIELD:
>
> Heading (S/C): PHARMACY PATIENT LIST  Replace
>
> DEVICE:   TELNET    Right Margin: 80//
>
> PHARMACY PATIENT LIST                          JUN 23,2006  12:52    PAGE 1
>
>
>          ACTIVE
>
>   NUMBER  NAME                            PATIENT STATUS           SCRIPTS
>
> --------------------------------------------------------------------------------
>
>
>
>        1  TEST,PATIENT                    PENSION NSC                      6
>
>        2  DOE,JOHN B                      SC
>       12
>
>        3  3                               OTHER
>              2
>
>        4  4                               OPT NSC
>            2
>
>        5  5                               NBC
>               0
>
>        6  6                               PENSION NSC
>        0
>
>        7  7                               OTHER
>              0
>
>       10  10                              OPT NSC
>           0
>
>       12  12                              SC
>                0
>
>       16  16                              SC
>                0
>
>       18  18                              SC
>                 0
>
>       20  20                              SC LESS THAN 50%
>   0
>
>       26  26                              OPT NSC
>          0
>
>       27  27                              OPT NSC
>           2
>
>       29  29                              SC
>                                0
>
>       38  38                              SC
>                0
>
>
>
> Question: What is the best way to clean up this file?
>
>
>
> Thanks in advance,
>
>
>
>
>
> matt
>
>
> 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

Reply via email to