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

IVM2074.m

Go to the documentation of this file.
  1. IVM2074 ;ALB/RMM IVM PATIENT ATR XREF Cleanup; 03/03/03
  1. ;;2.0;INCOME VERIFICATION MATCH;**74**;21-OCT-94
  1. ;
  1. ; This post-install will convert the ATR cross-reference from the
  1. ; old format to the new format.
  1. ;
  1. ; OLD Format: ^IVM(301.5,"ATR",0,IVM Patient IEN)
  1. ; NEW Format: ^IVM(301.5,"ATR",0,Income Year,IVM Patient IEN)
  1. EN ;
  1. D BMES^XPDUTL(" >>Beginning cleanup process "_$$FMTE^XLFDT($$NOW^XLFDT))
  1. ;
  1. N DATA,IVMIEN,ERR
  1. S (IVMIEN,DATA(.03))=0
  1. F S IVMIEN=$O(^IVM(301.5,"ATR",0,IVMIEN)) Q:'IVMIEN D
  1. .Q:'$D(^IVM(301.5,IVMIEN,0))
  1. .I $$UPD^DGENDBS(301.5,IVMIEN,.DATA,.ERR) K ^IVM(301.5,"ATR",0,IVMIEN)
  1. ;
  1. D MES^XPDUTL(" >>Cleanup process completed:"_$$FMTE^XLFDT($$NOW^XLFDT))
  1. ;
  1. Q