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

BDMBUL6.m

Go to the documentation of this file.
BDMBUL6 ; cmi/anch/maw - Routine to create bulletin ; 
 ;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
 ;;
 ;;Here's how to make this work:
 ;;
 ;;1. Create your message in subroutine WRITEMSG
 ;;2. Identify recipients in GETRECIP by setting appropriate key
 ;;3. Make changes in SUBJECT and SENDER as desired
 ;;4. Callthis routine on completion of patch or upgrade
 ;
 I '$G(DUZ) W !,"DUZ UNDEFINED OR ZERO.",! Q
 D HOME^%ZIS,DT^DICRW
 ;
 NEW XMSUB,XMDUZ,XMTEXT,XMY,DIFROM
 KILL ^TMP($J,"BDMBUL")
 D WRITEMSG,GETRECIP
 ;Change following lines as desired
SUBJECT S XMSUB="* * * IMPORTANT RPMS INFORMATION * * *"
SENDER S XMDUZ="Diabetes Management System Coordinator"
 S XMTEXT="^TMP($J,""BDMBUL"",",XMY(1)="",XMY(DUZ)=""
 I $E(IOST)="C" W !,"Sending Mailman message to holders of the"_" "_BDMKEY_" "_"security key."
 D ^XMD
 KILL ^TMP($J,"BDMBUL"),BDMKEY
 Q
 ;
WRITEMSG ;
 F %=3:1 S X=$P($T(WRITEMSG+%),";",3) Q:X="###"  S ^TMP($J,"BDMBUL",%)=X
 Q
 ;;  
 ;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ;;+     This message is intended to advise you of changes,        +
 ;;+     upgrades or other important RPMS information
 ;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ;;  
 ;;PCC Diabetes Management System patch 6 has recently been installed, and
 ;;includes the following modifications/enhancements:
 ;;   
 ;;1. Various technical programming changes.
 ;;
 ;;2. Adds new New General Retrieval Items-
 ;;
 ;;1.  Initial Entry Date
 ;;2.  Inactivation Date
 ;;3.  Risk Factors
 ;;4.  DX Criteria
 ;;5.  Intervention
 ;;6.  Intervention Due Date
 ;;7.  Intervention Result Date
 ;;8.  Intervention Results
 ;;9.  Mlg Address - State
 ;;10. Mlg Address - Zip
 ;;
 ;;3. Letter Education Inserts
 ;;1.  Foot Exam
 ;;2.  Eye Exam
 ;;3.  Dental Exam
 ;;4.  Flu Shot
 ;;5.  Tetanus
 ;;6.  PPD
 ;;7.  A1C Hemoglobin
 ;;8.  Creatinine
 ;;9.  Urine Test
 ;;10. Lipid Panel
 ;;11. Pap Smear
 ;;12. All Education
 ;;
 ;;4. Self Glucose Monitoring Report
 ;;
 ;;5. Fix to Follow-up Report
 ;;
 ;;6. Ability to print a selected Flow Sheet from PM Menu
 ;;
 ;;7. Modified Lister Routines to accommodate DMS GUI Interface
 ;;
 ;;
 ;;For additional information contact your RPMS site manager, Area Office RPMS or
 ;;the HELP DESK.
 ;;
 ;;  
 ;;+++++++++++++++++++++ End of Announcement +++++++++++++++++++++++
 ;;###
 ;
GETRECIP ;
 ;* * * Define key below to identify recipients * * *
 ;
 S CTR=0,BDMKEY="BDMZMENU"
 F  S CTR=$O(^XUSEC(BDMKEY,CTR)) Q:'CTR  S Y=CTR S XMY(Y)=""
 Q