IBDEI1HP ; ; 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,24099,1,3,0)
;;=3^Xray,Abn,Abd/Retroperit
;;^UTILITY(U,$J,358.3,24099,1,4,0)
;;=4^R93.5
;;^UTILITY(U,$J,358.3,24099,2)
;;=^5019718
;;^UTILITY(U,$J,358.3,24100,0)
;;=R92.8^^82^1043^73
;;^UTILITY(U,$J,358.3,24100,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24100,1,3,0)
;;=3^Xray,Abn,Breast
;;^UTILITY(U,$J,358.3,24100,1,4,0)
;;=4^R92.8
;;^UTILITY(U,$J,358.3,24100,2)
;;=^5019712
;;^UTILITY(U,$J,358.3,24101,0)
;;=R93.3^^82^1043^80
;;^UTILITY(U,$J,358.3,24101,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24101,1,3,0)
;;=3^Xray,Abn,Oth Parts Digestive Tract
;;^UTILITY(U,$J,358.3,24101,1,4,0)
;;=4^R93.3
;;^UTILITY(U,$J,358.3,24101,2)
;;=^5019716
;;^UTILITY(U,$J,358.3,24102,0)
;;=F17.200^^82^1043^68
;;^UTILITY(U,$J,358.3,24102,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24102,1,3,0)
;;=3^Tobacco Dependence
;;^UTILITY(U,$J,358.3,24102,1,4,0)
;;=4^F17.200
;;^UTILITY(U,$J,358.3,24102,2)
;;=^5003360
;;^UTILITY(U,$J,358.3,24103,0)
;;=F17.201^^82^1043^69
;;^UTILITY(U,$J,358.3,24103,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24103,1,3,0)
;;=3^Tobacco Remission
;;^UTILITY(U,$J,358.3,24103,1,4,0)
;;=4^F17.201
;;^UTILITY(U,$J,358.3,24103,2)
;;=^5003361
;;^UTILITY(U,$J,358.3,24104,0)
;;=Z98.51^^82^1043^71
;;^UTILITY(U,$J,358.3,24104,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24104,1,3,0)
;;=3^Tubal Ligation Status
;;^UTILITY(U,$J,358.3,24104,1,4,0)
;;=4^Z98.51
;;^UTILITY(U,$J,358.3,24104,2)
;;=^5063740
;;^UTILITY(U,$J,358.3,24105,0)
;;=R94.5^^82^1043^55
;;^UTILITY(U,$J,358.3,24105,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24105,1,3,0)
;;=3^Scan,Abn,Liver
;;^UTILITY(U,$J,358.3,24105,1,4,0)
;;=4^R94.5
;;^UTILITY(U,$J,358.3,24105,2)
;;=^5019742
;;^UTILITY(U,$J,358.3,24106,0)
;;=R94.7^^82^1043^57
;;^UTILITY(U,$J,358.3,24106,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24106,1,3,0)
;;=3^Scan,Abn,Oth Endocrine
;;^UTILITY(U,$J,358.3,24106,1,4,0)
;;=4^R94.7
;;^UTILITY(U,$J,358.3,24106,2)
;;=^5019744
;;^UTILITY(U,$J,358.3,24107,0)
;;=R94.6^^82^1043^59
;;^UTILITY(U,$J,358.3,24107,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24107,1,3,0)
;;=3^Scan,Abn,Thyroid
;;^UTILITY(U,$J,358.3,24107,1,4,0)
;;=4^R94.6
;;^UTILITY(U,$J,358.3,24107,2)
;;=^5019743
;;^UTILITY(U,$J,358.3,24108,0)
;;=R93.1^^82^1043^74
;;^UTILITY(U,$J,358.3,24108,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24108,1,3,0)
;;=3^Xray,Abn,Heart/Coronary Circ
;;^UTILITY(U,$J,358.3,24108,1,4,0)
;;=4^R93.1
;;^UTILITY(U,$J,358.3,24108,2)
;;=^5019714
;;^UTILITY(U,$J,358.3,24109,0)
;;=R93.422^^82^1043^75
;;^UTILITY(U,$J,358.3,24109,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24109,1,3,0)
;;=3^Xray,Abn,Kidney,Left
;;^UTILITY(U,$J,358.3,24109,1,4,0)
;;=4^R93.422
;;^UTILITY(U,$J,358.3,24109,2)
;;=^5139225
;;^UTILITY(U,$J,358.3,24110,0)
;;=R93.421^^82^1043^76
;;^UTILITY(U,$J,358.3,24110,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24110,1,3,0)
;;=3^Xray,Abn,Kidney,Right
;;^UTILITY(U,$J,358.3,24110,1,4,0)
;;=4^R93.421
;;^UTILITY(U,$J,358.3,24110,2)
;;=^5139224
;;^UTILITY(U,$J,358.3,24111,0)
;;=R93.6^^82^1043^77
;;^UTILITY(U,$J,358.3,24111,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24111,1,3,0)
;;=3^Xray,Abn,Limbs
;;^UTILITY(U,$J,358.3,24111,1,4,0)
;;=4^R93.6
;;^UTILITY(U,$J,358.3,24111,2)
;;=^5019719
;;^UTILITY(U,$J,358.3,24112,0)
;;=R93.2^^82^1043^78
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1HP 3759 printed Dec 13, 2024@02:08:56 Page 2
IBDEI1HP ; ; 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,24099,1,3,0)
+2 ;;=3^Xray,Abn,Abd/Retroperit
+3 ;;^UTILITY(U,$J,358.3,24099,1,4,0)
+4 ;;=4^R93.5
+5 ;;^UTILITY(U,$J,358.3,24099,2)
+6 ;;=^5019718
+7 ;;^UTILITY(U,$J,358.3,24100,0)
+8 ;;=R92.8^^82^1043^73
+9 ;;^UTILITY(U,$J,358.3,24100,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,24100,1,3,0)
+12 ;;=3^Xray,Abn,Breast
+13 ;;^UTILITY(U,$J,358.3,24100,1,4,0)
+14 ;;=4^R92.8
+15 ;;^UTILITY(U,$J,358.3,24100,2)
+16 ;;=^5019712
+17 ;;^UTILITY(U,$J,358.3,24101,0)
+18 ;;=R93.3^^82^1043^80
+19 ;;^UTILITY(U,$J,358.3,24101,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,24101,1,3,0)
+22 ;;=3^Xray,Abn,Oth Parts Digestive Tract
+23 ;;^UTILITY(U,$J,358.3,24101,1,4,0)
+24 ;;=4^R93.3
+25 ;;^UTILITY(U,$J,358.3,24101,2)
+26 ;;=^5019716
+27 ;;^UTILITY(U,$J,358.3,24102,0)
+28 ;;=F17.200^^82^1043^68
+29 ;;^UTILITY(U,$J,358.3,24102,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,24102,1,3,0)
+32 ;;=3^Tobacco Dependence
+33 ;;^UTILITY(U,$J,358.3,24102,1,4,0)
+34 ;;=4^F17.200
+35 ;;^UTILITY(U,$J,358.3,24102,2)
+36 ;;=^5003360
+37 ;;^UTILITY(U,$J,358.3,24103,0)
+38 ;;=F17.201^^82^1043^69
+39 ;;^UTILITY(U,$J,358.3,24103,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,24103,1,3,0)
+42 ;;=3^Tobacco Remission
+43 ;;^UTILITY(U,$J,358.3,24103,1,4,0)
+44 ;;=4^F17.201
+45 ;;^UTILITY(U,$J,358.3,24103,2)
+46 ;;=^5003361
+47 ;;^UTILITY(U,$J,358.3,24104,0)
+48 ;;=Z98.51^^82^1043^71
+49 ;;^UTILITY(U,$J,358.3,24104,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,24104,1,3,0)
+52 ;;=3^Tubal Ligation Status
+53 ;;^UTILITY(U,$J,358.3,24104,1,4,0)
+54 ;;=4^Z98.51
+55 ;;^UTILITY(U,$J,358.3,24104,2)
+56 ;;=^5063740
+57 ;;^UTILITY(U,$J,358.3,24105,0)
+58 ;;=R94.5^^82^1043^55
+59 ;;^UTILITY(U,$J,358.3,24105,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,24105,1,3,0)
+62 ;;=3^Scan,Abn,Liver
+63 ;;^UTILITY(U,$J,358.3,24105,1,4,0)
+64 ;;=4^R94.5
+65 ;;^UTILITY(U,$J,358.3,24105,2)
+66 ;;=^5019742
+67 ;;^UTILITY(U,$J,358.3,24106,0)
+68 ;;=R94.7^^82^1043^57
+69 ;;^UTILITY(U,$J,358.3,24106,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,24106,1,3,0)
+72 ;;=3^Scan,Abn,Oth Endocrine
+73 ;;^UTILITY(U,$J,358.3,24106,1,4,0)
+74 ;;=4^R94.7
+75 ;;^UTILITY(U,$J,358.3,24106,2)
+76 ;;=^5019744
+77 ;;^UTILITY(U,$J,358.3,24107,0)
+78 ;;=R94.6^^82^1043^59
+79 ;;^UTILITY(U,$J,358.3,24107,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,24107,1,3,0)
+82 ;;=3^Scan,Abn,Thyroid
+83 ;;^UTILITY(U,$J,358.3,24107,1,4,0)
+84 ;;=4^R94.6
+85 ;;^UTILITY(U,$J,358.3,24107,2)
+86 ;;=^5019743
+87 ;;^UTILITY(U,$J,358.3,24108,0)
+88 ;;=R93.1^^82^1043^74
+89 ;;^UTILITY(U,$J,358.3,24108,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,24108,1,3,0)
+92 ;;=3^Xray,Abn,Heart/Coronary Circ
+93 ;;^UTILITY(U,$J,358.3,24108,1,4,0)
+94 ;;=4^R93.1
+95 ;;^UTILITY(U,$J,358.3,24108,2)
+96 ;;=^5019714
+97 ;;^UTILITY(U,$J,358.3,24109,0)
+98 ;;=R93.422^^82^1043^75
+99 ;;^UTILITY(U,$J,358.3,24109,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,24109,1,3,0)
+102 ;;=3^Xray,Abn,Kidney,Left
+103 ;;^UTILITY(U,$J,358.3,24109,1,4,0)
+104 ;;=4^R93.422
+105 ;;^UTILITY(U,$J,358.3,24109,2)
+106 ;;=^5139225
+107 ;;^UTILITY(U,$J,358.3,24110,0)
+108 ;;=R93.421^^82^1043^76
+109 ;;^UTILITY(U,$J,358.3,24110,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,24110,1,3,0)
+112 ;;=3^Xray,Abn,Kidney,Right
+113 ;;^UTILITY(U,$J,358.3,24110,1,4,0)
+114 ;;=4^R93.421
+115 ;;^UTILITY(U,$J,358.3,24110,2)
+116 ;;=^5139224
+117 ;;^UTILITY(U,$J,358.3,24111,0)
+118 ;;=R93.6^^82^1043^77
+119 ;;^UTILITY(U,$J,358.3,24111,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,24111,1,3,0)
+122 ;;=3^Xray,Abn,Limbs
+123 ;;^UTILITY(U,$J,358.3,24111,1,4,0)
+124 ;;=4^R93.6
+125 ;;^UTILITY(U,$J,358.3,24111,2)
+126 ;;=^5019719
+127 ;;^UTILITY(U,$J,358.3,24112,0)
+128 ;;=R93.2^^82^1043^78