IBDEI3JV ; ; 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,6,0)
;;=DG SELECT VISIT TYPE CPT PROCEDURES^VSIT^IBDFN4^SCHEDULING^^3^2^^1^^^1^7^^^^^^^^1
;;^UTILITY(U,$J,358.6,6,1,0)
;;=^^1^1^2941116^^^^
;;^UTILITY(U,$J,358.6,6,1,1,0)
;;=Allows for select of just Visit type CPT codes from the CPT file.
;;^UTILITY(U,$J,358.6,6,2)
;;=CODE^5^RECOMMENDED TEXT-SHORT NAME^40^RECOMMENDED HEADER^30^SHORT NAME FROM CPT FILE^28^^^^^^^^^1^1
;;^UTILITY(U,$J,358.6,6,3)
;;=SELECT TYPE OF VISIT CPT
;;^UTILITY(U,$J,358.6,6,11)
;;=D TESTVST^IBDFN7
;;^UTILITY(U,$J,358.6,6,15,0)
;;=^357.615I^4^3
;;^UTILITY(U,$J,358.6,6,15,2,0)
;;=RECOMMENDED TEXT-SHORT NAME^40^2
;;^UTILITY(U,$J,358.6,6,15,3,0)
;;=RECOMMENDED HEADER^30^3
;;^UTILITY(U,$J,358.6,6,15,4,0)
;;=SHORT NAME FROM CPT FILE^28^4
;;^UTILITY(U,$J,358.6,7,0)
;;=INPUT VISIT TYPE^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP
;;^UTILITY(U,$J,358.6,7,1,0)
;;=^^1^1^2951023^
;;^UTILITY(U,$J,358.6,7,1,1,0)
;;=Used for inputting the visit type that applies to the visit.
;;^UTILITY(U,$J,358.6,7,2)
;;=^^^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,7,3)
;;=VISIT TYPE OF VISIT
;;^UTILITY(U,$J,358.6,7,9)
;;=D INPUTCPT^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,7,10)
;;=Enter an active Visit Type code.
;;^UTILITY(U,$J,358.6,7,11)
;;=D TESTVST^IBDFN7
;;^UTILITY(U,$J,358.6,7,12)
;;=ENCOUNTER^5
;;^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 SLCTVST^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,7,18)
;;=S IBDF("OTHER")="357.69^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"Visit Type (EM) Code")
;;^UTILITY(U,$J,358.6,7,19)
;;=D VST^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.
;;^UTILITY(U,$J,358.6,9,11)
;;=D TESTICD0^IBDFN7
;;^UTILITY(U,$J,358.6,9,12)
;;=DIAGNOSIS/PROBLEM^1^13^14^2^
;;^UTILITY(U,$J,358.6,9,13,0)
;;=^357.613V^10^10
;;^UTILITY(U,$J,358.6,9,13,1,0)
;;=1;IBD(358.98,^^1^^^^^2
;;^UTILITY(U,$J,358.6,9,13,2,0)
;;=2;IBD(358.98,^^1^^^^^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JV 3944 printed Dec 13, 2024@02:50:11 Page 2
IBDEI3JV ; ; 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,6,0)
+2 ;;=DG SELECT VISIT TYPE CPT PROCEDURES^VSIT^IBDFN4^SCHEDULING^^3^2^^1^^^1^7^^^^^^^^1
+3 ;;^UTILITY(U,$J,358.6,6,1,0)
+4 ;;=^^1^1^2941116^^^^
+5 ;;^UTILITY(U,$J,358.6,6,1,1,0)
+6 ;;=Allows for select of just Visit type CPT codes from the CPT file.
+7 ;;^UTILITY(U,$J,358.6,6,2)
+8 ;;=CODE^5^RECOMMENDED TEXT-SHORT NAME^40^RECOMMENDED HEADER^30^SHORT NAME FROM CPT FILE^28^^^^^^^^^1^1
+9 ;;^UTILITY(U,$J,358.6,6,3)
+10 ;;=SELECT TYPE OF VISIT CPT
+11 ;;^UTILITY(U,$J,358.6,6,11)
+12 ;;=D TESTVST^IBDFN7
+13 ;;^UTILITY(U,$J,358.6,6,15,0)
+14 ;;=^357.615I^4^3
+15 ;;^UTILITY(U,$J,358.6,6,15,2,0)
+16 ;;=RECOMMENDED TEXT-SHORT NAME^40^2
+17 ;;^UTILITY(U,$J,358.6,6,15,3,0)
+18 ;;=RECOMMENDED HEADER^30^3
+19 ;;^UTILITY(U,$J,358.6,6,15,4,0)
+20 ;;=SHORT NAME FROM CPT FILE^28^4
+21 ;;^UTILITY(U,$J,358.6,7,0)
+22 ;;=INPUT VISIT TYPE^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP
+23 ;;^UTILITY(U,$J,358.6,7,1,0)
+24 ;;=^^1^1^2951023^
+25 ;;^UTILITY(U,$J,358.6,7,1,1,0)
+26 ;;=Used for inputting the visit type that applies to the visit.
+27 ;;^UTILITY(U,$J,358.6,7,2)
+28 ;;=^^^^^^^^^^^^^^^^^1
+29 ;;^UTILITY(U,$J,358.6,7,3)
+30 ;;=VISIT TYPE OF VISIT
+31 ;;^UTILITY(U,$J,358.6,7,9)
+32 ;;=D INPUTCPT^IBDFN8(.X)
+33 ;;^UTILITY(U,$J,358.6,7,10)
+34 ;;=Enter an active Visit Type code.
+35 ;;^UTILITY(U,$J,358.6,7,11)
+36 ;;=D TESTVST^IBDFN7
+37 ;;^UTILITY(U,$J,358.6,7,12)
+38 ;;=ENCOUNTER^5
+39 ;;^UTILITY(U,$J,358.6,7,14)
+40 ;;=S Y=$$DSPLYCPT^IBDFN9(Y)
+41 ;;^UTILITY(U,$J,358.6,7,15,0)
+42 ;;=^357.615I^0^0
+43 ;;^UTILITY(U,$J,358.6,7,17)
+44 ;;=D SLCTVST^IBDFN12(.X)
+45 ;;^UTILITY(U,$J,358.6,7,18)
+46 ;;=S IBDF("OTHER")="357.69^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"Visit Type (EM) Code")
+47 ;;^UTILITY(U,$J,358.6,7,19)
+48 ;;=D VST^IBDFN14(X)
+49 ;;^UTILITY(U,$J,358.6,8,0)
+50 ;;=DG SELECT ICD-10 DIAGNOSIS CODES^ICD10^IBDFN4^SCHEDULING^^3^2^^1^^^1^9^^^^1^1^^^^30
+51 ;;^UTILITY(U,$J,358.6,8,1,0)
+52 ;;=^^2^2^3140327
+53 ;;^UTILITY(U,$J,358.6,8,1,1,0)
+54 ;;=Allows the user to select ICD-10 diagnosis codes from the ICD Diagnosis
+55 ;;^UTILITY(U,$J,358.6,8,1,2,0)
+56 ;;=file. Allows only active codes to be selected.
+57 ;;^UTILITY(U,$J,358.6,8,2)
+58 ;;=CODE^8^^^^^^^^^^^^^^^1^1
+59 ;;^UTILITY(U,$J,358.6,8,3)
+60 ;;=SELECT ICD10 ICD-10 CODES DIAGNOSIS
+61 ;;^UTILITY(U,$J,358.6,8,9)
+62 ;;=D INPICD10^IBDFN8(.X)
+63 ;;^UTILITY(U,$J,358.6,8,11)
+64 ;;=D TESTICD0^IBDFN7
+65 ;;^UTILITY(U,$J,358.6,8,12)
+66 ;;=^^^^^
+67 ;;^UTILITY(U,$J,358.6,8,13,0)
+68 ;;=^357.613V^2^2
+69 ;;^UTILITY(U,$J,358.6,8,13,1,0)
+70 ;;=1;IBD(358.98,^^^^^^^
+71 ;;^UTILITY(U,$J,358.6,8,13,2,0)
+72 ;;=2;IBD(358.98,^^^^^^^
+73 ;;^UTILITY(U,$J,358.6,8,15,0)
+74 ;;=^357.615I^2^2
+75 ;;^UTILITY(U,$J,358.6,8,15,1,0)
+76 ;;=DIAGNOSIS^60^2^^DIAGNOSIS
+77 ;;^UTILITY(U,$J,358.6,8,15,2,0)
+78 ;;=DESCRIPTION^200^3^^DIAGNOSIS
+79 ;;^UTILITY(U,$J,358.6,8,16)
+80 ;;=o^4^Diagnosis^^r^5^ICD-10 Code^^1
+81 ;;^UTILITY(U,$J,358.6,8,17)
+82 ;;=D SLCTDX10^IBDFN12(.X)
+83 ;;^UTILITY(U,$J,358.6,8,19)
+84 ;;=D DX10^IBDFN14(X)
+85 ;;^UTILITY(U,$J,358.6,9,0)
+86 ;;=INPUT DIAGNOSIS CODE (ICD10)^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP^^^1^^^
+87 ;;^UTILITY(U,$J,358.6,9,1,0)
+88 ;;=^^1^1^3140327
+89 ;;^UTILITY(U,$J,358.6,9,1,1,0)
+90 ;;=Used for inputting ICD10 diagnosis codes.
+91 ;;^UTILITY(U,$J,358.6,9,2)
+92 ;;=^^^^^^^^^^^^^^^^^1
+93 ;;^UTILITY(U,$J,358.6,9,3)
+94 ;;=INPUT ICD10 ICD-10 DIAGNOSIS CODES
+95 ;;^UTILITY(U,$J,358.6,9,9)
+96 ;;=D INPICD10^IBDFN8(.X)
+97 ;;^UTILITY(U,$J,358.6,9,10)
+98 ;;=Enter at least two characters of an active ICD10 diagnosis code.
+99 ;;^UTILITY(U,$J,358.6,9,11)
+100 ;;=D TESTICD0^IBDFN7
+101 ;;^UTILITY(U,$J,358.6,9,12)
+102 ;;=DIAGNOSIS/PROBLEM^1^13^14^2^
+103 ;;^UTILITY(U,$J,358.6,9,13,0)
+104 ;;=^357.613V^10^10
+105 ;;^UTILITY(U,$J,358.6,9,13,1,0)
+106 ;;=1;IBD(358.98,^^1^^^^^2
+107 ;;^UTILITY(U,$J,358.6,9,13,2,0)
+108 ;;=2;IBD(358.98,^^1^^^^^2