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

AQAOUSR2.m

Go to the documentation of this file.
  1. AQAOUSR2 ; IHS/ORDC/LJF - CONTINUATION OF EDIT USER ;
  1. ;;1.01;QAI MANAGEMENT;;OCT 05, 1995
  1. ;
  1. ;This is a continuation of the series of questions on a user's
  1. ;access to various menu options. It also contains the DIP call
  1. ;to print the user's profile including a comparison between which
  1. ;keys the user curently has assigned and those based on the answers
  1. ;to these questions.
  1. ;
  1. QUES5 ; >> should user have access to QMAN?
  1. W ! K DIR S DIR(0)="Y" K AQAOARR("AMQQZMENU")
  1. S DIR("B")=$S($D(^XUSEC("AMQQZMENU",AQAOUSR)):"YES",1:"NO")
  1. S DIR("?",1)="Should "_AQAONM_" have access to the Q-Man Query System?"
  1. S DIR("?",2)="If you answer YES, this user will be able to use Q-Man"
  1. S DIR("?",3)="to run ad hoc searches on the PCC database as part of "
  1. S DIR("?",4)="the data collection process. The Q-Man Query System"
  1. S DIR("?",5)="is duplicated in this package for convenience."
  1. S DIR("?")=" "
  1. S DIR("A")="Should "_AQAONM_" have access to Q-MAN QUERY SYSTEM"
  1. D ^DIR G QUES4^AQAOUSR1:$D(DIRUT) I Y=1 S AQAOARR("AMQQZMENU")=""
  1. ;
  1. QUES6 ; >> should user have access to Search Template System
  1. W ! K DIR S DIR(0)="Y" K AQAOARR("ATSZMENU")
  1. S DIR("B")=$S($D(^XUSEC("ATSZMENU",AQAOUSR)):"YES",1:"NO")
  1. S DIR("?",1)="Should "_AQAONM_" have access to the Search Template"
  1. S DIR("?",2)="System? If you answer YES, this user will be able to"
  1. S DIR("?",3)="compare search templates created by Q-Man as part of "
  1. S DIR("?",4)="the data collection and evaluation process. The Search"
  1. S DIR("?",5)="Template System is available in this package for the"
  1. S DIR("?",6)="user's convenience. ",DIR("?")=" "
  1. S DIR("A")="Should "_AQAONM_" have access to SEARCH TEMPLATE SYSTEM"
  1. D ^DIR G QUES5:$D(DIRUT) I Y=1 S AQAOARR("ATSZMENU")=""
  1. ;
  1. QUES7 ; >> should user see provider reports?
  1. W ! K DIR S DIR(0)="YO" K AQAOARR("AQAOZPRV")
  1. S DIR("B")=$S($D(^XUSEC("AQAOZPRV",AQAOUSR)):"YES",1:"NO")
  1. S DIR("?",1)="Should "_AQAONM_" have access to PROVIDER Reports based"
  1. S DIR("?",2)="on occurrences entered and reviewed? We suggest only"
  1. S DIR("?",3)="giving the access to users involved in the Credentialing"
  1. S DIR("?",4)="process (QI staff, Clinical Director, Service Chiefs)."
  1. S DIR("?")=" "
  1. S DIR("A")="Should "_AQAONM_" have access to PROVIDER REPORTS"
  1. D ^DIR G QUES6:$D(DIRUT) I Y=1 S AQAOARR("AQAOZPRV")=""
  1. ;
  1. ;
  1. PROFILE ; >> print user profile with key allocation suggestions
  1. W !!,"Enter your PRINTER NAME or 'HOME' to print to your screen"
  1. S DIC="^AQAO(9,",L=0,FLDS="[AQAO USER PROFILE]",(TO,FR)=AQAOUSR
  1. S BY="@NUMBER" D EN1^DIP ;print profile
  1. D PRTOPT^AQAOVAR
  1. ;
  1. G NAME^AQAOUSR ;return to beginning
  1. ;
  1. ;
  1. END ; >>> eoj
  1. D KILL^AQAOUTIL Q