source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORD11.m@ 1747

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

initial load of WorldVistAEHR

File size: 1.1 KB
Line 
1ORD11 ; COMPILED XREF FOR FILE #101 ; 04/16/99
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^ORD(101,DA,0))
5 S X=$P(DIKZ(0),U,1)
6 I X'="" K ^ORD(101,"B",$E(X,1,63),DA)
7 S X=$P(DIKZ(0),U,2)
8 I X'="" S ORKX=X D UP^ORDD1 K ^ORD(101,"C",$E(X,1,63),DA) S X=ORKX K ORKX
9 S X=$P(DIKZ(0),U,2)
10 I X'="" D REDO^ORDD101
11 S X=$P(DIKZ(0),U,2)
12 I X'="" D K12^ORDD1
13 S DIKZ(5)=$G(^ORD(101,DA,5))
14 S X=$P(DIKZ(5),U,1)
15 I X'="" K ^ORD(101,"AE",$E(X,1,30),DA)
16 S DIKZ(4)=$G(^ORD(101,DA,4))
17 S X=$P(DIKZ(4),U,1)
18 I X'="" D REDO^ORDD101
19 S DIKZ(99)=$G(^ORD(101,DA,99))
20 S X=$P(DIKZ(99),U,1)
21 I X'="" D KILL^ORDD101
22 S DIKZ(770)=$G(^ORD(101,DA,770))
23 S X=$P(DIKZ(770),U,1)
24 I X'="" N HL770 S HL770=$G(^ORD(101,DA,770)) K:$P(HL770,"^",3)&($P(HL770,"^",4)) ^ORD(101,"AHL1",X,$P(HL770,"^",3),$P(HL770,"^",4),DA)
25 S X=$P(DIKZ(770),U,2)
26 I X'="" K ^ORD(101,"AHL2",$E(X,1,30),DA)
27 S X=$P(DIKZ(770),U,3)
28 I X'="" N HL770 S HL770=$G(^ORD(101,DA,770)) K:$P(HL770,"^")&($P(HL770,"^",4)) ^ORD(101,"AHL1",$P(HL770,"^"),X,$P(HL770,"^",4),DA)
29 S X=$P(DIKZ(770),U,4)
30 I X'="" N HL770 S HL770=$G(^ORD(101,DA,770)) K:$P(HL770,"^")&($P(HL770,"^",3)) ^ORD(101,"AHL1",$P(HL770,"^"),$P(HL770,"^",3),X,DA)
31END G ^ORD12
Note: See TracBrowser for help on using the repository browser.