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

ACMDLIST.m

Go to the documentation of this file.
  1. ACMDLIST ; IHS/TUCSON/TMJ - SORT/PRINT CONTROLLER FOR DISPLAY SUPPORT LIST ;
  1. ;;2.0;ACM CASE MANAGEMENT SYSTEM;;JAN 10, 1996
  1. ;
  1. ENTRY ;Entry Point to establish Register Name/Variables
  1. S ACMENTRY=$T(@ACMENTRY^ACMCTRL1)
  1. ;
  1. ;Screen to determine PRINT or PRINT2 (One or ALL Registers)
  1. I $E(ACMENTRY,1,4)="REGL" G PRINT2
  1. ;
  1. ;
  1. PRINT ;Establish Sort & Print Variables for Register selected at Entry Point
  1. S DIOEND="W:IOST[""C-"" !!,""End of report. Strike <CR> to continue."" R:IOST[""C-"" ACMX:300 W:$D(IOF) @IOF"
  1. D ^ACMSRT2 ;Gets Print Template Name from CMS Sort File
  1. S BY="REGISTER,REGISTER",FR=ACMRGNA,TO=ACMRGNA,L=0,DIC=ACMDIC
  1. D EN1^DIP
  1. Q
  1. ;
  1. PRINT2 ;Sorts by all Registers - Not the Register selected at Entry Point
  1. S DIOEND="W:IOST[""C-"" !!,""End of report. Strike <CR> to continue."" R:IOST[""C-"" ACMX:300 W:$D(IOF) @IOF"
  1. D ^ACMSRT2
  1. S BY="REGISTER TYPE",FR="",TO="",L=0,DIC=ACMDIC
  1. D EN1^DIP
  1. Q
  1. ;