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

BWLABLG2.m

Go to the documentation of this file.
  1. BWLABLG2 ;IHS/ANMC/MWR - DISPLAY LAB LOG;15-Feb-2003 21:56;PLS
  1. ;;2.0;WOMEN'S HEALTH;**8**;MAY 16, 1996
  1. ;;* MICHAEL REMILLARD, DDS * ALASKA NATIVE MEDICAL CENTER *
  1. ;; HELP PROMPTS FOR DISPLAYING LAB LOG. CALLED BY BWLABLG.
  1. ;
  1. HELP1 ;EP
  1. ;;Answer "ALL" to display ALL Procedures for the selected date range.
  1. ;;Answer "NO" to display only those Procedures that at this time
  1. ;;have NO RESULTS, within the selected date range.
  1. S BWTAB=5,BWLINL="HELP1" D HELPTX
  1. Q
  1. ;
  1. HELP2 ;EP
  1. ;;Answer "EACH" to display the data for each individual Procedure,
  1. ;;in other words, show date, accession#, name, chart#, provider, etc.
  1. ;;Answer "TOTALS" to display only the total counts, in other words,
  1. ;;show only the number procedures with no results and the total
  1. ;;number of procedures (for the selected date range).
  1. S BWTAB=5,BWLINL="HELP2" D HELPTX
  1. Q
  1. ;
  1. HELP3 ;EP
  1. ;;Answer "ACCESSION#" to display Procedures in order of ACCESSION#,
  1. ;;in other words, earliest ACCESSION# first.
  1. ;;Answer "PATIENT NAME" to display Procedures alphabetically by
  1. ;;patient name.
  1. S BWTAB=5,BWLINL="HELP3" D HELPTX
  1. Q
  1. ;
  1. HELPTX ;EP
  1. ;---> CREATES DIR ARRAY FOR DIR. REQUIRED VARIABLES: BWTAB,BWLINL.
  1. N I,T,X S T="" F I=1:1:BWTAB S T=T_" "
  1. F I=1:1 S X=$T(@BWLINL+I) Q:X'[";;" S DIR("?",I)=T_$P(X,";;",2)
  1. S DIR("?")=DIR("?",I-1) K DIR("?",I-1)
  1. Q