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

PXBHLP1.m

Go to the documentation of this file.
  1. PXBHLP1 ;ISL/JVS - FIRST HELP ROUITINE FOR STOP CODES STP ;5/21/96 11:47
  1. ;;1.0;PCE PATIENT CARE ENCOUNTER;;Aug 12, 1996
  1. ;
  1. ;
  1. ;
  1. ; If you edit the text besure to change the length nest to the TAG
  1. ; eg=== ;;4
  1. ; you can put a line feed '!' at the end of the last line if necess.
  1. ;
  1. ;
  1. W !,"THIS IS NOT AN ENTRY POINT " Q
  1. INTRO ;;6
  1. W !,"Enter a STOP CODE associated with this patient ENCOUNTER."
  1. W !,"You can enter partial codes or descriptions to receive a short list."
  1. W !,"Above is a list of STOP CODES already entered. If there are any"
  1. W !,"additional ones, they should be entered at this time."
  1. W !," * indicates that the entry had been visited during this session"
  1. I $G(WHAT)="INTV" W !,"a '^^' (double up arrow) will take you out of the interview"
  1. W !,"For more detailed ",IOINHI,"HELP",IOINLOW," and 'selection lists' enter ",IOINHI,"??",IOINLOW,!
  1. Q
  1. BODY ;;8
  1. W !,"To receive detailed help for ",IOINHI,"ADD",IOINLOW," or ",IOINHI,"DELETE",IOINLOW," enter the following:"
  1. W !
  1. W !," ",IOINHI,"A",IOINLOW," to get help on how to ADD stop codes."
  1. W !," ",IOINHI,"D",IOINLOW," to get help on how to DELETE stop codes."
  1. W !
  1. W !,"To receive more ",IOINHI,"SELECTION LISTS",IOINLOW," enter the following:"
  1. W !
  1. W !," ",IOINHI,"1",IOINLOW," to get a list of ALL active stop codes."
  1. Q
  1. A ;;4
  1. W !,"To ",IOINHI,"ADD",IOINLOW," a STOP CODE Enter one of the following:"
  1. W !," STOP CODE (eg. 305)"
  1. W !," NAME or PARTIAL NAME of the STOP CODE (eg. AL or ALCOHOL)"
  1. W !," Multiple STOP CODES seperated by a comma (eg. 305,121,314,555,654)"
  1. Q
  1. E ;;0
  1. D ;;3
  1. W !,"To ",IOINHI,"DELETE",IOINLOW," a STOP CODE Enter one of the following:"
  1. W !," an '@' followed by the ITEM NUMBER (eg. @1 or @3)"
  1. W !," Multiple ITEM NUMBERS (eg. @1,3,5 or @1-3,6,9)"
  1. Q
  1. PROMPT ;---Prompt for the help prompt
  1. N DIR,OK,POSS
  1. D WIN17^PXBCC(PXBCNT)
  1. W !!,"Enter '^' to leave HELP CENTER"
  1. W !,"Enter a letter or number for additional help: "
  1. R Y:DTIME
  1. S POSS="aAdD12^" I POSS[Y,$L(Y)=1!(Y="") S TAG=Y
  1. S TAG=$TR(TAG,"ade","ADE")
  1. I POSS'[Y!($L(Y)>1) S TAG="BODY"
  1. ;
  1. Q
  1. ROUTINE ;---routine excuted when SELECTION LISTS are selected
  1. ;W !,"ROUTINES FOR SELECTION LISTS"
  1. 1 ;;10
  1. S (Y,DATA,EDATA)=$P($$DOUBLE^PXBGSTP2(WHAT),"^2")
  1. Q