23 lines
576 B
Mathematica
23 lines
576 B
Mathematica
QACDISPS ;WCIOFO/VAD-Service/Discipline Contact Totals ;12/08/98
|
|
;;2.0;Patient Representative;**9,17**;07/25/1995
|
|
;
|
|
MAIN ;
|
|
S QAQPOP=0
|
|
D DATDIV^QACUTL0 G:QAQPOP EXIT
|
|
K DIC,FLDS,L,BY,FR,TO,DHD
|
|
S L=0,DIC="^QA(745.1,"
|
|
S FLDS="[QAC DISC RPT]",DHD="[QAC DISC SERV RPT HEADER]"
|
|
;
|
|
S BY="37;S3;C25,'1,21,3,+.01"
|
|
S FR(1)="@",TO(1)=""
|
|
I +$G(QAC1DIV) D
|
|
. S QACDVNAM="" D INST^QACUTL0(QAC1DIV,.QACDVNAM)
|
|
. S (FR(1),TO(1))=QACDVNAM
|
|
S FR(2)=QAQNBEG,TO(2)=QAQNEND
|
|
D EN1^DIP
|
|
EXIT ;
|
|
K DIC,FLDS,L,BY,FR,TO,DHD,DIP,QACDV,QAC1DIV,QAQPOP,QACDVNAM
|
|
K QAQNBEG,QAQNEND
|
|
D K^QAQDATE
|
|
Q
|