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

ACMBUL7.m

Go to the documentation of this file.
  1. ACMBUL7 ; cmi/anch/maw - Routine to create bulletin for patch 7; [ 05/11/06 3:01 PM ]
  1. ;;2.0;ACM CASE MANAGEMENT SYSTEM;**7**;JAN 10, 1996
  1. ;;
  1. ;;Here's how to make this work:
  1. ;;
  1. ;;1. Create your message in subroutine WRITEMSG
  1. ;;2. Identify recipients in GETRECIP by setting appropriate key
  1. ;;3. Make changes in SUBJECT and SENDER as desired
  1. ;;4. Callthis routine on completion of patch or upgrade
  1. ;
  1. I '$G(DUZ) W !,"DUZ UNDEFINED OR ZERO.",! Q
  1. D HOME^%ZIS,DT^DICRW
  1. ;
  1. NEW XMSUB,XMDUZ,XMTEXT,XMY,DIFROM
  1. KILL ^TMP($J,"ACMBUL")
  1. D WRITEMSG,GETRECIP
  1. ;Change following lines as desired
  1. SUBJECT S XMSUB="* * * IMPORTANT RPMS INFORMATION * * *"
  1. SENDER S XMDUZ="Case Management System Coordinator"
  1. S XMTEXT="^TMP($J,""ACMBUL"",",XMY(1)="",XMY(DUZ)=""
  1. I $E(IOST)="C" W !,"Sending Mailman message to holders of the"_" "_ACMKEY_" "_"security key."
  1. D ^XMD
  1. KILL ^TMP($J,"ACMBUL"),ACMKEY
  1. Q
  1. ;
  1. WRITEMSG ;
  1. F %=3:1 S X=$P($T(WRITEMSG+%),";",3) Q:X="###" S ^TMP($J,"ACMBUL",%)=X
  1. Q
  1. ;;
  1. ;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1. ;;+ This message is intended to advise you of changes, +
  1. ;;+ upgrades or other important RPMS information
  1. ;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1. ;;
  1. ;;Case Management System patch 7 has recently been installed, and
  1. ;;includes the following modifications/enhancements:
  1. ;;
  1. ;;1. Various technical programming fixes.
  1. ;;
  1. ;; Changes and corrections for this patch:
  1. ;;
  1. ;; a) New General Retrieval Items
  1. ;; b) Fix date range prompt on general retrieval when select next review date
  1. ;; c) Fix patient lookup, if user selects chart that isn't found it was looking at last 4 of SSN
  1. ;;
  1. ;; d) New option to display register creator
  1. ;; e) Make registers read only for certain users by addding security key ACMZ EDIT
  1. ;;
  1. ;;
  1. ;;For additional information contact your RPMS site manager, Area Office RPMS or
  1. ;;the HELP DESK.
  1. ;;
  1. ;;
  1. ;;+++++++++++++++++++++ End of Announcement +++++++++++++++++++++++
  1. ;;###
  1. ;
  1. GETRECIP ;
  1. ;* * * Define key below to identify recipients * * *
  1. ;
  1. S CTR=0,ACMKEY="ACMZMENU"
  1. F S CTR=$O(^XUSEC(ACMKEY,CTR)) Q:'CTR S Y=CTR S XMY(Y)=""
  1. Q