source: FOIAVistA/trunk/r/OCCURRENCE_SCREEN-QAO/QAOSPAUD.m@ 1688

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

initial load of FOIAVistA 6/30/08 version

File size: 661 bytes
Line 
1QAOSPAUD ;HISC/DAD-OCCURRENCE SCREEN AUDIT TRAIL DISPLAY ;10/19/92 14:58
2 ;;3.0;Occurrence Screen;;09/14/1993
3ASKPAT ;
4 K DIC S DIC="^QA(741,",DIC(0)="AEMNQ",DIC("A")="Select PATIENT: " W ! D ^DIC K DIC G:Y'>0 EXIT S QAOSD0=+Y
5 D LOOP G ASKPAT
6EXIT ;
7 K DIC,QAOSD0,Y,QAOSAUDT,QAOSWHAT,L,BY,FR,TO,FLDS,DHD
8 Q
9LOOP ;
10 D ENDISP^QAOUTL0
11 S QAOSAUDT=+$G(^QA(741,QAOSD0,"AUDIT"))
12 I $S(QAOSAUDT'>0:1,$D(^QA(740.5,QAOSAUDT,0))[0:1,1:0) W *7,!!?5,"*** NO AUDIT TRAIL EXISTS FOR THIS RECORD ***",!,*7 Q
13 S L=0,DIC="^QA(740.5,",BY="@NUMBER",(FR,TO)=QAOSAUDT,FLDS=".02;""PATIENT"",1,.01;S1;C5,.03;C33,.02;C47,.04;C5;W70",DHD="OCCURRENCE SCREEN AUDIT TRAIL"
14 D EN1^DIP
15 Q
Note: See TracBrowser for help on using the repository browser.