IBDEI0TA ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,13177,2)
;;=^5005750
;;^UTILITY(U,$J,358.3,13178,0)
;;=H40.10X3^^51^630^4
;;^UTILITY(U,$J,358.3,13178,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13178,1,3,0)
;;=3^OAG,Unspec,Severe Stage
;;^UTILITY(U,$J,358.3,13178,1,4,0)
;;=4^H40.10X3
;;^UTILITY(U,$J,358.3,13178,2)
;;=^5005751
;;^UTILITY(U,$J,358.3,13179,0)
;;=H40.10X0^^51^630^1
;;^UTILITY(U,$J,358.3,13179,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13179,1,3,0)
;;=3^OAG,Unspec,Stage Unspec
;;^UTILITY(U,$J,358.3,13179,1,4,0)
;;=4^H40.10X0
;;^UTILITY(U,$J,358.3,13179,2)
;;=^5005748
;;^UTILITY(U,$J,358.3,13180,0)
;;=H40.1131^^51^630^17
;;^UTILITY(U,$J,358.3,13180,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13180,1,3,0)
;;=3^POAG,OU,Mild Stage
;;^UTILITY(U,$J,358.3,13180,1,4,0)
;;=4^H40.1131
;;^UTILITY(U,$J,358.3,13180,2)
;;=^5138547
;;^UTILITY(U,$J,358.3,13181,0)
;;=H40.1132^^51^630^18
;;^UTILITY(U,$J,358.3,13181,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13181,1,3,0)
;;=3^POAG,OU,Moderate Stage
;;^UTILITY(U,$J,358.3,13181,1,4,0)
;;=4^H40.1132
;;^UTILITY(U,$J,358.3,13181,2)
;;=^5138548
;;^UTILITY(U,$J,358.3,13182,0)
;;=H40.1133^^51^630^19
;;^UTILITY(U,$J,358.3,13182,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13182,1,3,0)
;;=3^POAG,OU,Severe Stage
;;^UTILITY(U,$J,358.3,13182,1,4,0)
;;=4^H40.1133
;;^UTILITY(U,$J,358.3,13182,2)
;;=^5138549
;;^UTILITY(U,$J,358.3,13183,0)
;;=H40.1134^^51^630^20
;;^UTILITY(U,$J,358.3,13183,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13183,1,3,0)
;;=3^POAG,OU,Indeterminate Stage
;;^UTILITY(U,$J,358.3,13183,1,4,0)
;;=4^H40.1134
;;^UTILITY(U,$J,358.3,13183,2)
;;=^5138550
;;^UTILITY(U,$J,358.3,13184,0)
;;=H40.1130^^51^630^16
;;^UTILITY(U,$J,358.3,13184,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13184,1,3,0)
;;=3^POAG,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,13184,1,4,0)
;;=4^H40.1130
;;^UTILITY(U,$J,358.3,13184,2)
;;=^5138546
;;^UTILITY(U,$J,358.3,13185,0)
;;=H40.1120^^51^630^11
;;^UTILITY(U,$J,358.3,13185,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13185,1,3,0)
;;=3^POAG,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,13185,1,4,0)
;;=4^H40.1120
;;^UTILITY(U,$J,358.3,13185,2)
;;=^5138541
;;^UTILITY(U,$J,358.3,13186,0)
;;=H40.1121^^51^630^12
;;^UTILITY(U,$J,358.3,13186,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13186,1,3,0)
;;=3^POAG,OS,Mild Stage
;;^UTILITY(U,$J,358.3,13186,1,4,0)
;;=4^H40.1121
;;^UTILITY(U,$J,358.3,13186,2)
;;=^5138542
;;^UTILITY(U,$J,358.3,13187,0)
;;=H40.1122^^51^630^13
;;^UTILITY(U,$J,358.3,13187,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13187,1,3,0)
;;=3^POAG,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,13187,1,4,0)
;;=4^H40.1122
;;^UTILITY(U,$J,358.3,13187,2)
;;=^5138543
;;^UTILITY(U,$J,358.3,13188,0)
;;=H40.1123^^51^630^14
;;^UTILITY(U,$J,358.3,13188,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13188,1,3,0)
;;=3^POAG,OS,Severe Stage
;;^UTILITY(U,$J,358.3,13188,1,4,0)
;;=4^H40.1123
;;^UTILITY(U,$J,358.3,13188,2)
;;=^5138544
;;^UTILITY(U,$J,358.3,13189,0)
;;=H40.1124^^51^630^15
;;^UTILITY(U,$J,358.3,13189,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13189,1,3,0)
;;=3^POAG,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,13189,1,4,0)
;;=4^H40.1124
;;^UTILITY(U,$J,358.3,13189,2)
;;=^5138545
;;^UTILITY(U,$J,358.3,13190,0)
;;=H40.1110^^51^630^6
;;^UTILITY(U,$J,358.3,13190,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0TA 3756 printed Nov 22, 2024@17:05:32 Page 2
IBDEI0TA ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,13177,2)
+2 ;;=^5005750
+3 ;;^UTILITY(U,$J,358.3,13178,0)
+4 ;;=H40.10X3^^51^630^4
+5 ;;^UTILITY(U,$J,358.3,13178,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,13178,1,3,0)
+8 ;;=3^OAG,Unspec,Severe Stage
+9 ;;^UTILITY(U,$J,358.3,13178,1,4,0)
+10 ;;=4^H40.10X3
+11 ;;^UTILITY(U,$J,358.3,13178,2)
+12 ;;=^5005751
+13 ;;^UTILITY(U,$J,358.3,13179,0)
+14 ;;=H40.10X0^^51^630^1
+15 ;;^UTILITY(U,$J,358.3,13179,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,13179,1,3,0)
+18 ;;=3^OAG,Unspec,Stage Unspec
+19 ;;^UTILITY(U,$J,358.3,13179,1,4,0)
+20 ;;=4^H40.10X0
+21 ;;^UTILITY(U,$J,358.3,13179,2)
+22 ;;=^5005748
+23 ;;^UTILITY(U,$J,358.3,13180,0)
+24 ;;=H40.1131^^51^630^17
+25 ;;^UTILITY(U,$J,358.3,13180,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,13180,1,3,0)
+28 ;;=3^POAG,OU,Mild Stage
+29 ;;^UTILITY(U,$J,358.3,13180,1,4,0)
+30 ;;=4^H40.1131
+31 ;;^UTILITY(U,$J,358.3,13180,2)
+32 ;;=^5138547
+33 ;;^UTILITY(U,$J,358.3,13181,0)
+34 ;;=H40.1132^^51^630^18
+35 ;;^UTILITY(U,$J,358.3,13181,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,13181,1,3,0)
+38 ;;=3^POAG,OU,Moderate Stage
+39 ;;^UTILITY(U,$J,358.3,13181,1,4,0)
+40 ;;=4^H40.1132
+41 ;;^UTILITY(U,$J,358.3,13181,2)
+42 ;;=^5138548
+43 ;;^UTILITY(U,$J,358.3,13182,0)
+44 ;;=H40.1133^^51^630^19
+45 ;;^UTILITY(U,$J,358.3,13182,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,13182,1,3,0)
+48 ;;=3^POAG,OU,Severe Stage
+49 ;;^UTILITY(U,$J,358.3,13182,1,4,0)
+50 ;;=4^H40.1133
+51 ;;^UTILITY(U,$J,358.3,13182,2)
+52 ;;=^5138549
+53 ;;^UTILITY(U,$J,358.3,13183,0)
+54 ;;=H40.1134^^51^630^20
+55 ;;^UTILITY(U,$J,358.3,13183,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,13183,1,3,0)
+58 ;;=3^POAG,OU,Indeterminate Stage
+59 ;;^UTILITY(U,$J,358.3,13183,1,4,0)
+60 ;;=4^H40.1134
+61 ;;^UTILITY(U,$J,358.3,13183,2)
+62 ;;=^5138550
+63 ;;^UTILITY(U,$J,358.3,13184,0)
+64 ;;=H40.1130^^51^630^16
+65 ;;^UTILITY(U,$J,358.3,13184,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,13184,1,3,0)
+68 ;;=3^POAG,OU,Stage Unspec
+69 ;;^UTILITY(U,$J,358.3,13184,1,4,0)
+70 ;;=4^H40.1130
+71 ;;^UTILITY(U,$J,358.3,13184,2)
+72 ;;=^5138546
+73 ;;^UTILITY(U,$J,358.3,13185,0)
+74 ;;=H40.1120^^51^630^11
+75 ;;^UTILITY(U,$J,358.3,13185,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,13185,1,3,0)
+78 ;;=3^POAG,OS,Stage Unspec
+79 ;;^UTILITY(U,$J,358.3,13185,1,4,0)
+80 ;;=4^H40.1120
+81 ;;^UTILITY(U,$J,358.3,13185,2)
+82 ;;=^5138541
+83 ;;^UTILITY(U,$J,358.3,13186,0)
+84 ;;=H40.1121^^51^630^12
+85 ;;^UTILITY(U,$J,358.3,13186,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,13186,1,3,0)
+88 ;;=3^POAG,OS,Mild Stage
+89 ;;^UTILITY(U,$J,358.3,13186,1,4,0)
+90 ;;=4^H40.1121
+91 ;;^UTILITY(U,$J,358.3,13186,2)
+92 ;;=^5138542
+93 ;;^UTILITY(U,$J,358.3,13187,0)
+94 ;;=H40.1122^^51^630^13
+95 ;;^UTILITY(U,$J,358.3,13187,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,13187,1,3,0)
+98 ;;=3^POAG,OS,Moderate Stage
+99 ;;^UTILITY(U,$J,358.3,13187,1,4,0)
+100 ;;=4^H40.1122
+101 ;;^UTILITY(U,$J,358.3,13187,2)
+102 ;;=^5138543
+103 ;;^UTILITY(U,$J,358.3,13188,0)
+104 ;;=H40.1123^^51^630^14
+105 ;;^UTILITY(U,$J,358.3,13188,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,13188,1,3,0)
+108 ;;=3^POAG,OS,Severe Stage
+109 ;;^UTILITY(U,$J,358.3,13188,1,4,0)
+110 ;;=4^H40.1123
+111 ;;^UTILITY(U,$J,358.3,13188,2)
+112 ;;=^5138544
+113 ;;^UTILITY(U,$J,358.3,13189,0)
+114 ;;=H40.1124^^51^630^15
+115 ;;^UTILITY(U,$J,358.3,13189,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,13189,1,3,0)
+118 ;;=3^POAG,OS,Indeterminate Stage
+119 ;;^UTILITY(U,$J,358.3,13189,1,4,0)
+120 ;;=4^H40.1124
+121 ;;^UTILITY(U,$J,358.3,13189,2)
+122 ;;=^5138545
+123 ;;^UTILITY(U,$J,358.3,13190,0)
+124 ;;=H40.1110^^51^630^6
+125 ;;^UTILITY(U,$J,358.3,13190,1,0)
+126 ;;=^358.31IA^4^2