IBDEI1AV ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.3) 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.3,21003,0)
;;=95810^^68^899^4
;;^UTILITY(U,$J,358.3,21003,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21003,1,1,0)
;;=1^95810
;;^UTILITY(U,$J,358.3,21003,1,3,0)
;;=3^POLYSOMNOGRAPHY, 4 OR MORE
;;^UTILITY(U,$J,358.3,21004,0)
;;=95811^^68^899^2^^^^1
;;^UTILITY(U,$J,358.3,21004,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21004,1,1,0)
;;=1^95811
;;^UTILITY(U,$J,358.3,21004,1,3,0)
;;=3^POLYSOMNOGRAPHY W/CPAP, BIPAP
;;^UTILITY(U,$J,358.3,21005,0)
;;=G0398^^68^899^6^^^^1
;;^UTILITY(U,$J,358.3,21005,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21005,1,1,0)
;;=1^G0398
;;^UTILITY(U,$J,358.3,21005,1,3,0)
;;=3^HOME SLEEP TEST/TYPE 2 PORTA
;;^UTILITY(U,$J,358.3,21006,0)
;;=G0399^^68^899^7^^^^1
;;^UTILITY(U,$J,358.3,21006,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21006,1,1,0)
;;=1^G0399
;;^UTILITY(U,$J,358.3,21006,1,3,0)
;;=3^HOME SLEEP TEST/TYPE 3 PORTA
;;^UTILITY(U,$J,358.3,21007,0)
;;=G0400^^68^899^8^^^^1
;;^UTILITY(U,$J,358.3,21007,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21007,1,1,0)
;;=1^G0400
;;^UTILITY(U,$J,358.3,21007,1,3,0)
;;=3^HOME SLEEP TEST/TYPE 4 PORTA
;;^UTILITY(U,$J,358.3,21008,0)
;;=94010^^68^900^14
;;^UTILITY(U,$J,358.3,21008,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21008,1,1,0)
;;=1^94010
;;^UTILITY(U,$J,358.3,21008,1,3,0)
;;=3^SPIROMETRY W/TIMED EXP. VOLUME
;;^UTILITY(U,$J,358.3,21009,0)
;;=94060^^68^900^13
;;^UTILITY(U,$J,358.3,21009,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21009,1,1,0)
;;=1^94060
;;^UTILITY(U,$J,358.3,21009,1,3,0)
;;=3^SPIRO, PRE/POST BRONCHODILATOR
;;^UTILITY(U,$J,358.3,21010,0)
;;=94150^^68^900^15
;;^UTILITY(U,$J,358.3,21010,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21010,1,1,0)
;;=1^94150
;;^UTILITY(U,$J,358.3,21010,1,3,0)
;;=3^VITAL CAPACITY, TOTAL
;;^UTILITY(U,$J,358.3,21011,0)
;;=94375^^68^900^4
;;^UTILITY(U,$J,358.3,21011,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21011,1,1,0)
;;=1^94375
;;^UTILITY(U,$J,358.3,21011,1,3,0)
;;=3^FLOW VOLUME LOOP
;;^UTILITY(U,$J,358.3,21012,0)
;;=94726^^68^900^6^^^^1
;;^UTILITY(U,$J,358.3,21012,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21012,1,1,0)
;;=1^94726
;;^UTILITY(U,$J,358.3,21012,1,3,0)
;;=3^LUNG VOL/AIRWAY RESIST,BDY BOX
;;^UTILITY(U,$J,358.3,21013,0)
;;=94729^^68^900^2^^^^1
;;^UTILITY(U,$J,358.3,21013,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21013,1,1,0)
;;=1^94729
;;^UTILITY(U,$J,358.3,21013,1,3,0)
;;=3^DIFFUSING CAPACITY
;;^UTILITY(U,$J,358.3,21014,0)
;;=94727^^68^900^7^^^^1
;;^UTILITY(U,$J,358.3,21014,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21014,1,1,0)
;;=1^94727
;;^UTILITY(U,$J,358.3,21014,1,3,0)
;;=3^LUNG VOL/NITROGEN WASH OUT
;;^UTILITY(U,$J,358.3,21015,0)
;;=95070^^68^900^1^^^^1
;;^UTILITY(U,$J,358.3,21015,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21015,1,1,0)
;;=1^95070
;;^UTILITY(U,$J,358.3,21015,1,3,0)
;;=3^BRONCHIAL ALLERGY TESTS
;;^UTILITY(U,$J,358.3,21016,0)
;;=94200^^68^900^5^^^^1
;;^UTILITY(U,$J,358.3,21016,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21016,1,1,0)
;;=1^94200
;;^UTILITY(U,$J,358.3,21016,1,3,0)
;;=3^LUNG FUNCTION TEST (MBC/MVV)
;;^UTILITY(U,$J,358.3,21017,0)
;;=J3535^^68^900^8^^^^1
;;^UTILITY(U,$J,358.3,21017,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,21017,1,1,0)
;;=1^J3535
;;^UTILITY(U,$J,358.3,21017,1,3,0)
;;=3^METERED DOSE INHALER DRUG
;;^UTILITY(U,$J,358.3,21018,0)
;;=J7674^^68^900^9^^^^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1AV 3799 printed Dec 13, 2024@02:05:07 Page 2
IBDEI1AV ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.3)
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.3,21003,0)
+2 ;;=95810^^68^899^4
+3 ;;^UTILITY(U,$J,358.3,21003,1,0)
+4 ;;=^358.31IA^3^2
+5 ;;^UTILITY(U,$J,358.3,21003,1,1,0)
+6 ;;=1^95810
+7 ;;^UTILITY(U,$J,358.3,21003,1,3,0)
+8 ;;=3^POLYSOMNOGRAPHY, 4 OR MORE
+9 ;;^UTILITY(U,$J,358.3,21004,0)
+10 ;;=95811^^68^899^2^^^^1
+11 ;;^UTILITY(U,$J,358.3,21004,1,0)
+12 ;;=^358.31IA^3^2
+13 ;;^UTILITY(U,$J,358.3,21004,1,1,0)
+14 ;;=1^95811
+15 ;;^UTILITY(U,$J,358.3,21004,1,3,0)
+16 ;;=3^POLYSOMNOGRAPHY W/CPAP, BIPAP
+17 ;;^UTILITY(U,$J,358.3,21005,0)
+18 ;;=G0398^^68^899^6^^^^1
+19 ;;^UTILITY(U,$J,358.3,21005,1,0)
+20 ;;=^358.31IA^3^2
+21 ;;^UTILITY(U,$J,358.3,21005,1,1,0)
+22 ;;=1^G0398
+23 ;;^UTILITY(U,$J,358.3,21005,1,3,0)
+24 ;;=3^HOME SLEEP TEST/TYPE 2 PORTA
+25 ;;^UTILITY(U,$J,358.3,21006,0)
+26 ;;=G0399^^68^899^7^^^^1
+27 ;;^UTILITY(U,$J,358.3,21006,1,0)
+28 ;;=^358.31IA^3^2
+29 ;;^UTILITY(U,$J,358.3,21006,1,1,0)
+30 ;;=1^G0399
+31 ;;^UTILITY(U,$J,358.3,21006,1,3,0)
+32 ;;=3^HOME SLEEP TEST/TYPE 3 PORTA
+33 ;;^UTILITY(U,$J,358.3,21007,0)
+34 ;;=G0400^^68^899^8^^^^1
+35 ;;^UTILITY(U,$J,358.3,21007,1,0)
+36 ;;=^358.31IA^3^2
+37 ;;^UTILITY(U,$J,358.3,21007,1,1,0)
+38 ;;=1^G0400
+39 ;;^UTILITY(U,$J,358.3,21007,1,3,0)
+40 ;;=3^HOME SLEEP TEST/TYPE 4 PORTA
+41 ;;^UTILITY(U,$J,358.3,21008,0)
+42 ;;=94010^^68^900^14
+43 ;;^UTILITY(U,$J,358.3,21008,1,0)
+44 ;;=^358.31IA^3^2
+45 ;;^UTILITY(U,$J,358.3,21008,1,1,0)
+46 ;;=1^94010
+47 ;;^UTILITY(U,$J,358.3,21008,1,3,0)
+48 ;;=3^SPIROMETRY W/TIMED EXP. VOLUME
+49 ;;^UTILITY(U,$J,358.3,21009,0)
+50 ;;=94060^^68^900^13
+51 ;;^UTILITY(U,$J,358.3,21009,1,0)
+52 ;;=^358.31IA^3^2
+53 ;;^UTILITY(U,$J,358.3,21009,1,1,0)
+54 ;;=1^94060
+55 ;;^UTILITY(U,$J,358.3,21009,1,3,0)
+56 ;;=3^SPIRO, PRE/POST BRONCHODILATOR
+57 ;;^UTILITY(U,$J,358.3,21010,0)
+58 ;;=94150^^68^900^15
+59 ;;^UTILITY(U,$J,358.3,21010,1,0)
+60 ;;=^358.31IA^3^2
+61 ;;^UTILITY(U,$J,358.3,21010,1,1,0)
+62 ;;=1^94150
+63 ;;^UTILITY(U,$J,358.3,21010,1,3,0)
+64 ;;=3^VITAL CAPACITY, TOTAL
+65 ;;^UTILITY(U,$J,358.3,21011,0)
+66 ;;=94375^^68^900^4
+67 ;;^UTILITY(U,$J,358.3,21011,1,0)
+68 ;;=^358.31IA^3^2
+69 ;;^UTILITY(U,$J,358.3,21011,1,1,0)
+70 ;;=1^94375
+71 ;;^UTILITY(U,$J,358.3,21011,1,3,0)
+72 ;;=3^FLOW VOLUME LOOP
+73 ;;^UTILITY(U,$J,358.3,21012,0)
+74 ;;=94726^^68^900^6^^^^1
+75 ;;^UTILITY(U,$J,358.3,21012,1,0)
+76 ;;=^358.31IA^3^2
+77 ;;^UTILITY(U,$J,358.3,21012,1,1,0)
+78 ;;=1^94726
+79 ;;^UTILITY(U,$J,358.3,21012,1,3,0)
+80 ;;=3^LUNG VOL/AIRWAY RESIST,BDY BOX
+81 ;;^UTILITY(U,$J,358.3,21013,0)
+82 ;;=94729^^68^900^2^^^^1
+83 ;;^UTILITY(U,$J,358.3,21013,1,0)
+84 ;;=^358.31IA^3^2
+85 ;;^UTILITY(U,$J,358.3,21013,1,1,0)
+86 ;;=1^94729
+87 ;;^UTILITY(U,$J,358.3,21013,1,3,0)
+88 ;;=3^DIFFUSING CAPACITY
+89 ;;^UTILITY(U,$J,358.3,21014,0)
+90 ;;=94727^^68^900^7^^^^1
+91 ;;^UTILITY(U,$J,358.3,21014,1,0)
+92 ;;=^358.31IA^3^2
+93 ;;^UTILITY(U,$J,358.3,21014,1,1,0)
+94 ;;=1^94727
+95 ;;^UTILITY(U,$J,358.3,21014,1,3,0)
+96 ;;=3^LUNG VOL/NITROGEN WASH OUT
+97 ;;^UTILITY(U,$J,358.3,21015,0)
+98 ;;=95070^^68^900^1^^^^1
+99 ;;^UTILITY(U,$J,358.3,21015,1,0)
+100 ;;=^358.31IA^3^2
+101 ;;^UTILITY(U,$J,358.3,21015,1,1,0)
+102 ;;=1^95070
+103 ;;^UTILITY(U,$J,358.3,21015,1,3,0)
+104 ;;=3^BRONCHIAL ALLERGY TESTS
+105 ;;^UTILITY(U,$J,358.3,21016,0)
+106 ;;=94200^^68^900^5^^^^1
+107 ;;^UTILITY(U,$J,358.3,21016,1,0)
+108 ;;=^358.31IA^3^2
+109 ;;^UTILITY(U,$J,358.3,21016,1,1,0)
+110 ;;=1^94200
+111 ;;^UTILITY(U,$J,358.3,21016,1,3,0)
+112 ;;=3^LUNG FUNCTION TEST (MBC/MVV)
+113 ;;^UTILITY(U,$J,358.3,21017,0)
+114 ;;=J3535^^68^900^8^^^^1
+115 ;;^UTILITY(U,$J,358.3,21017,1,0)
+116 ;;=^358.31IA^3^2
+117 ;;^UTILITY(U,$J,358.3,21017,1,1,0)
+118 ;;=1^J3535
+119 ;;^UTILITY(U,$J,358.3,21017,1,3,0)
+120 ;;=3^METERED DOSE INHALER DRUG
+121 ;;^UTILITY(U,$J,358.3,21018,0)
+122 ;;=J7674^^68^900^9^^^^1