Last change
on this file since 868 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
724 bytes
|
Line | |
---|
1 | PSOARC ;BHAM ISC/LGH - archiving driver menu ; 07/07/92
|
---|
2 | ;;7.0;OUTPATIENT PHARMACY;;DEC 1997
|
---|
3 | D DT^DICRW I ^DOPT("PSOAC",5,0)'["LIST ARCHIVED PRESCRIPTION NUMBERS" K ^DOPT("PSOAC") S DIK="^DOPT(""PSOAC""," S DTIME=$S($D(DTIME):DTIME,1:300)
|
---|
4 | G:$D(^DOPT("PSOAC",4)) A S ^DOPT("PSOAC",0)="OP ARCHIVING OPTION^1N^" F I=1:1 S X=$T(@I) Q:X="" S ^DOPT("PSOAC",I,0)=$P(X,";",2,99)
|
---|
5 | D IXALL^DIK
|
---|
6 | A W !! S DIC="^DOPT(""PSOAC"",",DIC(0)="QEAM" D ^DIC K DIC D:Y<0 END^PSOARCS2 G:Y<0 EXIT D @+Y G A
|
---|
7 | 1 ;find
|
---|
8 | G ^PSOARCCO
|
---|
9 | 2 ;save to tape
|
---|
10 | G ^PSOARCSV
|
---|
11 | 3 ;tape retrieve
|
---|
12 | G ^PSOARCIN
|
---|
13 | 4 ;save to hfs file
|
---|
14 | G ^PSOARCF4
|
---|
15 | 5 ;hfs file retrieve
|
---|
16 | G ^PSOARCF1
|
---|
17 | 6 ;purge
|
---|
18 | G ARC^PSOARCS2
|
---|
19 | 7 ;list archived prescription numbers
|
---|
20 | G ^PSOARCLT
|
---|
21 | EXIT K Y,X,I Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.