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