Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SDAMODO1

SDAMODO1.m

Go to the documentation of this file.
  1. SDAMODO1 ;ALB/SCK - PROVIDER DX REPORT, DISPLAY OPTIONS ; 05 Oct 98 8:42 PM
  1. ;;5.3;Scheduling;**159**;Aug 13, 1993
  1. START ;
  1. Q
  1. SHOW() ; display selected report options
  1. N SD
  1. D HOME^%ZIS W @IOF,*13
  1. W !!,$$LINE^SDAMODO("Report Specifications")
  1. W !!,"Encounter Dates: ",$$FMTE^XLFDT(SDBEG,"D")," to ",$$FMTE^XLFDT(SDEND,"D")
  1. W !!,"Report will be sorted by Division,"
  1. W !,"Divisions Selected: ",$S(VAUTD:"ALL",1:"")
  1. S SD=0 F S SD=$O(VAUTD(SD)) Q:'+SD W !?5,VAUTD(SD)
  1. W !!,"Then sorted by ",$P($T(SORT+SORT1),";;",2),", ",$P($T(SORT+SORT2),";;",2)," and Encounter Date"
  1. S SVAR1=$P($T(VAR+SORT1),";;",2)
  1. W !!,$P($T(SORT+SORT1),";;",2)," Selected: ",$S(@SVAR1:"ALL",1:"") D
  1. . S SD=0 F S SD=$O(@SVAR1@(SD)) Q:'+SD D:($Y+5)>IOSL PAUSE^VALM1 W !?5,@SVAR1@(SD)
  1. S SVAR2=$P($T(VAR+SORT2),";;",2)
  1. W !!,$P($T(SORT+SORT2),";;",2)," Selected: ",$S(@SVAR2:"ALL",1:"") D
  1. . S SD=0 F S SD=$O(@SVAR2@(SD)) Q:'+SD D:($Y+5)>IOSL PAUSE^VALM1 W !?5,@SVAR2@(SD)
  1. W !,$$LINE^SDAMODO("")
  1. S Y=1
  1. K SVAR1,SVAR2,SD
  1. Q (Y)
  1. SORT ;
  1. ;;Provider
  1. ;;Diagnosis
  1. ;;Patient
  1. ;;Clinic
  1. ;;Primary Stop Code
  1. VAR ;
  1. ;;PROVDR
  1. ;;PDIAG
  1. ;;PATN
  1. ;;CLINIC
  1. ;;STOPC