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

APCLP11.m

Go to the documentation of this file.
  1. APCLP11 ; IHS/CMI/LAB - Routine to create bulletin ; [ 03/20/02 12:32 PM ]
  1. ;;3.0;IHS PCC REPORTS;**10**;FEB 15, 1997
  1. ;;
  1. ; The following line prevents the "Disable Options..." and "Move
  1. ; Routines..." questions from being asked during the install.
  1. I $G(XPDENV)=1 S (XPDDIQ("XPZ1"),XPDDIQ("XPZ2"))=0
  1. Q
  1. ;
  1. POST ;EP
  1. ;*** REMEMBER TO SEND APCLVSTS GLOBAL AS GLOBAL OR AS KIDS
  1. OPT ;add 2 new options (supplement, report)
  1. NEW X
  1. S X=$$ADD^XPDMENU("APCL M MAN ALL REPORTS","APCL P ALLV INCOMPLETE","INCV")
  1. I 'X W "Attempt to new incomplete visit report failed.." H 3
  1. S X=$$ADD^XPDMENU("APCL M MAIN DM MENU","APCL DM REG APPT CLN","APCL")
  1. I 'X W "Attempt to new appt list of reg pats failed.." H 3
  1. S X=$$ADD^XPDMENU("APCL M MAN PATIENT LISTINGS","APCL UPLOAD PATS TO ST","UPLP")
  1. I 'X W "Attempt to new upload pats option failed.." H 3
  1. ;S X=$$ADD^XPDMENU("APCL M MAN ALL REPORTS","APCL PROVIDER PROFILE","PP")
  1. ;I 'X W "Attempt to new provider profile report failed.." H 3
  1. S X=$$ADD^XPDMENU("APCL MENU PHN REPORTS","APCL PHN TIME & SER BY PROV CR","TSCR")
  1. I 'X W "Attempt to new phn report failed.." H 3
  1. S X=$$ADD^XPDMENU("APCL M MAIN DM MENU","APCL DM REG APPT HS","HSRG")
  1. I 'X W "Attempt to add health summary for dm reg pts failed.." H 3
  1. NEW X S X=$$ADD^XPDMENU("APCL M MAN RESOURCE ALLOCATION","APCL P RES INPT BY COMM","INPC")
  1. I 'X W "Attempt to add Inpatient by community option failed." H 3
  1. NEW X S X=$$ADD^XPDMENU("APCL M MAN RESOURCE ALLOCATION","APCL P RES INPT BY TRIBE","INPT")
  1. I 'X W "Attempt to add Inpatient by tribe option failed." H 3
  1. NEW X S X=$$ADD^XPDMENU("APCL M MAN RESOURCE ALLOCATION","APCL P RES INPT BY SU","INPS")
  1. I 'X W "Attempt to add Inpatient by su option failed." H 3
  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 11 has recently been installed. This patch
  1. ;;includes the following modifications/enhancements:
  1. ;;
  1. ;;Prevents an Undefined error in various reports if Provider entry
  1. ;;is missing a discipline code.
  1. ;;Modifies slightly how BMI is calculated to match other applications
  1. ;;- Prevents an undef in several reports if provider narrative is blank
  1. ;;- fixes a problem with activity time report in file 200 converted sites
  1. ;;- fixed date disply on Calender Year First/Revisit report
  1. ;;- Adds a check for cpt code 92012 for eye exam in the 2001 audit
  1. ;;- Modifies the DM Diet Education portion of the 2001 audit to more accurately
  1. ;; determine if education was provided by an RD
  1. ;;- Modifies the 2001 DM Audit to look at Staged Diabetes Managemenent Health
  1. ;;- Modifies the 2001 DM Audit to look at Diabetes Self Monitoring Health
  1. ;;- Modifies verbage on BMI reports.
  1. ;; factors.
  1. ;;- Modifies lab lookup on 2001 audit to ignore tests with result COMMENT
  1. ;;- APCLDF2 - data fetcher - protects against invalid AA xref entries
  1. ;;- Operations Summary - removes APC recode display because recode table is out
  1. ;; of date.
  1. ;;- Added the ability to save the results of the Overweight/Obese report
  1. ;; to a search template
  1. ;;- NEW REPORTS:
  1. ;; - INPC Inpatient Discharges/Days by Community
  1. ;; - INPS Inpatient Discharges/Days by SU of Residence
  1. ;; - INPT Inpatient Discharges/Days by Tribe
  1. ;; - APCL List Patients on a Register w/an Appointment
  1. ;; - HSPrint Health Summary of DM patients w/Appointment
  1. ;; - TSCR Time and Services by Provider for chart reviews
  1. ;; - INCV Listing of Incomplete Lab, Rx or Radiology Visits
  1. ;; - UPLP Upload Patients from text file to search template
  1. ;;- NEW VGEN/PGEN items
  1. ;; - Medicare Part B
  1. ;; - Problem List DX (Any)
  1. ;; - Problem List DX (Active)
  1. ;; - Problem List DX (Inactive)
  1. ;; - Hx of Surgery
  1. ;; - Most recent Tobacco HF
  1. ;; - Most recent TB HF
  1. ;; - Most recent SDM HF
  1. ;; - Most recent Alcohol HF
  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