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

NURXPST.m

Go to the documentation of this file.
  1. NURXPST ;HIRMFO/FT-Nursing Service v4.0 Post-Initialization Routine ;1/21/97 14:27
  1. ;;4.0;NURSING SERVICE;;Apr 25, 1997
  1. ;
  1. ; This routine contains the post-initialization code for Nursing
  1. ; Service package v4.0.
  1. ;
  1. D MAILGRP,POST1^NURSFILE,MASMSG
  1. Q
  1. MAILGRP ; Remind IRM to check for members in NURS-ADP mail group
  1. D BMES^XPDUTL("Reminder: Make certain the NURS-ADP mail group has at least one member.")
  1. Q
  1. ONLINE ; Set Nursing software switch back to On-Line
  1. S $P(^DIC(213.9,1,"OFF"),U,1)=0
  1. D BMES^XPDUTL("Setting Nursing software switch back to ON-LINE")
  1. Q
  1. MAS ; post-init ward deactivation/activation to update mas movements
  1. S (NURSTUS)="I",(NURSBAD,NURSEND,OUTSW)=0 D DATACK^NURSCPLU D:'NURSDATA FIRSTIME^NURSCPLU I NURSEND K NURSEND D ONLINE Q
  1. F NURS1=0:0 S NURS1=$O(^NURSF(211.4,"D","A",NURS1)) Q:NURS1'>0 S NURSWRD(NURS1)=NURS1
  1. D ACTINAC
  1. S (NURSTUS)="A" D ACTINAC
  1. D ONLINE
  1. K NURS,DA,DIC,X,Y,NURSTUS,SSTAT,NURS1,NURSBAD,NURSEND,OUTSW,NURSWRD
  1. Q
  1. ACTINAC D ACTWARD^NURSCPLU
  1. I $D(NURSWRD) D INIT214^NURSCPLU K NURSEND
  1. Q
  1. MASMSG ;
  1. K NURMSG
  1. S NURMSG(1)=" "
  1. S NURMSG(2)="Before setting the Nursing software back on-line, I need"
  1. S NURMSG(3)="to update the NURS Patient file (#214) with any MAS patient"
  1. S NURMSG(4)="movements that took place while this software was installed."
  1. S NURMSG(5)="At the programmers prompt please do the following:"
  1. S NURMSG(6)=""
  1. S NURMSG(7)=" D MAS^NURXPST"
  1. S NURMSG(8)=" "
  1. D BMES^XPDUTL(.NURMSG)
  1. K NURMSG
  1. Q