IBDEI1MT ; ; 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,9,0)
;;=INPUT PROCEDURE CODE (CPT4)^^^PATIENT CARE ENCOUNTER^^1^4^^1^0^^1^^^^SMP
;;^UTILITY(U,$J,358.6,9,1,0)
;;=^^1^1^2960205^^^^
;;^UTILITY(U,$J,358.6,9,1,1,0)
;;=Used for inputting CPT coded procedures performed on the patient.
;;^UTILITY(U,$J,358.6,9,2)
;;=^^^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,9,3)
;;=CPT4 PROCEDURE CODES
;;^UTILITY(U,$J,358.6,9,9)
;;=D INPUTCPT^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,9,10)
;;=Enter an active CPT procedure code.
;;^UTILITY(U,$J,358.6,9,11)
;;=D TESTCPT^IBDFN7
;;^UTILITY(U,$J,358.6,9,12)
;;=PROCEDURE^1^6^7^3^2
;;^UTILITY(U,$J,358.6,9,13,0)
;;=^358.613V^2^2
;;^UTILITY(U,$J,358.6,9,13,1,0)
;;=1;IBD(358.98,^^0
;;^UTILITY(U,$J,358.6,9,13,2,0)
;;=2;IBD(358.98,^^0
;;^UTILITY(U,$J,358.6,9,14)
;;=S Y=$$DSPLYCPT^IBDFN9(Y)
;;^UTILITY(U,$J,358.6,9,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,9,17)
;;=D SLCTCPT^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,9,18)
;;=S IBDF("OTHER")="81^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"CPT Procedure Code")
;;^UTILITY(U,$J,358.6,9,19)
;;=D CPT^IBDFN14(X)
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1MT 1369 printed Dec 13, 2024@02:11:46 Page 2
IBDEI1MT ; ; 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,9,0)
+2 ;;=INPUT PROCEDURE CODE (CPT4)^^^PATIENT CARE ENCOUNTER^^1^4^^1^0^^1^^^^SMP
+3 ;;^UTILITY(U,$J,358.6,9,1,0)
+4 ;;=^^1^1^2960205^^^^
+5 ;;^UTILITY(U,$J,358.6,9,1,1,0)
+6 ;;=Used for inputting CPT coded procedures performed on the patient.
+7 ;;^UTILITY(U,$J,358.6,9,2)
+8 ;;=^^^^^^^^^^^^^^^^^1
+9 ;;^UTILITY(U,$J,358.6,9,3)
+10 ;;=CPT4 PROCEDURE CODES
+11 ;;^UTILITY(U,$J,358.6,9,9)
+12 ;;=D INPUTCPT^IBDFN8(.X)
+13 ;;^UTILITY(U,$J,358.6,9,10)
+14 ;;=Enter an active CPT procedure code.
+15 ;;^UTILITY(U,$J,358.6,9,11)
+16 ;;=D TESTCPT^IBDFN7
+17 ;;^UTILITY(U,$J,358.6,9,12)
+18 ;;=PROCEDURE^1^6^7^3^2
+19 ;;^UTILITY(U,$J,358.6,9,13,0)
+20 ;;=^358.613V^2^2
+21 ;;^UTILITY(U,$J,358.6,9,13,1,0)
+22 ;;=1;IBD(358.98,^^0
+23 ;;^UTILITY(U,$J,358.6,9,13,2,0)
+24 ;;=2;IBD(358.98,^^0
+25 ;;^UTILITY(U,$J,358.6,9,14)
+26 ;;=S Y=$$DSPLYCPT^IBDFN9(Y)
+27 ;;^UTILITY(U,$J,358.6,9,15,0)
+28 ;;=^357.615I^0^0
+29 ;;^UTILITY(U,$J,358.6,9,17)
+30 ;;=D SLCTCPT^IBDFN12(.X)
+31 ;;^UTILITY(U,$J,358.6,9,18)
+32 ;;=S IBDF("OTHER")="81^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"CPT Procedure Code")
+33 ;;^UTILITY(U,$J,358.6,9,19)
+34 ;;=D CPT^IBDFN14(X)