IBDEI008 ; ; 01-AUG-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
Q:'DIFQR(358.2) 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.2,93,1,1,0)
;;=1^2^1
;;^UTILITY(U,$J,358.2,93,2,0)
;;=^358.22I^5^5
;;^UTILITY(U,$J,358.2,93,2,1,0)
;;=4^CODE^8^1^1^^0
;;^UTILITY(U,$J,358.2,93,2,2,0)
;;=3^DIAGNOSIS^95^1^2^^1
;;^UTILITY(U,$J,358.2,93,2,3,0)
;;=5^ADD^^2^^1^^1^7^0
;;^UTILITY(U,$J,358.2,93,2,4,0)
;;=1^P^^2^^1^^1^1^1
;;^UTILITY(U,$J,358.2,93,2,5,0)
;;=2^S^^2^^1^^1^2^0
;;^UTILITY(U,$J,358.2,96,0)
;;=CPT CODES^170^^^^^1^0^UBC^^4^0^2^0^^0^3^2
;;^UTILITY(U,$J,358.2,96,1,0)
;;=^358.21I^2^2
;;^UTILITY(U,$J,358.2,96,1,1,0)
;;=1^1^4
;;^UTILITY(U,$J,358.2,96,1,2,0)
;;=2^2^54
;;^UTILITY(U,$J,358.2,96,2,0)
;;=^358.22I^3^3
;;^UTILITY(U,$J,358.2,96,2,1,0)
;;=1^ ^^2^^1^^1
;;^UTILITY(U,$J,358.2,96,2,2,0)
;;=2^ ^5^1^1^^1
;;^UTILITY(U,$J,358.2,96,2,3,0)
;;=3^ ^45^1^2^^1
;;^UTILITY(U,$J,358.2,97,0)
;;=ICD-10 DIAGNOSES^171^^^^^4^0^SC^^6^0^1^0^^0^3^2
;;^UTILITY(U,$J,358.2,97,1,0)
;;=^358.21I^1^1
;;^UTILITY(U,$J,358.2,97,1,1,0)
;;=1^2^1
;;^UTILITY(U,$J,358.2,97,2,0)
;;=^358.22I^5^5
;;^UTILITY(U,$J,358.2,97,2,1,0)
;;=4^CODE^8^1^1^^0
;;^UTILITY(U,$J,358.2,97,2,2,0)
;;=3^DIAGNOSIS^95^1^2^^1
;;^UTILITY(U,$J,358.2,97,2,3,0)
;;=5^ADD^^2^^1^^1^7^0
;;^UTILITY(U,$J,358.2,97,2,4,0)
;;=1^P^^2^^1^^1^1^1
;;^UTILITY(U,$J,358.2,97,2,5,0)
;;=2^S^^2^^1^^1^2^0
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI008 1576 printed Oct 16, 2024@17:39:54 Page 2
IBDEI008 ; ; 01-AUG-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
+2 if 'DIFQR(358.2)
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.2,93,1,1,0)
+2 ;;=1^2^1
+3 ;;^UTILITY(U,$J,358.2,93,2,0)
+4 ;;=^358.22I^5^5
+5 ;;^UTILITY(U,$J,358.2,93,2,1,0)
+6 ;;=4^CODE^8^1^1^^0
+7 ;;^UTILITY(U,$J,358.2,93,2,2,0)
+8 ;;=3^DIAGNOSIS^95^1^2^^1
+9 ;;^UTILITY(U,$J,358.2,93,2,3,0)
+10 ;;=5^ADD^^2^^1^^1^7^0
+11 ;;^UTILITY(U,$J,358.2,93,2,4,0)
+12 ;;=1^P^^2^^1^^1^1^1
+13 ;;^UTILITY(U,$J,358.2,93,2,5,0)
+14 ;;=2^S^^2^^1^^1^2^0
+15 ;;^UTILITY(U,$J,358.2,96,0)
+16 ;;=CPT CODES^170^^^^^1^0^UBC^^4^0^2^0^^0^3^2
+17 ;;^UTILITY(U,$J,358.2,96,1,0)
+18 ;;=^358.21I^2^2
+19 ;;^UTILITY(U,$J,358.2,96,1,1,0)
+20 ;;=1^1^4
+21 ;;^UTILITY(U,$J,358.2,96,1,2,0)
+22 ;;=2^2^54
+23 ;;^UTILITY(U,$J,358.2,96,2,0)
+24 ;;=^358.22I^3^3
+25 ;;^UTILITY(U,$J,358.2,96,2,1,0)
+26 ;;=1^ ^^2^^1^^1
+27 ;;^UTILITY(U,$J,358.2,96,2,2,0)
+28 ;;=2^ ^5^1^1^^1
+29 ;;^UTILITY(U,$J,358.2,96,2,3,0)
+30 ;;=3^ ^45^1^2^^1
+31 ;;^UTILITY(U,$J,358.2,97,0)
+32 ;;=ICD-10 DIAGNOSES^171^^^^^4^0^SC^^6^0^1^0^^0^3^2
+33 ;;^UTILITY(U,$J,358.2,97,1,0)
+34 ;;=^358.21I^1^1
+35 ;;^UTILITY(U,$J,358.2,97,1,1,0)
+36 ;;=1^2^1
+37 ;;^UTILITY(U,$J,358.2,97,2,0)
+38 ;;=^358.22I^5^5
+39 ;;^UTILITY(U,$J,358.2,97,2,1,0)
+40 ;;=4^CODE^8^1^1^^0
+41 ;;^UTILITY(U,$J,358.2,97,2,2,0)
+42 ;;=3^DIAGNOSIS^95^1^2^^1
+43 ;;^UTILITY(U,$J,358.2,97,2,3,0)
+44 ;;=5^ADD^^2^^1^^1^7^0
+45 ;;^UTILITY(U,$J,358.2,97,2,4,0)
+46 ;;=1^P^^2^^1^^1^1^1
+47 ;;^UTILITY(U,$J,358.2,97,2,5,0)
+48 ;;=2^S^^2^^1^^1^2^0