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

SROCMPD.m

Go to the documentation of this file.
  1. SROCMPD ;B'HAM ISC/MAM - DELETE OCCURRENCE ; 24 SEPT 1990 2:55 PM
  1. ;;3.0; Surgery ;**38**;24 Jun 93
  1. KEY I '$D(^XUSEC("SROEDIT",DUZ)) W !!,"You do not have the access necessary to delete a case from the file.",!!,"Press RETURN to continue " R X:DTIME Q
  1. W !!,"By deleting this case, all information stored for this occurrence will be",!,"removed from the computer."
  1. DEL W !!,"Are you sure that you want to delete this occurrence ? NO// " R SRYN:DTIME I '$T!(SRYN["^") Q
  1. S SRYN=$E(SRYN) I SRYN="" S SRYN="N"
  1. I "YyNn"'[SRYN W !!,"Enter 'YES' to delete this occurrence, or RETURN if you have made a mistake." G DEL
  1. I "Nn"[SRYN Q
  1. S SRCC="",SROPCOM="Occurrence ..." D KILL^SROPDEL
  1. Q