source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCFFER1.m@ 1211

Last change on this file since 1211 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1PRCFFER1 ;WISC/SJG-OBLIGATION ERROR PROCESSING CON'T ;7/24/00 23:17
2V ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 QUIT
5MSG(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 ;
18PAUSE ; 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 ;
24STAT0 ; 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
28STATT ; Transmitted
29 W !!,"This FMS document has been transmitted to FMS."
30 W !,"No error processing can be performed at this time.",!!
31 Q
32STATQ ; 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
36STATM ; 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
40STATE ; 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
45STATA ; Accepted by FMS
46 W !!,"This FMS document has been accepted by FMS."
47 W !,"No error processing is necessary.",!!
48 Q
49STATF ; 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
55STATR ; Rejected by FMS
56 W !!,"This FMS document has rejected due to one or more errors."
57 Q
Note: See TracBrowser for help on using the repository browser.