IBDEI20Y ; ; 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,32315,1,3,0)
;;=3^LTG,OD,Moderate Stage
;;^UTILITY(U,$J,358.3,32315,1,4,0)
;;=4^H40.1212
;;^UTILITY(U,$J,358.3,32315,2)
;;=^5005760
;;^UTILITY(U,$J,358.3,32316,0)
;;=H40.1213^^128^1657^3
;;^UTILITY(U,$J,358.3,32316,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32316,1,3,0)
;;=3^LTG,OD,Severe Stage
;;^UTILITY(U,$J,358.3,32316,1,4,0)
;;=4^H40.1213
;;^UTILITY(U,$J,358.3,32316,2)
;;=^5005761
;;^UTILITY(U,$J,358.3,32317,0)
;;=H40.1214^^128^1657^4
;;^UTILITY(U,$J,358.3,32317,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32317,1,3,0)
;;=3^LTG,OD,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32317,1,4,0)
;;=4^H40.1214
;;^UTILITY(U,$J,358.3,32317,2)
;;=^5005762
;;^UTILITY(U,$J,358.3,32318,0)
;;=H40.1220^^128^1657^10
;;^UTILITY(U,$J,358.3,32318,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32318,1,3,0)
;;=3^LTG,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,32318,1,4,0)
;;=4^H40.1220
;;^UTILITY(U,$J,358.3,32318,2)
;;=^5005763
;;^UTILITY(U,$J,358.3,32319,0)
;;=H40.1221^^128^1657^6
;;^UTILITY(U,$J,358.3,32319,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32319,1,3,0)
;;=3^LTG,OS,Mild Stage
;;^UTILITY(U,$J,358.3,32319,1,4,0)
;;=4^H40.1221
;;^UTILITY(U,$J,358.3,32319,2)
;;=^5005764
;;^UTILITY(U,$J,358.3,32320,0)
;;=H40.1222^^128^1657^7
;;^UTILITY(U,$J,358.3,32320,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32320,1,3,0)
;;=3^LTG,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,32320,1,4,0)
;;=4^H40.1222
;;^UTILITY(U,$J,358.3,32320,2)
;;=^5005765
;;^UTILITY(U,$J,358.3,32321,0)
;;=H40.1223^^128^1657^8
;;^UTILITY(U,$J,358.3,32321,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32321,1,3,0)
;;=3^LTG,OS,Severe Stage
;;^UTILITY(U,$J,358.3,32321,1,4,0)
;;=4^H40.1223
;;^UTILITY(U,$J,358.3,32321,2)
;;=^5133492
;;^UTILITY(U,$J,358.3,32322,0)
;;=H40.1224^^128^1657^9
;;^UTILITY(U,$J,358.3,32322,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32322,1,3,0)
;;=3^LTG,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32322,1,4,0)
;;=4^H40.1224
;;^UTILITY(U,$J,358.3,32322,2)
;;=^5005766
;;^UTILITY(U,$J,358.3,32323,0)
;;=H40.1230^^128^1657^15
;;^UTILITY(U,$J,358.3,32323,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32323,1,3,0)
;;=3^LTG,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,32323,1,4,0)
;;=4^H40.1230
;;^UTILITY(U,$J,358.3,32323,2)
;;=^5005767
;;^UTILITY(U,$J,358.3,32324,0)
;;=H40.1231^^128^1657^11
;;^UTILITY(U,$J,358.3,32324,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32324,1,3,0)
;;=3^LTG,OU,Mild Stage
;;^UTILITY(U,$J,358.3,32324,1,4,0)
;;=4^H40.1231
;;^UTILITY(U,$J,358.3,32324,2)
;;=^5005768
;;^UTILITY(U,$J,358.3,32325,0)
;;=H40.1232^^128^1657^12
;;^UTILITY(U,$J,358.3,32325,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32325,1,3,0)
;;=3^LTG,OU,Moderate Stage
;;^UTILITY(U,$J,358.3,32325,1,4,0)
;;=4^H40.1232
;;^UTILITY(U,$J,358.3,32325,2)
;;=^5005769
;;^UTILITY(U,$J,358.3,32326,0)
;;=H40.1233^^128^1657^13
;;^UTILITY(U,$J,358.3,32326,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32326,1,3,0)
;;=3^LTG,OU,Severe Stage
;;^UTILITY(U,$J,358.3,32326,1,4,0)
;;=4^H40.1233
;;^UTILITY(U,$J,358.3,32326,2)
;;=^5005770
;;^UTILITY(U,$J,358.3,32327,0)
;;=H40.1234^^128^1657^14
;;^UTILITY(U,$J,358.3,32327,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32327,1,3,0)
;;=3^LTG,OU,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32327,1,4,0)
;;=4^H40.1234
;;^UTILITY(U,$J,358.3,32327,2)
;;=^5005771
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI20Y 3773 printed Dec 13, 2024@02:19:38 Page 2
IBDEI20Y ; ; 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,32315,1,3,0)
+2 ;;=3^LTG,OD,Moderate Stage
+3 ;;^UTILITY(U,$J,358.3,32315,1,4,0)
+4 ;;=4^H40.1212
+5 ;;^UTILITY(U,$J,358.3,32315,2)
+6 ;;=^5005760
+7 ;;^UTILITY(U,$J,358.3,32316,0)
+8 ;;=H40.1213^^128^1657^3
+9 ;;^UTILITY(U,$J,358.3,32316,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,32316,1,3,0)
+12 ;;=3^LTG,OD,Severe Stage
+13 ;;^UTILITY(U,$J,358.3,32316,1,4,0)
+14 ;;=4^H40.1213
+15 ;;^UTILITY(U,$J,358.3,32316,2)
+16 ;;=^5005761
+17 ;;^UTILITY(U,$J,358.3,32317,0)
+18 ;;=H40.1214^^128^1657^4
+19 ;;^UTILITY(U,$J,358.3,32317,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,32317,1,3,0)
+22 ;;=3^LTG,OD,Indeterminate Stage
+23 ;;^UTILITY(U,$J,358.3,32317,1,4,0)
+24 ;;=4^H40.1214
+25 ;;^UTILITY(U,$J,358.3,32317,2)
+26 ;;=^5005762
+27 ;;^UTILITY(U,$J,358.3,32318,0)
+28 ;;=H40.1220^^128^1657^10
+29 ;;^UTILITY(U,$J,358.3,32318,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,32318,1,3,0)
+32 ;;=3^LTG,OS,Stage Unspec
+33 ;;^UTILITY(U,$J,358.3,32318,1,4,0)
+34 ;;=4^H40.1220
+35 ;;^UTILITY(U,$J,358.3,32318,2)
+36 ;;=^5005763
+37 ;;^UTILITY(U,$J,358.3,32319,0)
+38 ;;=H40.1221^^128^1657^6
+39 ;;^UTILITY(U,$J,358.3,32319,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,32319,1,3,0)
+42 ;;=3^LTG,OS,Mild Stage
+43 ;;^UTILITY(U,$J,358.3,32319,1,4,0)
+44 ;;=4^H40.1221
+45 ;;^UTILITY(U,$J,358.3,32319,2)
+46 ;;=^5005764
+47 ;;^UTILITY(U,$J,358.3,32320,0)
+48 ;;=H40.1222^^128^1657^7
+49 ;;^UTILITY(U,$J,358.3,32320,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,32320,1,3,0)
+52 ;;=3^LTG,OS,Moderate Stage
+53 ;;^UTILITY(U,$J,358.3,32320,1,4,0)
+54 ;;=4^H40.1222
+55 ;;^UTILITY(U,$J,358.3,32320,2)
+56 ;;=^5005765
+57 ;;^UTILITY(U,$J,358.3,32321,0)
+58 ;;=H40.1223^^128^1657^8
+59 ;;^UTILITY(U,$J,358.3,32321,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,32321,1,3,0)
+62 ;;=3^LTG,OS,Severe Stage
+63 ;;^UTILITY(U,$J,358.3,32321,1,4,0)
+64 ;;=4^H40.1223
+65 ;;^UTILITY(U,$J,358.3,32321,2)
+66 ;;=^5133492
+67 ;;^UTILITY(U,$J,358.3,32322,0)
+68 ;;=H40.1224^^128^1657^9
+69 ;;^UTILITY(U,$J,358.3,32322,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,32322,1,3,0)
+72 ;;=3^LTG,OS,Indeterminate Stage
+73 ;;^UTILITY(U,$J,358.3,32322,1,4,0)
+74 ;;=4^H40.1224
+75 ;;^UTILITY(U,$J,358.3,32322,2)
+76 ;;=^5005766
+77 ;;^UTILITY(U,$J,358.3,32323,0)
+78 ;;=H40.1230^^128^1657^15
+79 ;;^UTILITY(U,$J,358.3,32323,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,32323,1,3,0)
+82 ;;=3^LTG,OU,Stage Unspec
+83 ;;^UTILITY(U,$J,358.3,32323,1,4,0)
+84 ;;=4^H40.1230
+85 ;;^UTILITY(U,$J,358.3,32323,2)
+86 ;;=^5005767
+87 ;;^UTILITY(U,$J,358.3,32324,0)
+88 ;;=H40.1231^^128^1657^11
+89 ;;^UTILITY(U,$J,358.3,32324,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,32324,1,3,0)
+92 ;;=3^LTG,OU,Mild Stage
+93 ;;^UTILITY(U,$J,358.3,32324,1,4,0)
+94 ;;=4^H40.1231
+95 ;;^UTILITY(U,$J,358.3,32324,2)
+96 ;;=^5005768
+97 ;;^UTILITY(U,$J,358.3,32325,0)
+98 ;;=H40.1232^^128^1657^12
+99 ;;^UTILITY(U,$J,358.3,32325,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,32325,1,3,0)
+102 ;;=3^LTG,OU,Moderate Stage
+103 ;;^UTILITY(U,$J,358.3,32325,1,4,0)
+104 ;;=4^H40.1232
+105 ;;^UTILITY(U,$J,358.3,32325,2)
+106 ;;=^5005769
+107 ;;^UTILITY(U,$J,358.3,32326,0)
+108 ;;=H40.1233^^128^1657^13
+109 ;;^UTILITY(U,$J,358.3,32326,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,32326,1,3,0)
+112 ;;=3^LTG,OU,Severe Stage
+113 ;;^UTILITY(U,$J,358.3,32326,1,4,0)
+114 ;;=4^H40.1233
+115 ;;^UTILITY(U,$J,358.3,32326,2)
+116 ;;=^5005770
+117 ;;^UTILITY(U,$J,358.3,32327,0)
+118 ;;=H40.1234^^128^1657^14
+119 ;;^UTILITY(U,$J,358.3,32327,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,32327,1,3,0)
+122 ;;=3^LTG,OU,Indeterminate Stage
+123 ;;^UTILITY(U,$J,358.3,32327,1,4,0)
+124 ;;=4^H40.1234
+125 ;;^UTILITY(U,$J,358.3,32327,2)
+126 ;;=^5005771