VistA-FOIAVistA/r/REMOTE_ORDER_ENTRY_SYSTEM-R.../RMPFPRE1.m

17 lines
510 B
Mathematica

RMPFPRE1 ;DDC/KAW-CONTINUATION OF RMPFPRE [ 06/16/95 3:06 PM ]
;;2.0;REMOTE ORDER/ENTRY SYSTEM;;JUN 16, 1995
F IX=1:1:8 S ST=$T(STAT+IX) D
.S DA=$P(ST,";",3),X=$P(ST,";",4)
.S DIE="^RMPF(791810.2,",DR=".01////"_X D ^DIE
S X=18 F S X=$O(^RMPF(791810.2,X)) Q:'X S $P(^RMPF(791810.2,X,0),U,3)=1
END K IX,ST,X,D,D0,DA,DI,DIC,DIE,DQ,DR Q
STAT ;;STATUS NAME CHANGES
;;11;CANCELED
;;12;CER-TRANS
;;13;ORD-TRANS
;;14;ADJ-TRANS
;;15;ISS-TRANS
;;16;CAN-TRANS
;;17;CERTIFICATION PENDING
;;18;BACKORDERED