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

BWBRNEDH.m

Go to the documentation of this file.
BWBRNEDH ;IHS/ANMC/MWR - BROWSE TX NEEDS PAST DUE;15-Feb-2003 22:18;PLS
 ;;2.0;WOMEN'S HEALTH;**8**;MAY 16, 1996
 ;;* MICHAEL REMILLARD, DDS * ALASKA NATIVE MEDICAL CENTER *
 ;;  HELP TEXT FOR SELECTING CRITERIA WHEN BROWSING TX NEEDS.
 ;;  CALLED BY BWBRNED.
 ;
HELP1 ;EP
 ;;Answer "YES" to include in the report those patients whose
 ;;Breast or Cervical Treatment Needs are undetermined.
 ;;Answer "NO" to report only those patients whose Breast and
 ;;Cervical Treatment Needs are known and past their due dates.
 S BWTAB=5,BWLINL="HELP1" D HELPTX
 Q
 ;
HELP2 ;EP
 ;;Answer "DATE DELINQUENT" to display Procedures in order of
 ;;DATE DELINQUENT in other words, earliest DATE first.
 ;;Answer "PATIENT NAME" to display Procedures alphabetically by
 ;;patient name.
 S BWTAB=5,BWLINL="HELP2" D HELPTX
 Q
 ;
HELP3 ;EP
 ;;Answer "ONE" to browse Procedures for ONE particular Case Manager.
 ;;Answer "ALL" to browse Procedures for ALL Case Managers.
 S BWTAB=5,BWLINL="HELP3" D HELPTX
 Q
 ;
HELP4 ;EP
 ;;The date you select will be the date against which patients' Tx Needs
 ;;Due Dates will be checked.  If you choose a date in the future,
 ;;patients with Tx Needs past due on that future date will be included
 ;;in the report.  Choosing a future date in this report may be of help
 ;;in anticipating which patients' Tx Needs are about to become past due
 ;;before they actually become delinquent.
 S BWTAB=5,BWLINL="HELP4" D HELPTX
 Q
 ;
HELPTX ;EP
 ;---> CREATES DIR ARRAY FOR DIR.  REQUIRED VARIABLES: BWTAB,BWLINL.
 N I,T,X S T="" F I=1:1:BWTAB S T=T_" "
 F I=1:1 S X=$T(@BWLINL+I) Q:X'[";;"  S DIR("?",I)=T_$P(X,";;",2)
 S DIR("?")=DIR("?",I-1) K DIR("?",I-1)
 Q