| 1 | PRCFFER1 ;WISC/SJG-OBLIGATION ERROR PROCESSING CON'T ;7/24/00  23:17
 | 
|---|
| 2 | V ;;5.1;IFCAP;;Oct 20, 2000
 | 
|---|
| 3 |  ;Per VHA Directive 10-93-142, this routine should not be modified.
 | 
|---|
| 4 |  QUIT
 | 
|---|
| 5 | MSG(STATUS,PRCFA) ;
 | 
|---|
| 6 |  S PRCFA("ERROR")=$S(STATUS="R":1,1:0)
 | 
|---|
| 7 |  I STATUS="" D STAT0,PAUSE Q
 | 
|---|
| 8 |  I STATUS="A" D STATA,PAUSE Q
 | 
|---|
| 9 |  I STATUS="E" D STATE,PAUSE Q
 | 
|---|
| 10 |  I STATUS="F" D STATF,PAUSE Q
 | 
|---|
| 11 |  I STATUS="M" D STATM,PAUSE Q
 | 
|---|
| 12 |  I STATUS="Q" D STATQ,PAUSE Q
 | 
|---|
| 13 |  I STATUS="R" D STATR Q
 | 
|---|
| 14 |  I STATUS="T" D STATT,PAUSE Q
 | 
|---|
| 15 |  D EN^DDIOL("The status "_STATUS_"is not valid")
 | 
|---|
| 16 |  D EN^DDIOL("No error processing can be performed")
 | 
|---|
| 17 |  ;
 | 
|---|
| 18 | PAUSE ; return to continue
 | 
|---|
| 19 |  W ! D EN^DDIOL("Press 'RETURN' to continue")
 | 
|---|
| 20 |  R X:DTIME
 | 
|---|
| 21 |  I $D(IOF) W @IOF
 | 
|---|
| 22 |  Q
 | 
|---|
| 23 |  ;
 | 
|---|
| 24 | STAT0 ; No Status on Stack File Entry
 | 
|---|
| 25 |  W !!,"This FMS document does not have a status!!."
 | 
|---|
| 26 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 27 |  Q
 | 
|---|
| 28 | STATT ; Transmitted
 | 
|---|
| 29 |  W !!,"This FMS document has been transmitted to FMS."
 | 
|---|
| 30 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 31 |  Q
 | 
|---|
| 32 | STATQ ; Queued for transmission
 | 
|---|
| 33 |  W !!,"This FMS document has been queued for transmission to FMS."
 | 
|---|
| 34 |  W !,"No error processing can be performed at this time.",!
 | 
|---|
| 35 |  Q
 | 
|---|
| 36 | STATM ; Marked for immediate transmission
 | 
|---|
| 37 |  W !!,"This FMS document has been marked for immediate transmission to FMS."
 | 
|---|
| 38 |  W !,"No error processing can be performed at this time.",!!
 | 
|---|
| 39 |  Q
 | 
|---|
| 40 | STATE ; Error in transmission
 | 
|---|
| 41 |  W !!,"This FMS document has an error in transmission."
 | 
|---|
| 42 |  W !,"Use the option to 'Retransmit Stack File Document' on the FMS"
 | 
|---|
| 43 |  W !,"Code Sheet Menu.",!
 | 
|---|
| 44 |  Q
 | 
|---|
| 45 | STATA ; Accepted by FMS
 | 
|---|
| 46 |  W !!,"This FMS document has been accepted by FMS."
 | 
|---|
| 47 |  W !,"No error processing is necessary.",!!
 | 
|---|
| 48 |  Q 
 | 
|---|
| 49 | STATF ; Final
 | 
|---|
| 50 |  W !!
 | 
|---|
| 51 |  D EN^DDIOL("This document duplicates information already accepted by FMS.")
 | 
|---|
| 52 |  D EN^DDIOL("No error processing is necessary.")
 | 
|---|
| 53 |  W !!
 | 
|---|
| 54 |  Q
 | 
|---|
| 55 | STATR ; Rejected by FMS
 | 
|---|
| 56 |  W !!,"This FMS document has rejected due to one or more errors."
 | 
|---|
| 57 |  Q
 | 
|---|