Changeset 636 for FOIAVistA/tag/r/CLINICAL_REMINDERS-PXRM/PXRMETXU.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- 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 ;0 9/06/20072 ;;2.0;CLINICAL REMINDERS;**4 ,6**;Feb 04, 2005;Build 1231 PXRMETXU ; SLC/PJH - Extract utilities ;08/03/2005 2 ;;2.0;CLINICAL REMINDERS;**4**;Feb 04, 2005;Build 21 3 3 ; 4 4 HELP(CALL) ;General help text routine … … 13 13 I CALL=4 D 14 14 .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" 16 16 .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." 18 18 ; 19 19 D HELP^PXRMEUT(.HTEXT) 20 Q21 ;22 DELETE(IEN) ;Delete an extract summary.23 I IEN="" Q24 N DA,DELOK,DIK,NAME25 S DELOK=126 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" D29 . S DELOK=$S($D(^XUSEC("PXRM MANAGER",DUZ)):1,1:0)30 . I 'DELOK D31 .. W !!,NAME," is national."32 .. W !,"You cannot delete a national extract summary."33 .. H 234 I 'DELOK Q35 ;Double check the user really wants to delete.36 S TEXT="Are you sure you want to delete "_NAME37 S DELOK=$$ASKYN^PXRMEUT("N","Are you sure you want to delete "_NAME)38 I 'DELOK Q39 S DA=IEN40 S DIK="^PXRMXT(810.3,"41 D ^DIK42 W !,"Deleting ",NAME43 H 244 20 Q 45 21 ;
Note:
See TracChangeset
for help on using the changeset viewer.