source: FOIAVistA/trunk/r/CONTROLLED_SUBSTANCES-PSD/PSDORM.m@ 808

Last change on this file since 808 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 567 bytes
Line 
1PSDORM ;BIR/LTL-Send MM about one-time request, PSDORNO (cont'd) ; 20 Jan 95
2 ;;3.0; CONTROLLED SUBSTANCES ;;13 Feb 97
3 N PSD D KILL^XM
4 S XMSUB="One Time Request",XMDUZ="NAOU Monitor" D XMZ^XMA2
5 I XMZ<1 D KILL^XM Q
6 S XMY(DUZ)="",PSD=0
7 F S PSD=$O(^XUSEC("PSDMGR",PSD)) Q:'PSD S XMY(PSD)=""
8 S PSD(1)=$P($P($G(^VA(200,DUZ,0)),U),",",2)_" "_$P($P($G(^(0)),U),",")
9 S PSD(1)=PSD(1)_" has placed a one time request.",(PSD(2),PSD(4))=""
10 S PSD(3)="The drug ordered was "_$G(PSDRN)_"."
11 S PSD(5)="This drug is INACTIVE on "_NAOUN_"."
12 S XMTEXT="PSD(" D ^XMD,KILL^XM Q
Note: See TracBrowser for help on using the repository browser.