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

PXRRLCSE.m

Go to the documentation of this file.
  1. PXRRLCSE ;ISL/PKR - Sort encounters for location count report. ;10/10/96
  1. ;;1.0;PCE PATIENT CARE ENCOUNTER;**3,10**;Aug 12, 1996
  1. ;
  1. ;Sort the encounters according to the selection criteria.
  1. SORT ;
  1. ;Allow the task to be cleaned up on successful completion.
  1. S ZTREQ="@"
  1. ;
  1. D SORT^PXRRECSE
  1. ;
  1. ;Print the report.
  1. I PXRRQUE D
  1. .;Start the report that was queued but not scheduled.
  1. . N DESC,ROUTINE,TASK
  1. . I $P(PXRRLCSC,U,1)["C" S ROUTINE="PXRRLCCP"
  1. . E S ROUTINE="PXRRLCHP"
  1. . S DESC="Location Encounter Report - print"
  1. . S ZTDTH=$$NOW^XLFDT
  1. . S TASK=^XTMP(PXRRXTMP,"PRZTSK")
  1. . D REQUE^PXRRQUE(DESC,ROUTINE,TASK)
  1. E D
  1. . I $P(PXRRLCSC,U,1)["C" D ^PXRRLCCP
  1. . E D ^PXRRLCHP
  1. Q