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