source: WorldVistAEHR/trunk/r/PATIENT_REPRESENTATIVE-QAC/QACOPEN.m@ 1042

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

initial load of WorldVistAEHR

File size: 596 bytes
Line 
1QACOPEN ;WCIOFO/VAD-Open Status ;12/08/98
2 ;;2.0;Patient Representative;**9,17**;07/25/1995
3 ;
4MAIN ;
5 S QAQPOP=0
6 D DATDIV^QACUTL0 G:QAQPOP EXIT
7 K DIC,FLDS,L,BY,FR,TO,DHD
8 S L=0,DIC="^QA(745.1,"
9 S FLDS="[QAC STATUS]",DHD="[QAC STATUS HEADER]"
10 ;
11 I +$G(QACDV)=1 D
12 . S BY="37;S3;C25,'1,@27"
13 . S FR(1)="@",TO(1)=""
14 . I +$G(QAC1DIV) D
15 . . S QACDVNAM=""
16 . . D INST^QACUTL0(QAC1DIV,.QACDVNAM)
17 . . S (FR(1),TO(1))=QACDVNAM
18 . S FR(2)=QAQNBEG,TO(2)=QAQNEND
19 . S (FR(3),TO(3))="O"
20 D EN1^DIP
21EXIT ;
22 K DIC,FLDS,L,BY,FR,TO,DHD,DIP,QACDV,QAC1DIV,QAQPOP,QACDVNAM
23 K QAQNBEG,QAQNEND
24 D K^QAQDATE
25 Q
Note: See TracBrowser for help on using the repository browser.