source: WorldVistAEHR/trunk/r/CMOP-PSX/PSXBLD2.m@ 1722

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

initial load of WorldVistAEHR

File size: 720 bytes
Line 
1PSXBLD2 ;BIR/EJW-New warning label Data for Transmission ;10/26/04
2 ;;2.0;CMOP;**54**;11 Apr 97;Build 6
3 ;
4 ;Reference to ^PS(55, supported by DBIA #2228
5 ;Reference to WTEXT^PSSWRNA supported by DBIA #4444
6NEWWARN ;
7 N J,TEXT,W
8 F J=1:1:5 S W=$P(WARN,",",J) Q:W="" D
9 .S TEXT=$$WTEXT^PSSWRNA(W) I TEXT'="" S MSG=MSG+1,PSXORD(MSG)="NTE|11|"_$P(RXY,"^")_"|ENG|"_W_"|"_TEXT
10 I $P($G(^PS(55,DFN,"LAN")),"^",2)'=2 Q
11 I '$P($G(^PS(55,DFN,"LAN")),"^") Q ; DON'T SEND SPANISH WARNING LABELS UNLESS PATIENT ALSO HAS OTHER LANGUAGE PREFERENCE
12 ; SEND SPANISH WARNINGS ALSO
13 F J=1:1:5 S W=$P(WARN,",",J) Q:W="" D
14 .S TEXT=$$WTEXT^PSSWRNA(W,2) I TEXT'="" S MSG=MSG+1,PSXORD(MSG)="NTE|11|"_$P(RXY,"^")_"|SPA|"_W_"|"_TEXT
15 Q
Note: See TracBrowser for help on using the repository browser.