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