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

PRCFFER1.m

Go to the documentation of this file.
  1. PRCFFER1 ;WISC/SJG-OBLIGATION ERROR PROCESSING CON'T ;7/24/00 23:17
  1. V ;;5.1;IFCAP;;Oct 20, 2000
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. QUIT
  1. MSG(STATUS,PRCFA) ;
  1. S PRCFA("ERROR")=$S(STATUS="R":1,1:0)
  1. I STATUS="" D STAT0,PAUSE Q
  1. I STATUS="A" D STATA,PAUSE Q
  1. I STATUS="E" D STATE,PAUSE Q
  1. I STATUS="F" D STATF,PAUSE Q
  1. I STATUS="M" D STATM,PAUSE Q
  1. I STATUS="Q" D STATQ,PAUSE Q
  1. I STATUS="R" D STATR Q
  1. I STATUS="T" D STATT,PAUSE Q
  1. D EN^DDIOL("The status "_STATUS_"is not valid")
  1. D EN^DDIOL("No error processing can be performed")
  1. ;
  1. PAUSE ; return to continue
  1. W ! D EN^DDIOL("Press 'RETURN' to continue")
  1. R X:DTIME
  1. I $D(IOF) W @IOF
  1. Q
  1. ;
  1. STAT0 ; No Status on Stack File Entry
  1. W !!,"This FMS document does not have a status!!."
  1. W !,"No error processing can be performed at this time.",!!
  1. Q
  1. STATT ; Transmitted
  1. W !!,"This FMS document has been transmitted to FMS."
  1. W !,"No error processing can be performed at this time.",!!
  1. Q
  1. STATQ ; Queued for transmission
  1. W !!,"This FMS document has been queued for transmission to FMS."
  1. W !,"No error processing can be performed at this time.",!
  1. Q
  1. STATM ; Marked for immediate transmission
  1. W !!,"This FMS document has been marked for immediate transmission to FMS."
  1. W !,"No error processing can be performed at this time.",!!
  1. Q
  1. STATE ; Error in transmission
  1. W !!,"This FMS document has an error in transmission."
  1. W !,"Use the option to 'Retransmit Stack File Document' on the FMS"
  1. W !,"Code Sheet Menu.",!
  1. Q
  1. STATA ; Accepted by FMS
  1. W !!,"This FMS document has been accepted by FMS."
  1. W !,"No error processing is necessary.",!!
  1. Q
  1. STATF ; Final
  1. W !!
  1. D EN^DDIOL("This document duplicates information already accepted by FMS.")
  1. D EN^DDIOL("No error processing is necessary.")
  1. W !!
  1. Q
  1. STATR ; Rejected by FMS
  1. W !!,"This FMS document has rejected due to one or more errors."
  1. Q