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

APCLBUL.m

Go to the documentation of this file.
  1. APCLBUL ; IHS/CMI/LAB - Routine to create bulletin ;
  1. ;;2.0;IHS PCC SUITE;;MAY 14, 2009
  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 APCLKEY
  1. ;;3. Make changes in SUBJECT and SENDER as desired
  1. ;;4. Rename this routine in appropriate namespace and
  1. ;; call 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,"APCLBUL")
  1. D WRITEMSG,GETRECIP
  1. ;Change following lines as desired
  1. SUBJECT S XMSUB="* * * IMPORTANT RPMS INFORMATION * * *"
  1. SENDER S XMDUZ="Cimarron Medical Informatics"
  1. S XMTEXT="^TMP($J,""APCLBUL"",",XMY(1)="",XMY(DUZ)=""
  1. I $E(IOST)="C" W !,"Sending Mailman message to holders of the"_" "_APCLKEY_" "_"security key."
  1. D ^XMD
  1. KILL ^TMP($J,"APCLBUL"),APCLKEY
  1. Q
  1. ;
  1. WRITEMSG ;
  1. F %=3:1 S X=$P($T(WRITEMSG+%),";",3) Q:X="###" S ^TMP($J,"APCLBUL",%)=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 Management Reports Patch 8 has recently been installed. This patch
  1. ;;includes the following modifications/enhancements:
  1. ;;
  1. ;;-DM Audit 2000. New items on the audit include:
  1. ;;--ARB drugs
  1. ;;--Lipid Lowering Drugs
  1. ;;--PAP Smear
  1. ;;--HDL
  1. ;;--Several new DM Audit taxonomies which must be populated prior to running the
  1. ;; audit.
  1. ;;-A new option to display DM Audit criteria by item.
  1. ;;-A new report listing all patients on the Diabetes Register or patients with
  1. ;; at least "n" diabetes diagnoses but DO NOT have DM on their problem list.
  1. ;;-A new report to list patients whose blood pressure is considered to be out
  1. ;; of control.
  1. ;;-A new report called RX Data Analysis report.
  1. ;;-Fixes to Injury Surveillance Reports.
  1. ;;-Fix to prevent program error if provider class not specified or a provider
  1. ;; class without a code is selected.
  1. ;;-Fix of the CHS portion of the Operations Summary.
  1. ;;-Enhancement of the Overweight/Obesity Prevalence Report.
  1. ;;-Update of the BMI Standard Reference Data Table
  1. ;;
  1. ;;For additional information contact your RPMS site manager, Area Office RPMS
  1. ;;support staff or any of the following Cimarron staff members:
  1. ;;
  1. ;;Dorothy Russell * Gary Lawless * Bill Mason * Lori Butcher
  1. ;;(520)-743-3275 (715)-358-3763 (520)-615-0689 (520)-577-2146
  1. ;;
  1. ;;+++++++++++++++++++++ end of announcement +++++++++++++++++++++++
  1. ;;###
  1. ;
  1. GETRECIP ;
  1. ;* * * Define key below to identify recipients * * *
  1. ;
  1. S CTR=0,APCLKEY="APCLZMENU"
  1. F S CTR=$O(^XUSEC(APCLKEY,CTR)) Q:'CTR S Y=CTR S XMY(Y)=""
  1. Q