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

PXRMLRHL.m

Go to the documentation of this file.
  1. PXRMLRHL ; SLC/PJH - List Rule help. ;05/31/2006
  1. ;;2.0;CLINICAL REMINDERS;**4**;Feb 04, 2005;Build 21
  1. ;======================================================================
  1. LOAD(SUB) ;
  1. ;If necessary load the help text into the ^TMP array.
  1. ;Check if the help text has already been loaded.
  1. I $D(^TMP(SUB,$J,"VALMCNT")) D Q
  1. . S VALMCNT=^TMP(SUB,$J,"VALMCNT")
  1. ;
  1. N DONE,IND,LABEL,TEXT
  1. S LABEL=$S(SUB["LRM":"TX1",SUB["LRED":"TX2",1:"NOHLP")
  1. S DONE=0
  1. S VALMCNT=0
  1. F IND=1:1 Q:DONE D
  1. . S TEXT=$P($T(@(LABEL_"+"_IND)),";;",2)
  1. . I TEXT="**End Text**" S DONE=1 Q
  1. . S VALMCNT=VALMCNT+1,^TMP(SUB,$J,VALMCNT,0)=TEXT
  1. S ^TMP(SUB,$J,"VALMCNT")=VALMCNT
  1. Q
  1. ;
  1. TX1 ;Help Text
  1. ;;The following actions are available:
  1. ;;
  1. ;;CV Change View
  1. ;; Toggle view between different rule types
  1. ;; - Finding Rules (based on Reminder Terms)
  1. ;; - Patient List Rules (based on existing Patient Lists)
  1. ;; - Reminder Rules (based on reminder definitions)
  1. ;; - Rule Sets (containing Finding Rules and Patient List Rules)
  1. ;;
  1. ;;CR Create Rule
  1. ;; Create a list rule of the type currently displayed. Finding Rules
  1. ;; and Patient List Rules must be created before a Rule Set may be
  1. ;; created.
  1. ;;
  1. ;;DR Display/Edit Rule
  1. ;; Display or edit an existing list rule. Only local list rules may
  1. ;; be edited.
  1. ;;
  1. ;;TEST (Available only for rule sets)
  1. ;; Shows how the rule set will be evaluated based on the user's
  1. ;; input of list build beginning and ending dates.
  1. ;;
  1. ;;QU Quit
  1. ;;**End Text**
  1. ;
  1. ;
  1. TX2 ;Help Text
  1. ;;The following actions are available:
  1. ;;
  1. ;;ED Edit Rule
  1. ;; Edit a list rule.
  1. ;;
  1. ;;QU Quit
  1. ;;**End Text**
  1. Q
  1. ;
  1. ;======================================================================
  1. NOHLP ;Help text
  1. ;;
  1. ;;No Help Text Available
  1. ;;
  1. ;;**End Text**
  1. Q
  1. ;