Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/SCHEDULING-SD-SC/SCRPW9.m

    r628 r636  
    11SCRPW9 ;RENO/KEITH - Outpatient Encounter Workload Statistics (cont.) ; 15 Jul 98  02:38PM
    2  ;;5.3;Scheduling;**139,144,339,466,510**;AUG 13, 1993;Build 3
     2 ;;5.3;Scheduling;**139,144,339,466**;AUG 13, 1993;Build 2
    33UNARL(SDS1,SDS2) ;Print list of 'action required'/not accepted uniques
    44 ;Required input: SDS1,SDS2=subscript values
     
    3434 S DIR(0)="S^A:All transmission statuses;1:No transmission record;2:Not required, not transmitted;3:Rejected for transmission;4:Awaiting transmission;"
    3535 S DIR(0)=DIR(0)_"5:Transmitted, no acknowledgment;6:Transmitted, rejected;7:Transmitted, error;8:Transmitted, accepted"
    36  I SDZ(2)=8 S DIR(0)=DIR(0)_";9:Non-Count (not transmitted)"
    3736 W ! D ^DIR I $D(DTOUT)!$D(DUOUT) S SDZ(0)=-1 Q  ;SD*5.3*339 add sub-zero
    3837 S SDZ(3)=+Y
     
    4746 K SDH S SDPAGE=1,SDH(1)="<*>  DETAILED LIST OF DIVISION "_$S(SDZ(1)="U":"UNIQUES",SDZ(1)="V":"VISITS",1:"ENCOUNTERS")_"  <*>",SDH(2)="For division: "_SDZ(4)
    4847 I $G(SDZ(2)) S SDH(3)="Encounters with "_$P(^SD(409.63,SDZ(2),0),U)_" status"
    49  I $G(SDZ(2))'="","28"[SDZ(2) S SDH(4)="Transmission status: "_$P($T(TXS+SDZ(3)),";",2)
     48 I "28"[$G(SDZ(2)) S SDH(4)="Transmission status: "_$P($T(TXS+SDZ(3)),";",2)
    5049 D DHDR Q:SDOUT  I '$D(^TMP(SDS1,$J,SDS2,"DETAIL")) W !,"No records found in this category." Q
    5150 S SDCT=0 D @SDZ(1) Q
     
    9089 ;Transmitted, error
    9190 ;Transmitted, accepted
    92  ;Non-Count (not transmitted)
    9391 ;
    9492PARM ;Prompt for report parameters
Note: See TracChangeset for help on using the changeset viewer.