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.
  1. BDMBUL6 ; cmi/anch/maw - Routine to create bulletin ;
  1. ;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
  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,"BDMBUL")
  1. D WRITEMSG,GETRECIP
  1. ;Change following lines as desired
  1. SUBJECT S XMSUB="* * * IMPORTANT RPMS INFORMATION * * *"
  1. SENDER S XMDUZ="Diabetes Management System Coordinator"
  1. S XMTEXT="^TMP($J,""BDMBUL"",",XMY(1)="",XMY(DUZ)=""
  1. I $E(IOST)="C" W !,"Sending Mailman message to holders of the"_" "_BDMKEY_" "_"security key."
  1. D ^XMD
  1. KILL ^TMP($J,"BDMBUL"),BDMKEY
  1. Q
  1. ;
  1. WRITEMSG ;
  1. F %=3:1 S X=$P($T(WRITEMSG+%),";",3) Q:X="###" S ^TMP($J,"BDMBUL",%)=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. ;;PCC Diabetes Management System patch 6 has recently been installed, and
  1. ;;includes the following modifications/enhancements:
  1. ;;
  1. ;;1. Various technical programming changes.
  1. ;;
  1. ;;2. Adds new New General Retrieval Items-
  1. ;;
  1. ;;1. Initial Entry Date
  1. ;;2. Inactivation Date
  1. ;;3. Risk Factors
  1. ;;4. DX Criteria
  1. ;;5. Intervention
  1. ;;6. Intervention Due Date
  1. ;;7. Intervention Result Date
  1. ;;8. Intervention Results
  1. ;;9. Mlg Address - State
  1. ;;10. Mlg Address - Zip
  1. ;;
  1. ;;3. Letter Education Inserts
  1. ;;1. Foot Exam
  1. ;;2. Eye Exam
  1. ;;3. Dental Exam
  1. ;;4. Flu Shot
  1. ;;5. Tetanus
  1. ;;6. PPD
  1. ;;7. A1C Hemoglobin
  1. ;;8. Creatinine
  1. ;;9. Urine Test
  1. ;;10. Lipid Panel
  1. ;;11. Pap Smear
  1. ;;12. All Education
  1. ;;
  1. ;;4. Self Glucose Monitoring Report
  1. ;;
  1. ;;5. Fix to Follow-up Report
  1. ;;
  1. ;;6. Ability to print a selected Flow Sheet from PM Menu
  1. ;;
  1. ;;7. Modified Lister Routines to accommodate DMS GUI Interface
  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,BDMKEY="BDMZMENU"
  1. F S CTR=$O(^XUSEC(BDMKEY,CTR)) Q:'CTR S Y=CTR S XMY(Y)=""
  1. Q