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

WVLOGO.m

Go to the documentation of this file.
  1. WVLOGO ;HCIOFO/FT,JR IHS/ANMC/MWR - DISPLAY LOGO WHEN ENTERING PKG; ;12/7/98 15:55
  1. ;;1.0;WOMEN'S HEALTH;**3**;Sep 30, 1998
  1. ;;* MICHAEL REMILLARD, DDS * ALASKA NATIVE MEDICAL CENTER *
  1. ;; DISPLAYS LOGO. GETS VERSION FROM LINE 2 OF THIS ROUTINE.
  1. ;
  1. D SETVARS^WVUTL5
  1. N WVVER,Y
  1. ;
  1. S Y=$P($P($T(WVLOGO+1),";;",2),";")
  1. ;
  1. W @IOF
  1. I '$D(DUZ(2)) D Q
  1. .W !!!,"DUZ(2) is undefined. Contact your Site Manager.",!!
  1. .D DIRZ^WVUTL3
  1. W !?3,"Women's Health Main Menu v",Y,?55,$E($P(^DIC(4,DUZ(2),0),U),1,24)
  1. Q
  1. ;
  1. CHECK ;EP
  1. ;---> UPON ENTRY VIA MAIN MENU (OR LAB DATA ENTRY MENU), CHECKS TO
  1. ;---> SEE THAT USER'S DUZ(2) IS SET UP AS A PACKAGE SITE.
  1. I '$G(DUZ(2)) D WARN D D CHKOUT Q
  1. .W !?5,"Your DUZ(2) variable is not defined."
  1. I '$D(^WV(790.02,DUZ(2),0)) D WARN D D CHKOUT,CHKOUT1 Q
  1. .W !?5,"Women's Health Site Parameters have NOT been set for the site"
  1. .W !?5,"you are logged on as: ",$P(^DIC(4,DUZ(2),0),U)
  1. Q
  1. ;
  1. WARN ;EP
  1. W @IOF,!!?35,"WARNING",!?34,"---------",!!
  1. Q
  1. CHKOUT ;EP
  1. W !!?5,"At this point you should back out of the Women's Health"
  1. W !?5,"package and contact your site manager or the person in charge"
  1. W !?5,"of the Women's Health Software.",!
  1. Q
  1. CHKOUT1 ; Message when no site parameter entry
  1. W !?5,"Or, if you wish to set up site parameters for this site,"
  1. W !?5,"you may proceed to the Edit Site Parameters option and enter"
  1. W !?5,"parameters for this site. (Synonyms: MF-->FM-->ESP)",!
  1. D DIRZ^WVUTL3
  1. Q