IBDEI1MS ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.6) 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.6,6,1,0)
;;=^^2^2^3140327
;;^UTILITY(U,$J,358.6,6,1,1,0)
;;=Allows the user to select ICD-10 diagnosis codes from the ICD Diagnosis
;;^UTILITY(U,$J,358.6,6,1,2,0)
;;=file. Allows only active codes to be selected.
;;^UTILITY(U,$J,358.6,6,2)
;;=CODE^8^^^^^^^^^^^^^^^1^1
;;^UTILITY(U,$J,358.6,6,3)
;;=SELECT ICD10 ICD-10 CODES DIAGNOSIS
;;^UTILITY(U,$J,358.6,6,9)
;;=D INPICD10^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,6,11)
;;=D TESTICD0^IBDFN7
;;^UTILITY(U,$J,358.6,6,12)
;;=^^^^^
;;^UTILITY(U,$J,358.6,6,13,0)
;;=^357.613V^2^2
;;^UTILITY(U,$J,358.6,6,13,1,0)
;;=1;IBD(358.98,^^^^^^^
;;^UTILITY(U,$J,358.6,6,13,2,0)
;;=2;IBD(358.98,^^^^^^^
;;^UTILITY(U,$J,358.6,6,15,0)
;;=^357.615I^2^2
;;^UTILITY(U,$J,358.6,6,15,1,0)
;;=DIAGNOSIS^60^2^^DIAGNOSIS
;;^UTILITY(U,$J,358.6,6,15,2,0)
;;=DESCRIPTION^200^3^^DIAGNOSIS
;;^UTILITY(U,$J,358.6,6,16)
;;=o^2^Diagnosis^^r^3^ICD-10 Code^^1
;;^UTILITY(U,$J,358.6,6,17)
;;=D SLCTDX10^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,6,19)
;;=D DX10^IBDFN14(X)
;;^UTILITY(U,$J,358.6,7,0)
;;=INPUT DIAGNOSIS CODE (ICD10)^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP^^^1^^^
;;^UTILITY(U,$J,358.6,7,1,0)
;;=^^1^1^3140327
;;^UTILITY(U,$J,358.6,7,1,1,0)
;;=Used for inputting ICD10 diagnosis codes.
;;^UTILITY(U,$J,358.6,7,2)
;;=^^^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,7,3)
;;=INPUT ICD10 ICD-10 DIAGNOSIS CODES
;;^UTILITY(U,$J,358.6,7,9)
;;=D INPICD10^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,7,10)
;;=Enter at least two characters of an active ICD10 diagnosis code.
;;^UTILITY(U,$J,358.6,7,11)
;;=D TESTICD0^IBDFN7
;;^UTILITY(U,$J,358.6,7,12)
;;=DIAGNOSIS/PROBLEM^1^13^14^2^
;;^UTILITY(U,$J,358.6,7,13,0)
;;=^357.613V^10^10
;;^UTILITY(U,$J,358.6,7,13,1,0)
;;=1;IBD(358.98,^^1^^^^^2
;;^UTILITY(U,$J,358.6,7,13,2,0)
;;=2;IBD(358.98,^^1^^^^^2
;;^UTILITY(U,$J,358.6,7,13,3,0)
;;=3;IBD(358.98,^^1^^^^^9
;;^UTILITY(U,$J,358.6,7,13,4,0)
;;=1;IBE(358.99,^^0^^^^^
;;^UTILITY(U,$J,358.6,7,13,5,0)
;;=4;IBD(358.98,^^1^^^^^10
;;^UTILITY(U,$J,358.6,7,13,6,0)
;;=5;IBD(358.98,^^1^^^^^11
;;^UTILITY(U,$J,358.6,7,13,7,0)
;;=6;IBD(358.98,^^1^^^^^12
;;^UTILITY(U,$J,358.6,7,13,8,0)
;;=7;IBD(358.98,^^1^^^^^5
;;^UTILITY(U,$J,358.6,7,13,9,0)
;;=8;IBD(358.98,^^1^^^^^6
;;^UTILITY(U,$J,358.6,7,13,10,0)
;;=9;IBD(358.98,^^1^^^^^6
;;^UTILITY(U,$J,358.6,7,14)
;;=S Y=$$DSPICD10^IBDFN9(Y)
;;^UTILITY(U,$J,358.6,7,16)
;;=^^^^^^^^
;;^UTILITY(U,$J,358.6,7,17)
;;=D SLCTDX10^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,7,18)
;;=S IBDF("OTHER")="80^I '$P(^(0),U,9)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"ICD-10 Diagnosis Code")
;;^UTILITY(U,$J,358.6,7,19)
;;=D DX10^IBDFN14(X)
;;^UTILITY(U,$J,358.6,8,0)
;;=DG SELECT CPT PROCEDURE CODES^CPT^IBDFN4^SCHEDULING^^3^2^^1^^^1^9^^^^^^^^1
;;^UTILITY(U,$J,358.6,8,1,0)
;;=^^2^2^2961007^^^^
;;^UTILITY(U,$J,358.6,8,1,1,0)
;;=Allows for the selection of CPT codes from the CPT file. Only active codes
;;^UTILITY(U,$J,358.6,8,1,2,0)
;;=are allowed.
;;^UTILITY(U,$J,358.6,8,2)
;;=CODE^5^SHORT NAME^28^DESCRIPTION^161^^^^^^^^^^CODE^1^1
;;^UTILITY(U,$J,358.6,8,3)
;;=SELECT CPT PROCEDURE CODES
;;^UTILITY(U,$J,358.6,8,9)
;;=S X=$$CPT^IBDFN12(X)
;;^UTILITY(U,$J,358.6,8,11)
;;=D TESTCPT^IBDFN7
;;^UTILITY(U,$J,358.6,8,15,0)
;;=^357.615I^2^2
;;^UTILITY(U,$J,358.6,8,15,1,0)
;;=SHORT NAME^28^2^^PROCEDURE
;;^UTILITY(U,$J,358.6,8,15,2,0)
;;=DESCRIPTION^161^3^^PROCEDURE
;;^UTILITY(U,$J,358.6,8,16)
;;=o^4^Procedure Narrative^^r^5^CPT CODE^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1MS 3814 printed Nov 22, 2024@17:21:56 Page 2
IBDEI1MS ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.6)
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.6,6,1,0)
+2 ;;=^^2^2^3140327
+3 ;;^UTILITY(U,$J,358.6,6,1,1,0)
+4 ;;=Allows the user to select ICD-10 diagnosis codes from the ICD Diagnosis
+5 ;;^UTILITY(U,$J,358.6,6,1,2,0)
+6 ;;=file. Allows only active codes to be selected.
+7 ;;^UTILITY(U,$J,358.6,6,2)
+8 ;;=CODE^8^^^^^^^^^^^^^^^1^1
+9 ;;^UTILITY(U,$J,358.6,6,3)
+10 ;;=SELECT ICD10 ICD-10 CODES DIAGNOSIS
+11 ;;^UTILITY(U,$J,358.6,6,9)
+12 ;;=D INPICD10^IBDFN8(.X)
+13 ;;^UTILITY(U,$J,358.6,6,11)
+14 ;;=D TESTICD0^IBDFN7
+15 ;;^UTILITY(U,$J,358.6,6,12)
+16 ;;=^^^^^
+17 ;;^UTILITY(U,$J,358.6,6,13,0)
+18 ;;=^357.613V^2^2
+19 ;;^UTILITY(U,$J,358.6,6,13,1,0)
+20 ;;=1;IBD(358.98,^^^^^^^
+21 ;;^UTILITY(U,$J,358.6,6,13,2,0)
+22 ;;=2;IBD(358.98,^^^^^^^
+23 ;;^UTILITY(U,$J,358.6,6,15,0)
+24 ;;=^357.615I^2^2
+25 ;;^UTILITY(U,$J,358.6,6,15,1,0)
+26 ;;=DIAGNOSIS^60^2^^DIAGNOSIS
+27 ;;^UTILITY(U,$J,358.6,6,15,2,0)
+28 ;;=DESCRIPTION^200^3^^DIAGNOSIS
+29 ;;^UTILITY(U,$J,358.6,6,16)
+30 ;;=o^2^Diagnosis^^r^3^ICD-10 Code^^1
+31 ;;^UTILITY(U,$J,358.6,6,17)
+32 ;;=D SLCTDX10^IBDFN12(.X)
+33 ;;^UTILITY(U,$J,358.6,6,19)
+34 ;;=D DX10^IBDFN14(X)
+35 ;;^UTILITY(U,$J,358.6,7,0)
+36 ;;=INPUT DIAGNOSIS CODE (ICD10)^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP^^^1^^^
+37 ;;^UTILITY(U,$J,358.6,7,1,0)
+38 ;;=^^1^1^3140327
+39 ;;^UTILITY(U,$J,358.6,7,1,1,0)
+40 ;;=Used for inputting ICD10 diagnosis codes.
+41 ;;^UTILITY(U,$J,358.6,7,2)
+42 ;;=^^^^^^^^^^^^^^^^^1
+43 ;;^UTILITY(U,$J,358.6,7,3)
+44 ;;=INPUT ICD10 ICD-10 DIAGNOSIS CODES
+45 ;;^UTILITY(U,$J,358.6,7,9)
+46 ;;=D INPICD10^IBDFN8(.X)
+47 ;;^UTILITY(U,$J,358.6,7,10)
+48 ;;=Enter at least two characters of an active ICD10 diagnosis code.
+49 ;;^UTILITY(U,$J,358.6,7,11)
+50 ;;=D TESTICD0^IBDFN7
+51 ;;^UTILITY(U,$J,358.6,7,12)
+52 ;;=DIAGNOSIS/PROBLEM^1^13^14^2^
+53 ;;^UTILITY(U,$J,358.6,7,13,0)
+54 ;;=^357.613V^10^10
+55 ;;^UTILITY(U,$J,358.6,7,13,1,0)
+56 ;;=1;IBD(358.98,^^1^^^^^2
+57 ;;^UTILITY(U,$J,358.6,7,13,2,0)
+58 ;;=2;IBD(358.98,^^1^^^^^2
+59 ;;^UTILITY(U,$J,358.6,7,13,3,0)
+60 ;;=3;IBD(358.98,^^1^^^^^9
+61 ;;^UTILITY(U,$J,358.6,7,13,4,0)
+62 ;;=1;IBE(358.99,^^0^^^^^
+63 ;;^UTILITY(U,$J,358.6,7,13,5,0)
+64 ;;=4;IBD(358.98,^^1^^^^^10
+65 ;;^UTILITY(U,$J,358.6,7,13,6,0)
+66 ;;=5;IBD(358.98,^^1^^^^^11
+67 ;;^UTILITY(U,$J,358.6,7,13,7,0)
+68 ;;=6;IBD(358.98,^^1^^^^^12
+69 ;;^UTILITY(U,$J,358.6,7,13,8,0)
+70 ;;=7;IBD(358.98,^^1^^^^^5
+71 ;;^UTILITY(U,$J,358.6,7,13,9,0)
+72 ;;=8;IBD(358.98,^^1^^^^^6
+73 ;;^UTILITY(U,$J,358.6,7,13,10,0)
+74 ;;=9;IBD(358.98,^^1^^^^^6
+75 ;;^UTILITY(U,$J,358.6,7,14)
+76 ;;=S Y=$$DSPICD10^IBDFN9(Y)
+77 ;;^UTILITY(U,$J,358.6,7,16)
+78 ;;=^^^^^^^^
+79 ;;^UTILITY(U,$J,358.6,7,17)
+80 ;;=D SLCTDX10^IBDFN12(.X)
+81 ;;^UTILITY(U,$J,358.6,7,18)
+82 ;;=S IBDF("OTHER")="80^I '$P(^(0),U,9)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"ICD-10 Diagnosis Code")
+83 ;;^UTILITY(U,$J,358.6,7,19)
+84 ;;=D DX10^IBDFN14(X)
+85 ;;^UTILITY(U,$J,358.6,8,0)
+86 ;;=DG SELECT CPT PROCEDURE CODES^CPT^IBDFN4^SCHEDULING^^3^2^^1^^^1^9^^^^^^^^1
+87 ;;^UTILITY(U,$J,358.6,8,1,0)
+88 ;;=^^2^2^2961007^^^^
+89 ;;^UTILITY(U,$J,358.6,8,1,1,0)
+90 ;;=Allows for the selection of CPT codes from the CPT file. Only active codes
+91 ;;^UTILITY(U,$J,358.6,8,1,2,0)
+92 ;;=are allowed.
+93 ;;^UTILITY(U,$J,358.6,8,2)
+94 ;;=CODE^5^SHORT NAME^28^DESCRIPTION^161^^^^^^^^^^CODE^1^1
+95 ;;^UTILITY(U,$J,358.6,8,3)
+96 ;;=SELECT CPT PROCEDURE CODES
+97 ;;^UTILITY(U,$J,358.6,8,9)
+98 ;;=S X=$$CPT^IBDFN12(X)
+99 ;;^UTILITY(U,$J,358.6,8,11)
+100 ;;=D TESTCPT^IBDFN7
+101 ;;^UTILITY(U,$J,358.6,8,15,0)
+102 ;;=^357.615I^2^2
+103 ;;^UTILITY(U,$J,358.6,8,15,1,0)
+104 ;;=SHORT NAME^28^2^^PROCEDURE
+105 ;;^UTILITY(U,$J,358.6,8,15,2,0)
+106 ;;=DESCRIPTION^161^3^^PROCEDURE
+107 ;;^UTILITY(U,$J,358.6,8,16)
+108 ;;=o^4^Procedure Narrative^^r^5^CPT CODE^1