IBDEI2K5 ; ; 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,40834,2)
;;=^5044314
;;^UTILITY(U,$J,358.3,40835,0)
;;=S51.801A^^152^2017^16
;;^UTILITY(U,$J,358.3,40835,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40835,1,3,0)
;;=3^Open Wound,Right Forearm,Unspec
;;^UTILITY(U,$J,358.3,40835,1,4,0)
;;=4^S51.801A
;;^UTILITY(U,$J,358.3,40835,2)
;;=^5028659
;;^UTILITY(U,$J,358.3,40836,0)
;;=S91.101A^^152^2017^17
;;^UTILITY(U,$J,358.3,40836,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40836,1,3,0)
;;=3^Open Wound,Right Great Toe w/o Damage to Nail,Unspec
;;^UTILITY(U,$J,358.3,40836,1,4,0)
;;=4^S91.101A
;;^UTILITY(U,$J,358.3,40836,2)
;;=^5044168
;;^UTILITY(U,$J,358.3,40837,0)
;;=S61.401A^^152^2017^18
;;^UTILITY(U,$J,358.3,40837,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40837,1,3,0)
;;=3^Open Wound,Right Hand,Unspec
;;^UTILITY(U,$J,358.3,40837,1,4,0)
;;=4^S61.401A
;;^UTILITY(U,$J,358.3,40837,2)
;;=^5032981
;;^UTILITY(U,$J,358.3,40838,0)
;;=S71.001A^^152^2017^19
;;^UTILITY(U,$J,358.3,40838,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40838,1,3,0)
;;=3^Open Wound,Right Hip,Unspec
;;^UTILITY(U,$J,358.3,40838,1,4,0)
;;=4^S71.001A
;;^UTILITY(U,$J,358.3,40838,2)
;;=^5036969
;;^UTILITY(U,$J,358.3,40839,0)
;;=S91.105A^^152^2017^10
;;^UTILITY(U,$J,358.3,40839,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40839,1,3,0)
;;=3^Open Wound,Left Lesser Toe(s) w/o Damage to Nail,Unspec
;;^UTILITY(U,$J,358.3,40839,1,4,0)
;;=4^S91.105A
;;^UTILITY(U,$J,358.3,40839,2)
;;=^5044177
;;^UTILITY(U,$J,358.3,40840,0)
;;=S81.801A^^152^2017^21
;;^UTILITY(U,$J,358.3,40840,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40840,1,3,0)
;;=3^Open Wound,Right Lower Leg,Unspec
;;^UTILITY(U,$J,358.3,40840,1,4,0)
;;=4^S81.801A
;;^UTILITY(U,$J,358.3,40840,2)
;;=^5040065
;;^UTILITY(U,$J,358.3,40841,0)
;;=S71.102A^^152^2017^12
;;^UTILITY(U,$J,358.3,40841,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40841,1,3,0)
;;=3^Open Wound,Left Thigh,Unspec
;;^UTILITY(U,$J,358.3,40841,1,4,0)
;;=4^S71.102A
;;^UTILITY(U,$J,358.3,40841,2)
;;=^5037011
;;^UTILITY(U,$J,358.3,40842,0)
;;=S71.101A^^152^2017^22
;;^UTILITY(U,$J,358.3,40842,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40842,1,3,0)
;;=3^Open Wound,Right Thigh,Unspec
;;^UTILITY(U,$J,358.3,40842,1,4,0)
;;=4^S71.101A
;;^UTILITY(U,$J,358.3,40842,2)
;;=^5037008
;;^UTILITY(U,$J,358.3,40843,0)
;;=S41.101A^^152^2017^23
;;^UTILITY(U,$J,358.3,40843,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40843,1,3,0)
;;=3^Open Wound,Right Upper Arm,Unspec
;;^UTILITY(U,$J,358.3,40843,1,4,0)
;;=4^S41.101A
;;^UTILITY(U,$J,358.3,40843,2)
;;=^5026330
;;^UTILITY(U,$J,358.3,40844,0)
;;=E03.5^^152^2018^37
;;^UTILITY(U,$J,358.3,40844,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40844,1,3,0)
;;=3^Myxedema Coma
;;^UTILITY(U,$J,358.3,40844,1,4,0)
;;=4^E03.5
;;^UTILITY(U,$J,358.3,40844,2)
;;=^5002474
;;^UTILITY(U,$J,358.3,40845,0)
;;=R40.2121^^152^2018^33
;;^UTILITY(U,$J,358.3,40845,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40845,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,In the Field
;;^UTILITY(U,$J,358.3,40845,1,4,0)
;;=4^R40.2121
;;^UTILITY(U,$J,358.3,40845,2)
;;=^5019361
;;^UTILITY(U,$J,358.3,40846,0)
;;=R40.2120^^152^2018^34
;;^UTILITY(U,$J,358.3,40846,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40846,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,Unspec Time
;;^UTILITY(U,$J,358.3,40846,1,4,0)
;;=4^R40.2120
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2K5 3768 printed Nov 22, 2024@17:40:29 Page 2
IBDEI2K5 ; ; 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,40834,2)
+2 ;;=^5044314
+3 ;;^UTILITY(U,$J,358.3,40835,0)
+4 ;;=S51.801A^^152^2017^16
+5 ;;^UTILITY(U,$J,358.3,40835,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,40835,1,3,0)
+8 ;;=3^Open Wound,Right Forearm,Unspec
+9 ;;^UTILITY(U,$J,358.3,40835,1,4,0)
+10 ;;=4^S51.801A
+11 ;;^UTILITY(U,$J,358.3,40835,2)
+12 ;;=^5028659
+13 ;;^UTILITY(U,$J,358.3,40836,0)
+14 ;;=S91.101A^^152^2017^17
+15 ;;^UTILITY(U,$J,358.3,40836,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,40836,1,3,0)
+18 ;;=3^Open Wound,Right Great Toe w/o Damage to Nail,Unspec
+19 ;;^UTILITY(U,$J,358.3,40836,1,4,0)
+20 ;;=4^S91.101A
+21 ;;^UTILITY(U,$J,358.3,40836,2)
+22 ;;=^5044168
+23 ;;^UTILITY(U,$J,358.3,40837,0)
+24 ;;=S61.401A^^152^2017^18
+25 ;;^UTILITY(U,$J,358.3,40837,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,40837,1,3,0)
+28 ;;=3^Open Wound,Right Hand,Unspec
+29 ;;^UTILITY(U,$J,358.3,40837,1,4,0)
+30 ;;=4^S61.401A
+31 ;;^UTILITY(U,$J,358.3,40837,2)
+32 ;;=^5032981
+33 ;;^UTILITY(U,$J,358.3,40838,0)
+34 ;;=S71.001A^^152^2017^19
+35 ;;^UTILITY(U,$J,358.3,40838,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,40838,1,3,0)
+38 ;;=3^Open Wound,Right Hip,Unspec
+39 ;;^UTILITY(U,$J,358.3,40838,1,4,0)
+40 ;;=4^S71.001A
+41 ;;^UTILITY(U,$J,358.3,40838,2)
+42 ;;=^5036969
+43 ;;^UTILITY(U,$J,358.3,40839,0)
+44 ;;=S91.105A^^152^2017^10
+45 ;;^UTILITY(U,$J,358.3,40839,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,40839,1,3,0)
+48 ;;=3^Open Wound,Left Lesser Toe(s) w/o Damage to Nail,Unspec
+49 ;;^UTILITY(U,$J,358.3,40839,1,4,0)
+50 ;;=4^S91.105A
+51 ;;^UTILITY(U,$J,358.3,40839,2)
+52 ;;=^5044177
+53 ;;^UTILITY(U,$J,358.3,40840,0)
+54 ;;=S81.801A^^152^2017^21
+55 ;;^UTILITY(U,$J,358.3,40840,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,40840,1,3,0)
+58 ;;=3^Open Wound,Right Lower Leg,Unspec
+59 ;;^UTILITY(U,$J,358.3,40840,1,4,0)
+60 ;;=4^S81.801A
+61 ;;^UTILITY(U,$J,358.3,40840,2)
+62 ;;=^5040065
+63 ;;^UTILITY(U,$J,358.3,40841,0)
+64 ;;=S71.102A^^152^2017^12
+65 ;;^UTILITY(U,$J,358.3,40841,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,40841,1,3,0)
+68 ;;=3^Open Wound,Left Thigh,Unspec
+69 ;;^UTILITY(U,$J,358.3,40841,1,4,0)
+70 ;;=4^S71.102A
+71 ;;^UTILITY(U,$J,358.3,40841,2)
+72 ;;=^5037011
+73 ;;^UTILITY(U,$J,358.3,40842,0)
+74 ;;=S71.101A^^152^2017^22
+75 ;;^UTILITY(U,$J,358.3,40842,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,40842,1,3,0)
+78 ;;=3^Open Wound,Right Thigh,Unspec
+79 ;;^UTILITY(U,$J,358.3,40842,1,4,0)
+80 ;;=4^S71.101A
+81 ;;^UTILITY(U,$J,358.3,40842,2)
+82 ;;=^5037008
+83 ;;^UTILITY(U,$J,358.3,40843,0)
+84 ;;=S41.101A^^152^2017^23
+85 ;;^UTILITY(U,$J,358.3,40843,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,40843,1,3,0)
+88 ;;=3^Open Wound,Right Upper Arm,Unspec
+89 ;;^UTILITY(U,$J,358.3,40843,1,4,0)
+90 ;;=4^S41.101A
+91 ;;^UTILITY(U,$J,358.3,40843,2)
+92 ;;=^5026330
+93 ;;^UTILITY(U,$J,358.3,40844,0)
+94 ;;=E03.5^^152^2018^37
+95 ;;^UTILITY(U,$J,358.3,40844,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,40844,1,3,0)
+98 ;;=3^Myxedema Coma
+99 ;;^UTILITY(U,$J,358.3,40844,1,4,0)
+100 ;;=4^E03.5
+101 ;;^UTILITY(U,$J,358.3,40844,2)
+102 ;;=^5002474
+103 ;;^UTILITY(U,$J,358.3,40845,0)
+104 ;;=R40.2121^^152^2018^33
+105 ;;^UTILITY(U,$J,358.3,40845,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,40845,1,3,0)
+108 ;;=3^Coma Scale,Eyes Open,to Pain,In the Field
+109 ;;^UTILITY(U,$J,358.3,40845,1,4,0)
+110 ;;=4^R40.2121
+111 ;;^UTILITY(U,$J,358.3,40845,2)
+112 ;;=^5019361
+113 ;;^UTILITY(U,$J,358.3,40846,0)
+114 ;;=R40.2120^^152^2018^34
+115 ;;^UTILITY(U,$J,358.3,40846,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,40846,1,3,0)
+118 ;;=3^Coma Scale,Eyes Open,to Pain,Unspec Time
+119 ;;^UTILITY(U,$J,358.3,40846,1,4,0)
+120 ;;=4^R40.2120