Last change
on this file since 1661 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
622 bytes
|
Line | |
---|
1 | LRAPAP ;AVAMC/REG - ANATOMIC SORT BY PARENT FILE ; 10/25/88 20:15 ;
|
---|
2 | ;;5.2;LAB SERVICE;;Sep 27, 1994
|
---|
3 | W !!?15,LRAA(1)," Entries Alphabetically by Patient",!!
|
---|
4 | A R !!,"Start with letter: ",X:DTIME G:X=""!(X[U) END D CK G:'$D(X) A S A(1)=X
|
---|
5 | B R !!,"End with letter: ",X:DTIME G:X=""!(X[U) END D CK G:'$D(X) B S A(2)=X
|
---|
6 | S ZTRTN="QUE^LRAPAP" D BEG^LRUTL G:POP!($D(ZTSK)) END
|
---|
7 | QUE U IO S LRQ=0
|
---|
8 | F Q=0:0 S Q=$O(^DIC("AC","LR",Q)) Q:'Q S Q(1)=^DIC(Q,0),Q(2)=^(0,"GL") S LRNM=$C(A(1)) ; unfinished D ^LRAPAP1
|
---|
9 | D END^LRUTL,END Q
|
---|
10 | CK S X=$A(X) I X<65!(X>90) W $C(7),!!,"Letter must be UPPER CASE (A to Z)" K X Q
|
---|
11 | Q
|
---|
12 | ;
|
---|
13 | END D V^LRU Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.