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

APCDBUL5.m

Go to the documentation of this file.
  1. APCDBUL5 ; IHS/CMI/LAB - Routine to create bulletin ;
  1. ;;2.0;IHS PCC SUITE;;MAY 14, 2009
  1. ;;Borrowed from ACHSP1, ACHSP1A
  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 APCDKEY
  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,"APCDBUL")
  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,""APCDBUL"",",XMY(1)="",XMY(DUZ)=""
  1. I $E(IOST)="C" W !,"Sending Mailman message to holders of the"_" "_APCDKEY_" "_"security key."
  1. D ^XMD
  1. KILL ^TMP($J,"APCDBUL"),APCDKEY
  1. Q
  1. ;
  1. WRITEMSG ;
  1. F %=3:1 S X=$P($T(WRITEMSG+%),";",3) Q:X="###" S ^TMP($J,"APCDBUL",%)=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 Data Entry Patch 5 AND 6 have been installed. This patch includes the following
  1. ;;modifications/enchancements:
  1. ;;
  1. ;; - New Option: Merge 2 visits on different dates. APCDVMDD
  1. ;; - New Option: Visit Display in Non-Browser mode. APCDVDP
  1. ;; - New Option: Complete Orphaned Radiology Visits. APCDKRV
  1. ;; - New Option: Complete Orphaned Pharmacy Visits. APCDKPV
  1. ;; - New Option: Re-print Group Forms.
  1. ;; - New Mnemonics: AST - capture asthma related data.
  1. ;; HAST - capture historical asthma related data.
  1. ;; COC - coded chief complaint. Capture Chief
  1. ;; Complaint in icd diagnosis format.
  1. ;; PCF - documents that this pcc visit was created
  1. ;; By PCC+.
  1. ;; PF - Peak Flow measurement type.
  1. ;; O2 - O2 Saturation measurement type.
  1. ;; PA - Pain measurement type.
  1. ;; - 3m Coder: modification made to support the interface with the 3M coder. (APCD3M, APCD3ME)
  1. ;; - stuff visit unique ID in visit record. (APCDALV)
  1. ;; - Sentinel Surveillance link from V Lab added. (APCDALVR)
  1. ;; - Prevent Undef in several places where a patient pointer may be null. (APCDPRB, APCDDVD1
  1. ;; - Allow lookup of inactive patients in visit display and visit list in a date range options. (APCDVLST, APCDDISP)
  1. ;; - Set a data entry date in the visit file for the data warehouse export. (APCDEA2, APCDEAP, APCDEGP0, APCDEHI2, APCDPE2, APCDDMUP)
  1. ;; - DM update option: add exam results, add education provider (APCDDMU1, ACPDDMU2)
  1. ;; - Allow the PPPV report in the Visit Review Report to be run for just pharmacy, radiology, lab or immunization visits. (APCDDVD, APCDR00)
  1. ;; - Print CPT codes on the PCC form print. (APCDEF, APCDEFC, APCDEFP, APCDEFP1)
  1. ;; - Allow re-printing of group forms.
  1. ;; - Have user okay input before proceeding with group form entry. (APCDEGP, APCDEPG0,APCDEGP1)
  1. ;; - Print VCN in WHAT mnemonic. (APCDEWHA)
  1. ;; - Print operator's name on Listing of Uncoded Diagnoses and Procedures Reports. (APCDFPPV)
  1. ;; - Fixed HRN display on QA Coding reports. (APCDFQAP)
  1. ;; - Modified Complete Orphaned Reports and Purging options to allow
  1. ;; Pharmacy and Radiology in addition to the existing Complete Orphaned
  1. ;; Lab options. (APCDKLV, APCDKLVR, APCDKLVP)
  1. ;; - Fixed formatting on immunization display. (APCDLIM)
  1. ;; - Modified problem list entry option to use ^TMP rather than a local
  1. ;; array due to PGMOV errors. (APCDPL, APCDPL1, APCDPL2)
  1. ;; - Fixed ECODE error in VRR. (APCDR07)
  1. ;; - Modified APCDVLK to use the AA index rather than the AC to speed
  1. ;; up visit lookup. (APCDVLK)
  1. ;; - Set .37 field of visit (merged to) for billing in VISIT
  1. ;; MERGE. (APCDVMRG)
  1. ;; - Modified several input templates for Fileman 22.
  1. ;; - Added V BLOOD BANK to items to be moved from one visit
  1. ;; to another. (APCDKUL)
  1. ;; - Added GOAL STATUS to patient education
  1. ;;+++++++++++++++++++++ end of announcement +++++++++++++++++++++++
  1. ;;###
  1. ;
  1. GETRECIP ;
  1. ;* * * Define key below to identify recipients * * *
  1. ;
  1. S CTR=0,APCDKEY="APCDZMENU"
  1. F S CTR=$O(^XUSEC(APCDKEY,CTR)) Q:'CTR S Y=CTR S XMY(Y)=""
  1. Q