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

BTIURB.m

Go to the documentation of this file.
BTIURB ; IHS/ITSC/LJF - IHS SUBRTNS FOR TIURB ;02-Feb-2010 11:20;MGH
 ;;1.0;TEXT INTEGRATION UTILITIES;**1006**;NOV 04, 2004
 ;
VNOTE(TIUDA) ;EP; -- delete v note entry
 NEW TIUZ,DIK,DA
 I $D(^AUPNVNOT("B",+TIUDA)),'$D(^TIU(8925,+TIUDA,0)) D
 . S TIUZ=+TIUDA,DIK="^AUPNVNOT("
 . S DA=$O(^AUPNVNOT("B",TIUZ,0)) I DA D ^DIK
 Q
RETRACT(TIUDA) ;EP -- Enter the date/time of the retraction
 N DIE,DR,DIC,DA,TIUZ,ARRAY
 D FIELD^DID(9000010.28,.04,"","TYPE","ARRAY")
 Q:$D(ARRAY)=0
 K ARRAY
 S DA=""
 S DA=$O(^AUPNVNOT("B",+TIUDA,DA)) Q:DA=""  D
 .S DIE=9000010.28,DR=".04////^S X=$$NOW^XLFDT" D ^DIE
 Q