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

WV10PST.m

Go to the documentation of this file.
  1. WV10PST ;HCIOFO/DS-Patch 10 Post-Installation Routine ;3/28/00 08:42
  1. ;;1.0;WOMEN'S HEALTH;**10**;Sep 30, 1998
  1. ;
  1. D QMAIL
  1. Q
  1. ;
  1. QMAIL ; Queue mail message
  1. N ZTDESC,ZTDTH,ZTIO,ZTRTN,ZTSAVE
  1. S ZTRTN="MAIL^WV10PST",ZTDESC="WV*1*10 INSTALLED"
  1. S ZTIO="",ZTDTH=$H
  1. D ^%ZTLOAD
  1. Q
  1. MAIL ; Send message to default case managers to inform them of the changes
  1. N XMDUZ,XMSUB,XMTEXT,XMY,WVSITE,WVIEN,WVLINE,WVMSG
  1. I $D(ZTQUEUED) S ZTREQ="@"
  1. S (WVLINE,WVSITE)=0
  1. F S WVSITE=$O(^WV(790.02,WVSITE)) Q:'WVSITE D
  1. .S WVIEN=$P($G(^WV(790.02,WVSITE,0)),U,2) ;default case manager
  1. .Q:'WVIEN
  1. .S XMY(WVIEN)=""
  1. .Q
  1. I '$O(XMY(0)) Q
  1. SEND ; Create and send mail message
  1. S XMDUZ=.5 ;message sender
  1. S XMSUB="Women's Health patch #10 installed"
  1. S WVMSG(+$$LINE())="Patch #10 for the Women's Health package was installed. This patch adds"
  1. S WVMSG(+$$LINE())="additional site parameters for the Radiology/NM and Laboratory package links."
  1. S WVMSG(+$$LINE())="With these new parameters you can accept none, some or all non-veteran"
  1. S WVMSG(+$$LINE())="patient data from the Radiology/NM and Laboratory package links. To accept"
  1. S WVMSG(+$$LINE())="data for only certain non-veterans you must define the eligibility codes"
  1. S WVMSG(+$$LINE())="(e.g., TRICARE) you are interested in tracking."
  1. S WVMSG(+$$LINE())=" "
  1. S WVMSG(+$$LINE())="To set these new parameters, please do the following steps:"
  1. S WVMSG(+$$LINE())="1) Go to the File Maintenance Menu."
  1. S WVMSG(+$$LINE())="2) Select the Edit Site Parameters option."
  1. S WVMSG(+$$LINE())="3) Select a facility."
  1. S WVMSG(+$$LINE())="4) Go to page 2 of the data entry form."
  1. S WVMSG(+$$LINE())="5) If the 'Import Mammograms from Radiology:' value is NO or blank go to"
  1. S WVMSG(+$$LINE())=" Step 8."
  1. S WVMSG(+$$LINE())="6) Go to the first 'Include ALL Non-Veterans(Y/N)?:' prompt."
  1. S WVMSG(+$$LINE())=" a) Answer YES if you want all non-veteran data from Radiology/NM."
  1. S WVMSG(+$$LINE())=" b) Answer NO if you don't want any non-veteran data from Radiology/NM."
  1. S WVMSG(+$$LINE())=" c) Answer NO if you want only certain non-veterans."
  1. S WVMSG(+$$LINE())=" d) Leaving this answer blank is the same as YES."
  1. S WVMSG(+$$LINE())="If you opted for a, b or d, then skip to Step 8."
  1. S WVMSG(+$$LINE())="7) Go to the first 'ELIGIBILITY CODE(S):' prompt. This is a multiple answer"
  1. S WVMSG(+$$LINE())=" field."
  1. S WVMSG(+$$LINE())=" Enter each eligibility code you wish to accept data for from Radiology/NM."
  1. S WVMSG(+$$LINE())="8) If the 'Import Tests from Laboratory:' value is NO or blank go to Step 11."
  1. S WVMSG(+$$LINE())="9) Go to the second 'Include ALL Non-Veterans(Y/N)?:' prompt."
  1. S WVMSG(+$$LINE())=" a) Answer YES if you want all non-veteran data from Laboratory."
  1. S WVMSG(+$$LINE())=" b) Answer NO if you don't want any non-veteran data from Laboratory."
  1. S WVMSG(+$$LINE())=" c) Answer NO if you want only certain non-veterans."
  1. S WVMSG(+$$LINE())=" d) Leaving this answer blank is the same as YES."
  1. S WVMSG(+$$LINE())="If you opted for a, b or d, then skip to Step 11."
  1. S WVMSG(+$$LINE())="10) Go to the second 'ELIGIBILITY CODE(S):' prompt. This is a multiple answer"
  1. S WVMSG(+$$LINE())=" field."
  1. S WVMSG(+$$LINE())=" Enter each eligibility code you wish to accept data for from Laboratory."
  1. S WVMSG(+$$LINE())="11) Exit and Save any changes"
  1. S WVMSG(+$$LINE())=" "
  1. S WVMSG(+$$LINE())="Repeat steps 3-11 for each facility defined."
  1. S XMTEXT="WVMSG("
  1. D ^XMD
  1. Q
  1. LINE() ; Increment line counter by 1
  1. S WVLINE=+$G(WVLINE)+1
  1. Q WVLINE
  1. ;