Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/CLINICAL_REMINDERS-PXRM/PXRMXGUT.m

    r628 r636  
    1 PXRMXGUT ; SLC/PJH - General utilities for reminder reports; 11/16/2007
    2  ;;2.0;CLINICAL REMINDERS;**4,6**;Feb 04, 2005;Build 123
     1PXRMXGUT ; SLC/PJH - General utilities for reminder reports; 05/31/2006
     2 ;;2.0;CLINICAL REMINDERS;**4**;Feb 04, 2005;Build 21
    33 ;
    44 ;=======================================
    55EOR ;End of report display.
    6  I $E(IOST,1,2)="C-",IO=IO(0) D
     6 I $E(IOST)="C",IO=IO(0) D
    77 . S DIR(0)="EA"
    88 . S DIR("A")="End of the report. Press ENTER/RETURN to continue..."
     
    2929 ;
    3030 ;=======================================
    31 TIMING ;Print report timing data.
    32  N IND
    33  W !!,"Report timing data:"
    34  S IND=""
    35  F  S IND=$O(^XTMP(PXRMXTMP,"TIMING",IND)) Q:IND=""  W !," ",^XTMP(PXRMXTMP,"TIMING",IND)
    36  Q
     31VLIST(SLIST,LIST,MESSAGE) ;Make sure all the elements of LIST are in
     32 ;SLIST.  If they are, then LIST is valid.  The elements of LIST can be
     33 ;separated by commas and spaces.
     34 N IC,LE,LEN,VALID
     35 S LIST=$TR(LIST,",","")
     36 S LIST=$TR(LIST," ","")
     37 ;Make the test case insensitive.
     38 S SLIST=$$UP^XLFSTR(SLIST)
     39 S LIST=$$UP^XLFSTR(LIST)
     40 S VALID=1
     41 S LEN=$L(LIST)
     42 I LEN=0 D
     43 . W !,"The list is empty!"
     44 . S VALID=0
     45 F IC=1:1:LEN D
     46 . S LE=$E(LIST,IC,IC)
     47 . I SLIST'[LE D
     48 .. W !,LE,MESSAGE
     49 .. S VALID=0
     50 Q VALID
    3751 ;
    3852 ;=======================================
     
    7589 Q STR
    7690 ;
    77  ;=======================================
    78 VLIST(SLIST,LIST,MESSAGE) ;Make sure all the elements of LIST are in
    79  ;SLIST.  If they are, then LIST is valid.  The elements of LIST can be
    80  ;separated by commas and spaces.
    81  N IC,LE,LEN,VALID
    82  S LIST=$TR(LIST,",","")
    83  S LIST=$TR(LIST," ","")
    84  ;Make the test case insensitive.
    85  S SLIST=$$UP^XLFSTR(SLIST)
    86  S LIST=$$UP^XLFSTR(LIST)
    87  S VALID=1
    88  S LEN=$L(LIST)
    89  I LEN=0 D
    90  . W !,"The list is empty!"
    91  . S VALID=0
    92  F IC=1:1:LEN D
    93  . S LE=$E(LIST,IC,IC)
    94  . I SLIST'[LE D
    95  .. W !,LE,MESSAGE
    96  .. S VALID=0
    97  Q VALID
    98  ;
Note: See TracChangeset for help on using the changeset viewer.