IBDEI21X ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.3) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,32745,1,3,0)
;;=3^OAG,Unspec,Moderate Stage
;;^UTILITY(U,$J,358.3,32745,1,4,0)
;;=4^H40.10X2
;;^UTILITY(U,$J,358.3,32745,2)
;;=^5005750
;;^UTILITY(U,$J,358.3,32746,0)
;;=H40.10X3^^128^1668^4
;;^UTILITY(U,$J,358.3,32746,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32746,1,3,0)
;;=3^OAG,Unspec,Severe Stage
;;^UTILITY(U,$J,358.3,32746,1,4,0)
;;=4^H40.10X3
;;^UTILITY(U,$J,358.3,32746,2)
;;=^5005751
;;^UTILITY(U,$J,358.3,32747,0)
;;=H40.10X0^^128^1668^1
;;^UTILITY(U,$J,358.3,32747,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32747,1,3,0)
;;=3^OAG,Unspec,Stage Unspec
;;^UTILITY(U,$J,358.3,32747,1,4,0)
;;=4^H40.10X0
;;^UTILITY(U,$J,358.3,32747,2)
;;=^5005748
;;^UTILITY(U,$J,358.3,32748,0)
;;=H40.1131^^128^1668^17
;;^UTILITY(U,$J,358.3,32748,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32748,1,3,0)
;;=3^POAG,OU,Mild Stage
;;^UTILITY(U,$J,358.3,32748,1,4,0)
;;=4^H40.1131
;;^UTILITY(U,$J,358.3,32748,2)
;;=^5138547
;;^UTILITY(U,$J,358.3,32749,0)
;;=H40.1132^^128^1668^18
;;^UTILITY(U,$J,358.3,32749,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32749,1,3,0)
;;=3^POAG,OU,Moderate Stage
;;^UTILITY(U,$J,358.3,32749,1,4,0)
;;=4^H40.1132
;;^UTILITY(U,$J,358.3,32749,2)
;;=^5138548
;;^UTILITY(U,$J,358.3,32750,0)
;;=H40.1133^^128^1668^19
;;^UTILITY(U,$J,358.3,32750,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32750,1,3,0)
;;=3^POAG,OU,Severe Stage
;;^UTILITY(U,$J,358.3,32750,1,4,0)
;;=4^H40.1133
;;^UTILITY(U,$J,358.3,32750,2)
;;=^5138549
;;^UTILITY(U,$J,358.3,32751,0)
;;=H40.1134^^128^1668^20
;;^UTILITY(U,$J,358.3,32751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32751,1,3,0)
;;=3^POAG,OU,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32751,1,4,0)
;;=4^H40.1134
;;^UTILITY(U,$J,358.3,32751,2)
;;=^5138550
;;^UTILITY(U,$J,358.3,32752,0)
;;=H40.1130^^128^1668^16
;;^UTILITY(U,$J,358.3,32752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32752,1,3,0)
;;=3^POAG,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,32752,1,4,0)
;;=4^H40.1130
;;^UTILITY(U,$J,358.3,32752,2)
;;=^5138546
;;^UTILITY(U,$J,358.3,32753,0)
;;=H40.1120^^128^1668^11
;;^UTILITY(U,$J,358.3,32753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32753,1,3,0)
;;=3^POAG,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,32753,1,4,0)
;;=4^H40.1120
;;^UTILITY(U,$J,358.3,32753,2)
;;=^5138541
;;^UTILITY(U,$J,358.3,32754,0)
;;=H40.1121^^128^1668^12
;;^UTILITY(U,$J,358.3,32754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32754,1,3,0)
;;=3^POAG,OS,Mild Stage
;;^UTILITY(U,$J,358.3,32754,1,4,0)
;;=4^H40.1121
;;^UTILITY(U,$J,358.3,32754,2)
;;=^5138542
;;^UTILITY(U,$J,358.3,32755,0)
;;=H40.1122^^128^1668^13
;;^UTILITY(U,$J,358.3,32755,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32755,1,3,0)
;;=3^POAG,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,32755,1,4,0)
;;=4^H40.1122
;;^UTILITY(U,$J,358.3,32755,2)
;;=^5138543
;;^UTILITY(U,$J,358.3,32756,0)
;;=H40.1123^^128^1668^14
;;^UTILITY(U,$J,358.3,32756,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32756,1,3,0)
;;=3^POAG,OS,Severe Stage
;;^UTILITY(U,$J,358.3,32756,1,4,0)
;;=4^H40.1123
;;^UTILITY(U,$J,358.3,32756,2)
;;=^5138544
;;^UTILITY(U,$J,358.3,32757,0)
;;=H40.1124^^128^1668^15
;;^UTILITY(U,$J,358.3,32757,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32757,1,3,0)
;;=3^POAG,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32757,1,4,0)
;;=4^H40.1124
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI21X 3745 printed Nov 22, 2024@17:30:21 Page 2
IBDEI21X ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.3)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
if X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
if $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.3,32745,1,3,0)
+2 ;;=3^OAG,Unspec,Moderate Stage
+3 ;;^UTILITY(U,$J,358.3,32745,1,4,0)
+4 ;;=4^H40.10X2
+5 ;;^UTILITY(U,$J,358.3,32745,2)
+6 ;;=^5005750
+7 ;;^UTILITY(U,$J,358.3,32746,0)
+8 ;;=H40.10X3^^128^1668^4
+9 ;;^UTILITY(U,$J,358.3,32746,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,32746,1,3,0)
+12 ;;=3^OAG,Unspec,Severe Stage
+13 ;;^UTILITY(U,$J,358.3,32746,1,4,0)
+14 ;;=4^H40.10X3
+15 ;;^UTILITY(U,$J,358.3,32746,2)
+16 ;;=^5005751
+17 ;;^UTILITY(U,$J,358.3,32747,0)
+18 ;;=H40.10X0^^128^1668^1
+19 ;;^UTILITY(U,$J,358.3,32747,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,32747,1,3,0)
+22 ;;=3^OAG,Unspec,Stage Unspec
+23 ;;^UTILITY(U,$J,358.3,32747,1,4,0)
+24 ;;=4^H40.10X0
+25 ;;^UTILITY(U,$J,358.3,32747,2)
+26 ;;=^5005748
+27 ;;^UTILITY(U,$J,358.3,32748,0)
+28 ;;=H40.1131^^128^1668^17
+29 ;;^UTILITY(U,$J,358.3,32748,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,32748,1,3,0)
+32 ;;=3^POAG,OU,Mild Stage
+33 ;;^UTILITY(U,$J,358.3,32748,1,4,0)
+34 ;;=4^H40.1131
+35 ;;^UTILITY(U,$J,358.3,32748,2)
+36 ;;=^5138547
+37 ;;^UTILITY(U,$J,358.3,32749,0)
+38 ;;=H40.1132^^128^1668^18
+39 ;;^UTILITY(U,$J,358.3,32749,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,32749,1,3,0)
+42 ;;=3^POAG,OU,Moderate Stage
+43 ;;^UTILITY(U,$J,358.3,32749,1,4,0)
+44 ;;=4^H40.1132
+45 ;;^UTILITY(U,$J,358.3,32749,2)
+46 ;;=^5138548
+47 ;;^UTILITY(U,$J,358.3,32750,0)
+48 ;;=H40.1133^^128^1668^19
+49 ;;^UTILITY(U,$J,358.3,32750,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,32750,1,3,0)
+52 ;;=3^POAG,OU,Severe Stage
+53 ;;^UTILITY(U,$J,358.3,32750,1,4,0)
+54 ;;=4^H40.1133
+55 ;;^UTILITY(U,$J,358.3,32750,2)
+56 ;;=^5138549
+57 ;;^UTILITY(U,$J,358.3,32751,0)
+58 ;;=H40.1134^^128^1668^20
+59 ;;^UTILITY(U,$J,358.3,32751,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,32751,1,3,0)
+62 ;;=3^POAG,OU,Indeterminate Stage
+63 ;;^UTILITY(U,$J,358.3,32751,1,4,0)
+64 ;;=4^H40.1134
+65 ;;^UTILITY(U,$J,358.3,32751,2)
+66 ;;=^5138550
+67 ;;^UTILITY(U,$J,358.3,32752,0)
+68 ;;=H40.1130^^128^1668^16
+69 ;;^UTILITY(U,$J,358.3,32752,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,32752,1,3,0)
+72 ;;=3^POAG,OU,Stage Unspec
+73 ;;^UTILITY(U,$J,358.3,32752,1,4,0)
+74 ;;=4^H40.1130
+75 ;;^UTILITY(U,$J,358.3,32752,2)
+76 ;;=^5138546
+77 ;;^UTILITY(U,$J,358.3,32753,0)
+78 ;;=H40.1120^^128^1668^11
+79 ;;^UTILITY(U,$J,358.3,32753,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,32753,1,3,0)
+82 ;;=3^POAG,OS,Stage Unspec
+83 ;;^UTILITY(U,$J,358.3,32753,1,4,0)
+84 ;;=4^H40.1120
+85 ;;^UTILITY(U,$J,358.3,32753,2)
+86 ;;=^5138541
+87 ;;^UTILITY(U,$J,358.3,32754,0)
+88 ;;=H40.1121^^128^1668^12
+89 ;;^UTILITY(U,$J,358.3,32754,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,32754,1,3,0)
+92 ;;=3^POAG,OS,Mild Stage
+93 ;;^UTILITY(U,$J,358.3,32754,1,4,0)
+94 ;;=4^H40.1121
+95 ;;^UTILITY(U,$J,358.3,32754,2)
+96 ;;=^5138542
+97 ;;^UTILITY(U,$J,358.3,32755,0)
+98 ;;=H40.1122^^128^1668^13
+99 ;;^UTILITY(U,$J,358.3,32755,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,32755,1,3,0)
+102 ;;=3^POAG,OS,Moderate Stage
+103 ;;^UTILITY(U,$J,358.3,32755,1,4,0)
+104 ;;=4^H40.1122
+105 ;;^UTILITY(U,$J,358.3,32755,2)
+106 ;;=^5138543
+107 ;;^UTILITY(U,$J,358.3,32756,0)
+108 ;;=H40.1123^^128^1668^14
+109 ;;^UTILITY(U,$J,358.3,32756,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,32756,1,3,0)
+112 ;;=3^POAG,OS,Severe Stage
+113 ;;^UTILITY(U,$J,358.3,32756,1,4,0)
+114 ;;=4^H40.1123
+115 ;;^UTILITY(U,$J,358.3,32756,2)
+116 ;;=^5138544
+117 ;;^UTILITY(U,$J,358.3,32757,0)
+118 ;;=H40.1124^^128^1668^15
+119 ;;^UTILITY(U,$J,358.3,32757,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,32757,1,3,0)
+122 ;;=3^POAG,OS,Indeterminate Stage
+123 ;;^UTILITY(U,$J,358.3,32757,1,4,0)
+124 ;;=4^H40.1124