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

AGSECCHK.m

Go to the documentation of this file.
  1. AGSECCHK ;IHS/ASDS/EFG - SECURITY CHECK ROUTINE FOR PATIENT REG
  1. ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
  1. ;
  1. ;THIS ROUTINE IS USED TO SEARCH THE NEW PERSON FILE TO SEE IF THE
  1. ;USER HAS THE PROPER SECURITY KEY FOR WHATEVER REASON. PASS IT
  1. ;THE NAME OF THE SECURITY KEY (KEY) TO SEARCH FOR AND THE RESULT
  1. ;(HIT) WILL CONTAIN A "Y" OR "N" TO INDICATE IF IT WAS FOUND
  1. ;OR NOT.
  1. ;
  1. EN(KEY,HIT) ;
  1. S HIT="N"
  1. I $D(^XUSEC(KEY,DUZ)) S HIT="Y" ;SECURITY KEY FOUND
  1. E S HIT="N"
  1. Q