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

EASXDRUT.m

Go to the documentation of this file.
  1. EASXDRUT ;ALB/AEG - Duplicate Patient Relations Utilities ;7-12-02
  1. ;;1.0;ENROLLMENT APPLICATION SYSTEM;**10**;Mar 15, 2002
  1. ;
  1. TEXT ; Print Screen Text upon Entry into the option.
  1. N TEX,I F I=1:1 S TEX=$P($T(DESC+I),";;",2) Q:TEX="QUIT" D
  1. .I I'>2 W !,?17,TEX
  1. .E W !,?3,TEX
  1. K I,X
  1. Q
  1. ;
  1. DESC ; Text to be printed upon entry into the option.
  1. ;;*** DUPLICATE PATIENT RELATIONS REPORT ***
  1. ;;
  1. ;;This report will search the PATIENT RELATION file (#408.12) to identify
  1. ;;those entries where potential duplicates exist.
  1. ;;
  1. ;;This report is designed for an 80 column print device or a terminal
  1. ;;using the HOME device. The report may take a long time to generate,
  1. ;;accordingly, it is recommended that it be queued to an 80 column
  1. ;;print device. The P-MESSAGE device is NOT recommended for use, nor
  1. ;;should the output format be specified at the device prompt in order to
  1. ;;do a screen capture.
  1. ;;QUIT
  1. ;
  1. SETUP ; Setup output variables based on terminal type.
  1. S COL1=0
  1. S COL2=11
  1. S COL3=38
  1. S COL4=48
  1. S COL5=58
  1. S COL6=63
  1. S COL7=74
  1. S $P(EQL,"=",IOM)=""
  1. S $P(DAL,"-",IOM)=""
  1. Q
  1. ;
  1. PAUSE ;
  1. N IY,ZZ
  1. S ZZ=$Y
  1. I $E(IOST,1,2)="C-" D
  1. .F IY=ZZ:1:(IOSL-4) W !
  1. .K DIR,DIRUT
  1. .S DIR(0)="E"
  1. .D ^DIR
  1. .;W @IOF
  1. Q