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

WVLABLG2.m

Go to the documentation of this file.
  1. WVLABLG2 ;HCIOFO/FT IHS/ANMC/MWR - DISPLAY LAB LOG; ;8/19/98 15:43
  1. ;;1.0;WOMEN'S HEALTH;;Sep 30, 1998
  1. ;;* MICHAEL REMILLARD, DDS * ALASKA NATIVE MEDICAL CENTER *
  1. ;; HELP PROMPTS FOR DISPLAYING LAB LOG. CALLED BY WVLABLG.
  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 WVTAB=5,WVLINL="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 WVTAB=5,WVLINL="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 WVTAB=5,WVLINL="HELP3" D HELPTX
  1. Q
  1. ;
  1. HELPTX ;EP
  1. ;---> CREATES DIR ARRAY FOR DIR. REQUIRED VARIABLES: WVTAB,WVLINL.
  1. N I,T,X S T="" F I=1:1:WVTAB S T=T_" "
  1. F I=1:1 S X=$T(@WVLINL+I) Q:X'[";;" S DIR("?",I)=T_$P(X,";;",2)
  1. S DIR("?")=DIR("?",I-1) K DIR("?",I-1)
  1. Q