source: WorldVistAEHR/trunk/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHQM4.m@ 949

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

initial load of WorldVistAEHR

File size: 2.0 KB
Line 
1DVBHQM4 ;ISC-ALBANY/PKE-Birls abbrev name num ret ; 10 Apr 2000 10:41 AM ;
2 ;;4.0;HINQ;**19,37**;03/25/92
3 G EN
4LIN S CT=CT+1,A1=A_CT_",0)",@A1=T1 Q
5DD ;Translate dates into displayed format MMYY.
6 ;The temporary date display format will be replaced by MMCCYY once
7 ;VBA sends in the centuries of the dates.
8 I +$G(Y)'=0 S Y=$S($E(Y,1,2):$P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC","^",+$E(Y,1,2)),1:"")_""_$E(Y,3,4) Q
9 ;;;S Y=" "
10 S Y=" "
11 Q
12 ;
13EN I '$D(DVBRECN) D KILL G KLL^DVBHQM3
14 S BL="" I DVBABREV="M" D NAM D KILL G ERR^DVBHQM3
15 I DVBABREV="N" D NUM D KILL G ERR^DVBHQM3
16 Q
17KILL K DVBSSN,DVBSN,DVBBOS,DVBRECN,DVBEOD,DVBRAD,DVBDOB,DVBDOD,DVBNAM,DVBFL,DVBPAYN,DVBCN Q
18 Q
19NAM S T1=" NAME Fld Loc Claim # EOD RAD DOB DOD" D LIN S T1="" D LIN
20 ;
21 F I=1:1:DVBRECN D DAT,LIST
22 Q
23DAT ; Dates sent in as MMYY.
24 F J="DVBEOD(I)","DVBRAD(I)","DVBDOB(I)","DVBDOD(I)" S Y=@(J) D DD S @J=Y
25 Q
26LIST ;Temporarily add 2 space between dates for dates displayed as MMYY.
27 ;Change display back to the commented out one when VBA sends century.
28 ;;;S T1=$E(DVBNAM(I),1,22)_" "_$J($E(DVBFL(I),1,15),15)_" "_DVBCN(I)_" "_DVBEOD(I)_" "_DVBRAD(I)_" "_DVBDOB(I)_" "_DVBDOD(I) D LIN S T1="" D LIN
29 S T1=$E(DVBNAM(I),1,22)_" "_$J($E(DVBFL(I),1,15),15)_" "_DVBCN(I)_" "_DVBEOD(I)_" "_DVBRAD(I)_" "_DVBDOB(I)_" "_DVBDOD(I) D LIN S T1="" D LIN
30 Q
31 ;
32NUM S T1="Claim # SS # Service # EOD RAD DOB DOD BOS Folder Loc...." D LIN S T1="" D LIN
33 ;
34 F I=1:1:DVBRECN D DAT,LIST1
35 Q
36LIST1 ;Temporarily add 2 space between dates for dates displayed as MMYY.
37 ;Change display back to the commented out one when VBA sends century.
38 ;;;S T1=DVBCN(I)_" "_DVBSSN(I)_" "_DVBSN(I)_DVBEOD(I)_" "_DVBRAD(I)_" "_DVBDOB(I)_" "_DVBDOD(I)_" "_DVBBOS(I)_" "_$S($L(DVBFL(I))>14:$E($P(DVBFL(I)," -",1),1,14),1:DVBFL(I)) D LIN S T1="" D LIN
39 S T1=DVBCN(I)_" "_DVBSSN(I)_" "_DVBSN(I)_DVBEOD(I)_" "_DVBRAD(I)_" "_DVBDOB(I)_" "_DVBDOD(I)_" "_DVBBOS(I)_" "_$S($L(DVBFL(I))>14:$E($P(DVBFL(I)," -",1),1,14),1:DVBFL(I)) D LIN S T1="" D LIN
40 Q
Note: See TracBrowser for help on using the repository browser.