source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCFFER2.m@ 623

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

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1PRCFFER2 ;WISC/SJG-OBLIGATION ERROR PROCESSING REBUILD/RETRANS CON'T ;7/24/00 23:18
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="E":1,STATUS="R":1,STATUS="T":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 !,"It cannot be rebuilt and transmitted at this time.",!!
31 Q
32STATQ ; Queued for transmission
33 W !!,"This FMS document has been queued for transmission to FMS."
34 W !,"It cannot be rebuilt and transmitted 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 !,"It cannot be rebuilt and transmitted at this time.",!!
39 Q
40STATE ; Error in transmission
41 W !!,"This FMS document has an error in transmission."
42 Q
43STATF ;Final
44 W !!
45 D EN^DDIOL("This document duplicates information already accepted by FMS.")
46 D EN^DDIOL("No rebuilding and transmitting is necessary.")
47 W !!
48 Q
49STATA ; Accepted by FMS
50 W !!,"This FMS document has been accepted by FMS."
51 W !,"No rebuilding and transmitting is necessary.",!!
52 Q
53STATR ; Rejected by FMS
54 W !!,"This FMS document has rejected due to one or more errors."
55 Q
Note: See TracBrowser for help on using the repository browser.