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

BIDU1.m

Go to the documentation of this file.
  1. BIDU1 ;IHS/CMI/MWR - DUE LIST/LETTERS, HELP; MAY 10, 2010
  1. ;;8.5;IMMUNIZATION;;SEP 01,2011
  1. ;;* MICHAEL REMILLARD, DDS * CIMARRON MEDICAL INFORMATICS, FOR IHS *
  1. ;; DUE LISTS/LETTERS, HELP.
  1. ;
  1. ;
  1. ;----------
  1. HELP ;EP
  1. ;---> Help code.
  1. N BIX S BIX=X
  1. D FULL^VALM1
  1. W !!?5,"Enter ""L"" to view or print a list of patients according to the"
  1. W !?5,"selection criteria above. Enter ""P"" to print letters to the list"
  1. W !?5,"of patients selected above. Or enter ""H"" to view the full help text"
  1. W !?5,"of the lists, letters, and parameters above."
  1. D DIRZ^BIUTL3(""," Press ENTER/RETURN to continue")
  1. D:BIX'="??" RESET^BIDU
  1. Q
  1. ;
  1. ;
  1. ;----------
  1. HELP1 ;EP
  1. ;----> Explanation of this report.
  1. N BITEXT D TEXT1(.BITEXT)
  1. D START^BIHELP("DUE LISTS AND LETTERS - HELP",.BITEXT)
  1. Q
  1. ;
  1. ;
  1. ;----------
  1. TEXT1(BITEXT) ;EP
  1. ;;
  1. ;;The IMMUNIZATION LISTS & LETTERS screen provides a single point from
  1. ;;which to view Due Lists and Master Lists, and to print Due Letters.
  1. ;;
  1. ;;There are 13 items or "parameters" on the screen that you may
  1. ;;change in order to select for a specific group of patients.
  1. ;;To change an item, enter its left column number (1-12) at the
  1. ;;prompt on the bottom of the screen. Use "?" at any prompt where
  1. ;;you would like help or more information on the parameter you are
  1. ;;changing.
  1. ;;
  1. ;;Once you have the parameters set to retrieve the group of patients
  1. ;;you want, select L to print or view the List of patients, or
  1. ;;select P to Print Due Letters.
  1. ;;
  1. ;;In building this list to view or print, the computer must examine
  1. ;;every patient in the Immunization Register. For this reason, on
  1. ;;some computer systems it may take some time before the list appears.
  1. ;;
  1. ;;For the parameters: DATE OF FORECAST, AGE RANGE, PATIENT GROUP,
  1. ;;ADDITIONAL INFORMATION, and ORDER OF LISTING detailed help will be
  1. ;;displayed when you select these items.
  1. ;;
  1. ;;COMMUNITIES: If you select for specific Communities, only patients
  1. ;;whose Current Community (under Patient Registration) is one of the
  1. ;;selected Communities will be included in the Lists and Letters.
  1. ;;
  1. ;;CASE MANAGERS: If you select for specific Case Managers, only
  1. ;;patients who have the selected Case Managers will be included
  1. ;;in the Lists and Letters.
  1. ;;
  1. ;;DESIGNATED PROVIDERS: If you select for specific Designated Primary
  1. ;;Providers, only patients who have the selected Providers will be
  1. ;;included in the Lists and Letters.
  1. ;;
  1. ;;IMMUNIZATIONS RECEIVED: If you select for specific Immunizations
  1. ;;Received, then only patients who have received the Vaccines selected
  1. ;;will be included in the Lists and Letters. If you further limit your
  1. ;;criteria to a date range, then only patients who have received the
  1. ;;the selected vaccines within the date range will be included. You can
  1. ;;then choose to display only the history of the vaccines you selected.
  1. ;;
  1. ;;NOTE: If you select for ALL vaccines and do NOT limit it by date
  1. ;;range, then this criterium "Immunizations Received" will have
  1. ;;NO limiting effect. This feature allows you to create lists that
  1. ;;include patients who have never received an immunization at your
  1. ;;site--for example, a Due List that includes newcomers.
  1. ;;
  1. ;;IMMUNIZATIONS DUE: If you select for specific Immunizations Due,
  1. ;;then only patients who are due for the Vaccines selected will be
  1. ;;included in the Lists and Letters.
  1. ;;
  1. ;;NOTE: This parameter is only used to limit a list to patients who
  1. ;;are due for specific vaccines. If you simply leave the parameter
  1. ;;as "ALL" it will have no limiting effect on the Patient Group chosen
  1. ;;in parameter 3 of the Lists & Letters Menu.
  1. ;;
  1. ;;LOT NUMBERS: If you select for specific Lot Numbers, only patients
  1. ;;who have received immunizations with the specified Lot Numbers will
  1. ;;be included in the Lists and Letters.
  1. ;;
  1. ;;HEALTH CARE FACILITIES: If you select for specific Facility, only
  1. ;;patients who have a Health Record Number at one of the selected
  1. ;;Health Care Facilities will be included in the Lists and Letters.
  1. ;;
  1. D LOADTX("TEXT1",,.BITEXT)
  1. Q
  1. ;
  1. ;
  1. ;----------
  1. LOADTX(BILINL,BITAB,BITEXT) ;EP
  1. Q:$G(BILINL)=""
  1. N I,T,X S T="" S:'$D(BITAB) BITAB=5 F I=1:1:BITAB S T=T_" "
  1. F I=1:1 S X=$T(@BILINL+I) Q:X'[";;" S BITEXT(I)=T_$P(X,";;",2)
  1. Q