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

BKMED.m

Go to the documentation of this file.
  1. BKMED ;PRXM/HC/CLT - SET EDITED BY FIELDS IN 90451 ; 11 Mar 2005 12:27 PM
  1. ;;2.1;HIV MANAGEMENT SYSTEM;;Feb 07, 2011
  1. QUIT
  1. ;
  1. EN ;EP - SET THE NODE called by POST^BKMVAUD - Update Date/Time of Last Edit for File 90451
  1. ; Input variables:
  1. ; BKMIEN - IEN from File 90451 HMS Registry
  1. ; BKMREG - IEN from File 90450
  1. ; DUZ - User IEN from File 200
  1. ; Output variables:
  1. ; Record updated in File 90451
  1. ; Initialize variables
  1. N IENS
  1. I $G(BKMIEN)'="",$G(BKMREG)'="",$G(DUZ)'="" D
  1. .; Set the data via FileMan API
  1. .K FDA
  1. .S IENS="+1,"_BKMREG_","_BKMIEN_","
  1. .;S %DT="ST",X="N" D ^%DT
  1. .;S FDA(90451.05,IENS,.01)=Y ; DATE/TIME
  1. .S FDA(90451.05,IENS,.01)=$$NOW^XLFDT() ; DATE/TIME
  1. .S FDA(90451.05,IENS,1)=DUZ ; EVENT USER (File 200)
  1. .D UPDATE^DIE("","FDA","")
  1. .K FDA,%DT,X,Y
  1. Q
  1. ;
  1. ;