Last change
on this file since 1042 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
939 bytes
|
Rev | Line | |
---|
[613] | 1 | PSOLMLST ;ISC-BHAM/SAB - list orders for processing ; 18-APR-1995
|
---|
| 2 | ;;7.0;OUTPATIENT PHARMACY;**46**;DEC 1997
|
---|
| 3 | ;External reference to ^PS(50.7 supported by DBIA 2223
|
---|
| 4 | EN ; -- main entry point for PSO LM ORDER SELECTION
|
---|
| 5 | D EN^VALM("PSO LM ORDER SELECTION")
|
---|
| 6 | Q
|
---|
| 7 | ;
|
---|
| 8 | HDR ; -- header code
|
---|
| 9 | S VALMHDR(1)="This is a test header for PSO LM ORDER SELECTION."
|
---|
| 10 | S VALMHDR(2)="This is the second line"
|
---|
| 11 | Q
|
---|
| 12 | ;
|
---|
| 13 | INIT ; -- init variables and list array
|
---|
| 14 | ;F LINE=1:1:30 D SET^VALM10(LINE,LINE_" Line number "_LINE)
|
---|
| 15 | S $P(RN," ",12)=" ",VALMCNT=PSOPF
|
---|
| 16 | S VALM("TITLE")="OP Medications ("_$S($P(^PSRX($P(PSOLST(ORN),"^",2),"STA"),"^")=5:"SUSPENDED",$P(^PSRX($P(PSOLST(ORN),"^",2),"STA"),"^")=11:"EXPIRED",1:$P(PSOLST(ORN),"^",3))_")"
|
---|
| 17 | S:'$D(^PS(50.7,+$G(^PSRX($P(PSOLST(ORN),"^",2),"OR1")),0)) VALMSG="No Pharmacy Orderable Item !"
|
---|
| 18 | D RV^PSONFI Q
|
---|
| 19 | ;
|
---|
| 20 | HELP ; -- help code
|
---|
| 21 | S X="?" D DISP^XQORM1 W !!
|
---|
| 22 | Q
|
---|
| 23 | ;
|
---|
| 24 | EXIT ; -- exit code
|
---|
| 25 | Q
|
---|
| 26 | ;
|
---|
| 27 | EXPND ; -- expand code
|
---|
| 28 | Q
|
---|
| 29 | ;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.