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

DIAXERR.m

Go to the documentation of this file.
  1. DIAXERR ;SFISC/DCM-EXTRACT MAPPING UTILITIES ;5/1/96 16:49
  1. ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
  1. ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
  1. ;;Licensed under the terms of the Apache License, Version 2.0.
  1. ;
  1. ERR(A) ;
  1. Q:'$D(A) N DIAXMSG
  1. S DIPG=+$G(DIPG),DIERR=($G(DIERR)+1)_U_($P($G(DIERR),U)+1)
  1. S DIAXMSG=$S(+A:$P($T(@(+A)),";",3),1:A)
  1. I DIPG S ^TMP("DIERR",$J,+DIERR)="",^(+DIERR,"TEXT",1)=DIAXMSG Q
  1. E D EN^DDIOL(DIAXMSG)
  1. Q
  1. 5 ;;Destination file does not exist
  1. 6 ;;Mapping information does not exist
  1. 7 ;;Extract field does not exist
  1. 8 ;;Field in destination file does not exist