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/PXRMETXU.m

    r628 r636  
    1 PXRMETXU ; SLC/PJH - Extract utilities ;09/06/2007
    2  ;;2.0;CLINICAL REMINDERS;**4,6**;Feb 04, 2005;Build 123
     1PXRMETXU ; SLC/PJH - Extract utilities ;08/03/2005
     2 ;;2.0;CLINICAL REMINDERS;**4**;Feb 04, 2005;Build 21
    33 ;
    44HELP(CALL) ;General help text routine
     
    1313 I CALL=4 D
    1414 .S HTEXT(1)="The selected period is the same as next scheduled extract."
    15  .S HTEXT(2)="Enter 'Y' if this extract will replace the scheduled"
     15 .S HTEXT(2)="Enter 'Y' to if this extract will replace the scheduled"
    1616 .S HTEXT(3)="extract. Enter 'N' if you still want the scheduled extract"
    17  .S HTEXT(4)="to run."
     17 .S HTEXT(3)="to run."
    1818 ;
    1919 D HELP^PXRMEUT(.HTEXT)
    20  Q
    21  ;
    22 DELETE(IEN) ;Delete an extract summary.
    23  I IEN="" Q
    24  N DA,DELOK,DIK,NAME
    25  S DELOK=1
    26  S NAME=$P(^PXRMXT(810.3,IEN,0),U,1)
    27  ;Must have PXRM MANAGER key in order to delete national extracts.
    28  I $P($G(^PXRMXT(810.3,IEN,100)),U,1)="N" D
    29  . S DELOK=$S($D(^XUSEC("PXRM MANAGER",DUZ)):1,1:0)
    30  . I 'DELOK D
    31  .. W !!,NAME," is national."
    32  .. W !,"You cannot delete a national extract summary."
    33  .. H 2
    34  I 'DELOK Q
    35  ;Double check the user really wants to delete.
    36  S TEXT="Are you sure you want to delete "_NAME
    37  S DELOK=$$ASKYN^PXRMEUT("N","Are you sure you want to delete "_NAME)
    38  I 'DELOK Q
    39  S DA=IEN
    40  S DIK="^PXRMXT(810.3,"
    41  D ^DIK
    42  W !,"Deleting ",NAME
    43  H 2
    4420 Q
    4521 ;
Note: See TracChangeset for help on using the changeset viewer.