IBDEI3JU ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.6)
;;=^IBE(358.6,
;;^UTILITY(U,$J,358.6,0)
;;=IMP/EXP PACKAGE INTERFACE^358.6I^9^9
;;^UTILITY(U,$J,358.6,1,0)
;;=DG SELECT CPT PROCEDURE CODES^CPT^IBDFN4^SCHEDULING^^3^2^^1^^^1^2^^^^^^^^1
;;^UTILITY(U,$J,358.6,1,1,0)
;;=^^2^2^2961007^^^^
;;^UTILITY(U,$J,358.6,1,1,1,0)
;;=Allows for the selection of CPT codes from the CPT file. Only active codes
;;^UTILITY(U,$J,358.6,1,1,2,0)
;;=are allowed.
;;^UTILITY(U,$J,358.6,1,2)
;;=CODE^5^SHORT NAME^28^DESCRIPTION^161^^^^^^^^^^CODE^1^1
;;^UTILITY(U,$J,358.6,1,3)
;;=SELECT CPT PROCEDURE CODES
;;^UTILITY(U,$J,358.6,1,9)
;;=S X=$$CPT^IBDFN12(X)
;;^UTILITY(U,$J,358.6,1,11)
;;=D TESTCPT^IBDFN7
;;^UTILITY(U,$J,358.6,1,15,0)
;;=^357.615I^2^2
;;^UTILITY(U,$J,358.6,1,15,1,0)
;;=SHORT NAME^28^2^^PROCEDURE
;;^UTILITY(U,$J,358.6,1,15,2,0)
;;=DESCRIPTION^161^3^^PROCEDURE
;;^UTILITY(U,$J,358.6,1,16)
;;=o^1^Procedure Narrative^^r^2^CPT CODE^1
;;^UTILITY(U,$J,358.6,2,0)
;;=INPUT PROCEDURE CODE (CPT4)^^^PATIENT CARE ENCOUNTER^^1^4^^1^0^^1^^^^SMP
;;^UTILITY(U,$J,358.6,2,1,0)
;;=^^1^1^2960205^^^^
;;^UTILITY(U,$J,358.6,2,1,1,0)
;;=Used for inputting CPT coded procedures performed on the patient.
;;^UTILITY(U,$J,358.6,2,2)
;;=^^^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,2,3)
;;=CPT4 PROCEDURE CODES
;;^UTILITY(U,$J,358.6,2,9)
;;=D INPUTCPT^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,2,10)
;;=Enter an active CPT procedure code.
;;^UTILITY(U,$J,358.6,2,11)
;;=D TESTCPT^IBDFN7
;;^UTILITY(U,$J,358.6,2,12)
;;=PROCEDURE^1^6^7^3^2
;;^UTILITY(U,$J,358.6,2,13,0)
;;=^358.613V^2^2
;;^UTILITY(U,$J,358.6,2,13,1,0)
;;=1;IBD(358.98,^^0
;;^UTILITY(U,$J,358.6,2,13,2,0)
;;=2;IBD(358.98,^^0
;;^UTILITY(U,$J,358.6,2,14)
;;=S Y=$$DSPLYCPT^IBDFN9(Y)
;;^UTILITY(U,$J,358.6,2,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,2,17)
;;=D SLCTCPT^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,2,18)
;;=S IBDF("OTHER")="81^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"CPT Procedure Code")
;;^UTILITY(U,$J,358.6,2,19)
;;=D CPT^IBDFN14(X)
;;^UTILITY(U,$J,358.6,3,0)
;;=DPT PATIENT'S NAME^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
;;^UTILITY(U,$J,358.6,3,1,0)
;;=^^2^2^2930212^^^^
;;^UTILITY(U,$J,358.6,3,1,1,0)
;;=
;;^UTILITY(U,$J,358.6,3,1,2,0)
;;=Patient's Name
;;^UTILITY(U,$J,358.6,3,2)
;;=Patient's Name^30^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,3,3)
;;=PATIENT NAME
;;^UTILITY(U,$J,358.6,3,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,3,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,3,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,4,0)
;;=DPT PATIENT'S PID^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
;;^UTILITY(U,$J,358.6,4,1,0)
;;=^^1^1^2931015^^
;;^UTILITY(U,$J,358.6,4,1,1,0)
;;=Used to display the patient identifier.
;;^UTILITY(U,$J,358.6,4,2)
;;=PATIENT IDENTIFIER^15^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,4,3)
;;=PATIENT IDENTIFIER PID
;;^UTILITY(U,$J,358.6,4,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,4,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,4,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,5,0)
;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^REGISTRATION^1^2^2^^1^^^1
;;^UTILITY(U,$J,358.6,5,1,0)
;;=^^2^2^2951023^
;;^UTILITY(U,$J,358.6,5,1,1,0)
;;=Patient's DOB in MM DD, YYYY format
;;^UTILITY(U,$J,358.6,5,1,2,0)
;;=Patient's age in years.
;;^UTILITY(U,$J,358.6,5,2)
;;=Patient's DOB^12^Patient's Age^3^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,5,3)
;;=PATIENT DOB AGE PIMS
;;^UTILITY(U,$J,358.6,5,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,5,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,5,15,0)
;;=^357.615I^1^1
;;^UTILITY(U,$J,358.6,5,15,1,0)
;;=Patient's Age^3^2^
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JU 3925 printed Nov 22, 2024@18:00:21 Page 2
IBDEI3JU ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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)
+2 ;;=^IBE(358.6,
+3 ;;^UTILITY(U,$J,358.6,0)
+4 ;;=IMP/EXP PACKAGE INTERFACE^358.6I^9^9
+5 ;;^UTILITY(U,$J,358.6,1,0)
+6 ;;=DG SELECT CPT PROCEDURE CODES^CPT^IBDFN4^SCHEDULING^^3^2^^1^^^1^2^^^^^^^^1
+7 ;;^UTILITY(U,$J,358.6,1,1,0)
+8 ;;=^^2^2^2961007^^^^
+9 ;;^UTILITY(U,$J,358.6,1,1,1,0)
+10 ;;=Allows for the selection of CPT codes from the CPT file. Only active codes
+11 ;;^UTILITY(U,$J,358.6,1,1,2,0)
+12 ;;=are allowed.
+13 ;;^UTILITY(U,$J,358.6,1,2)
+14 ;;=CODE^5^SHORT NAME^28^DESCRIPTION^161^^^^^^^^^^CODE^1^1
+15 ;;^UTILITY(U,$J,358.6,1,3)
+16 ;;=SELECT CPT PROCEDURE CODES
+17 ;;^UTILITY(U,$J,358.6,1,9)
+18 ;;=S X=$$CPT^IBDFN12(X)
+19 ;;^UTILITY(U,$J,358.6,1,11)
+20 ;;=D TESTCPT^IBDFN7
+21 ;;^UTILITY(U,$J,358.6,1,15,0)
+22 ;;=^357.615I^2^2
+23 ;;^UTILITY(U,$J,358.6,1,15,1,0)
+24 ;;=SHORT NAME^28^2^^PROCEDURE
+25 ;;^UTILITY(U,$J,358.6,1,15,2,0)
+26 ;;=DESCRIPTION^161^3^^PROCEDURE
+27 ;;^UTILITY(U,$J,358.6,1,16)
+28 ;;=o^1^Procedure Narrative^^r^2^CPT CODE^1
+29 ;;^UTILITY(U,$J,358.6,2,0)
+30 ;;=INPUT PROCEDURE CODE (CPT4)^^^PATIENT CARE ENCOUNTER^^1^4^^1^0^^1^^^^SMP
+31 ;;^UTILITY(U,$J,358.6,2,1,0)
+32 ;;=^^1^1^2960205^^^^
+33 ;;^UTILITY(U,$J,358.6,2,1,1,0)
+34 ;;=Used for inputting CPT coded procedures performed on the patient.
+35 ;;^UTILITY(U,$J,358.6,2,2)
+36 ;;=^^^^^^^^^^^^^^^^^1
+37 ;;^UTILITY(U,$J,358.6,2,3)
+38 ;;=CPT4 PROCEDURE CODES
+39 ;;^UTILITY(U,$J,358.6,2,9)
+40 ;;=D INPUTCPT^IBDFN8(.X)
+41 ;;^UTILITY(U,$J,358.6,2,10)
+42 ;;=Enter an active CPT procedure code.
+43 ;;^UTILITY(U,$J,358.6,2,11)
+44 ;;=D TESTCPT^IBDFN7
+45 ;;^UTILITY(U,$J,358.6,2,12)
+46 ;;=PROCEDURE^1^6^7^3^2
+47 ;;^UTILITY(U,$J,358.6,2,13,0)
+48 ;;=^358.613V^2^2
+49 ;;^UTILITY(U,$J,358.6,2,13,1,0)
+50 ;;=1;IBD(358.98,^^0
+51 ;;^UTILITY(U,$J,358.6,2,13,2,0)
+52 ;;=2;IBD(358.98,^^0
+53 ;;^UTILITY(U,$J,358.6,2,14)
+54 ;;=S Y=$$DSPLYCPT^IBDFN9(Y)
+55 ;;^UTILITY(U,$J,358.6,2,15,0)
+56 ;;=^357.615I^0^0
+57 ;;^UTILITY(U,$J,358.6,2,17)
+58 ;;=D SLCTCPT^IBDFN12(.X)
+59 ;;^UTILITY(U,$J,358.6,2,18)
+60 ;;=S IBDF("OTHER")="81^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"CPT Procedure Code")
+61 ;;^UTILITY(U,$J,358.6,2,19)
+62 ;;=D CPT^IBDFN14(X)
+63 ;;^UTILITY(U,$J,358.6,3,0)
+64 ;;=DPT PATIENT'S NAME^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
+65 ;;^UTILITY(U,$J,358.6,3,1,0)
+66 ;;=^^2^2^2930212^^^^
+67 ;;^UTILITY(U,$J,358.6,3,1,1,0)
+68 ;;=
+69 ;;^UTILITY(U,$J,358.6,3,1,2,0)
+70 ;;=Patient's Name
+71 ;;^UTILITY(U,$J,358.6,3,2)
+72 ;;=Patient's Name^30^^^^^^^^^^^^^^^1
+73 ;;^UTILITY(U,$J,358.6,3,3)
+74 ;;=PATIENT NAME
+75 ;;^UTILITY(U,$J,358.6,3,7,0)
+76 ;;=^357.67^1^1
+77 ;;^UTILITY(U,$J,358.6,3,7,1,0)
+78 ;;=DFN
+79 ;;^UTILITY(U,$J,358.6,3,15,0)
+80 ;;=^357.615I^0^0
+81 ;;^UTILITY(U,$J,358.6,4,0)
+82 ;;=DPT PATIENT'S PID^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
+83 ;;^UTILITY(U,$J,358.6,4,1,0)
+84 ;;=^^1^1^2931015^^
+85 ;;^UTILITY(U,$J,358.6,4,1,1,0)
+86 ;;=Used to display the patient identifier.
+87 ;;^UTILITY(U,$J,358.6,4,2)
+88 ;;=PATIENT IDENTIFIER^15^^^^^^^^^^^^^^^1
+89 ;;^UTILITY(U,$J,358.6,4,3)
+90 ;;=PATIENT IDENTIFIER PID
+91 ;;^UTILITY(U,$J,358.6,4,7,0)
+92 ;;=^357.67^1^1
+93 ;;^UTILITY(U,$J,358.6,4,7,1,0)
+94 ;;=DFN
+95 ;;^UTILITY(U,$J,358.6,4,15,0)
+96 ;;=^357.615I^0^0
+97 ;;^UTILITY(U,$J,358.6,5,0)
+98 ;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^REGISTRATION^1^2^2^^1^^^1
+99 ;;^UTILITY(U,$J,358.6,5,1,0)
+100 ;;=^^2^2^2951023^
+101 ;;^UTILITY(U,$J,358.6,5,1,1,0)
+102 ;;=Patient's DOB in MM DD, YYYY format
+103 ;;^UTILITY(U,$J,358.6,5,1,2,0)
+104 ;;=Patient's age in years.
+105 ;;^UTILITY(U,$J,358.6,5,2)
+106 ;;=Patient's DOB^12^Patient's Age^3^^^^^^^^^^^^^1
+107 ;;^UTILITY(U,$J,358.6,5,3)
+108 ;;=PATIENT DOB AGE PIMS
+109 ;;^UTILITY(U,$J,358.6,5,7,0)
+110 ;;=^357.67^1^1
+111 ;;^UTILITY(U,$J,358.6,5,7,1,0)
+112 ;;=DFN
+113 ;;^UTILITY(U,$J,358.6,5,15,0)
+114 ;;=^357.615I^1^1
+115 ;;^UTILITY(U,$J,358.6,5,15,1,0)
+116 ;;=Patient's Age^3^2^