IBDEI2UW ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,45564,1,3,0)
;;=3^Bronchospasm,Acute
;;^UTILITY(U,$J,358.3,45564,1,4,0)
;;=4^J98.01
;;^UTILITY(U,$J,358.3,45564,2)
;;=^334092
;;^UTILITY(U,$J,358.3,45565,0)
;;=R05.^^172^2272^5
;;^UTILITY(U,$J,358.3,45565,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45565,1,3,0)
;;=3^Cough
;;^UTILITY(U,$J,358.3,45565,1,4,0)
;;=4^R05.
;;^UTILITY(U,$J,358.3,45565,2)
;;=^5019179
;;^UTILITY(U,$J,358.3,45566,0)
;;=R06.00^^172^2272^6
;;^UTILITY(U,$J,358.3,45566,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45566,1,3,0)
;;=3^Dyspnea
;;^UTILITY(U,$J,358.3,45566,1,4,0)
;;=4^R06.00
;;^UTILITY(U,$J,358.3,45566,2)
;;=^5019180
;;^UTILITY(U,$J,358.3,45567,0)
;;=J18.9^^172^2272^11
;;^UTILITY(U,$J,358.3,45567,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45567,1,3,0)
;;=3^Pneumonia,Unspec
;;^UTILITY(U,$J,358.3,45567,1,4,0)
;;=4^J18.9
;;^UTILITY(U,$J,358.3,45567,2)
;;=^95632
;;^UTILITY(U,$J,358.3,45568,0)
;;=J12.9^^172^2272^12
;;^UTILITY(U,$J,358.3,45568,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45568,1,3,0)
;;=3^Pneumonia,Viral
;;^UTILITY(U,$J,358.3,45568,1,4,0)
;;=4^J12.9
;;^UTILITY(U,$J,358.3,45568,2)
;;=^5008169
;;^UTILITY(U,$J,358.3,45569,0)
;;=G47.33^^172^2272^14
;;^UTILITY(U,$J,358.3,45569,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45569,1,3,0)
;;=3^Sleep Apnea,Obstructive
;;^UTILITY(U,$J,358.3,45569,1,4,0)
;;=4^G47.33
;;^UTILITY(U,$J,358.3,45569,2)
;;=^332763
;;^UTILITY(U,$J,358.3,45570,0)
;;=R06.1^^172^2272^15
;;^UTILITY(U,$J,358.3,45570,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45570,1,3,0)
;;=3^Stridor
;;^UTILITY(U,$J,358.3,45570,1,4,0)
;;=4^R06.1
;;^UTILITY(U,$J,358.3,45570,2)
;;=^5019183
;;^UTILITY(U,$J,358.3,45571,0)
;;=R06.82^^172^2272^13
;;^UTILITY(U,$J,358.3,45571,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45571,1,3,0)
;;=3^Shortness of Breath
;;^UTILITY(U,$J,358.3,45571,1,4,0)
;;=4^R06.82
;;^UTILITY(U,$J,358.3,45571,2)
;;=^5019191
;;^UTILITY(U,$J,358.3,45572,0)
;;=R55.^^172^2272^16
;;^UTILITY(U,$J,358.3,45572,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45572,1,3,0)
;;=3^Syncope/Collapse
;;^UTILITY(U,$J,358.3,45572,1,4,0)
;;=4^R55.
;;^UTILITY(U,$J,358.3,45572,2)
;;=^116707
;;^UTILITY(U,$J,358.3,45573,0)
;;=R06.2^^172^2272^18
;;^UTILITY(U,$J,358.3,45573,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45573,1,3,0)
;;=3^Wheezing
;;^UTILITY(U,$J,358.3,45573,1,4,0)
;;=4^R06.2
;;^UTILITY(U,$J,358.3,45573,2)
;;=^5019184
;;^UTILITY(U,$J,358.3,45574,0)
;;=S23.9XXA^^172^2273^51
;;^UTILITY(U,$J,358.3,45574,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45574,1,3,0)
;;=3^Sprain Thorax,Unspec Part,Initial Encounter
;;^UTILITY(U,$J,358.3,45574,1,4,0)
;;=4^S23.9XXA
;;^UTILITY(U,$J,358.3,45574,2)
;;=^5023267
;;^UTILITY(U,$J,358.3,45575,0)
;;=S13.4XXA^^172^2273^50
;;^UTILITY(U,$J,358.3,45575,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45575,1,3,0)
;;=3^Sprain Ligaments Cervical Spine,Initial Encounter
;;^UTILITY(U,$J,358.3,45575,1,4,0)
;;=4^S13.4XXA
;;^UTILITY(U,$J,358.3,45575,2)
;;=^5022028
;;^UTILITY(U,$J,358.3,45576,0)
;;=R22.2^^172^2273^52
;;^UTILITY(U,$J,358.3,45576,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45576,1,3,0)
;;=3^Swelling,Mass & Lump,Trunk
;;^UTILITY(U,$J,358.3,45576,1,4,0)
;;=4^R22.2
;;^UTILITY(U,$J,358.3,45576,2)
;;=^5019286
;;^UTILITY(U,$J,358.3,45577,0)
;;=R55.^^172^2273^53
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2UW 3750 printed Dec 13, 2024@02:36:18 Page 2
IBDEI2UW ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,45564,1,3,0)
+2 ;;=3^Bronchospasm,Acute
+3 ;;^UTILITY(U,$J,358.3,45564,1,4,0)
+4 ;;=4^J98.01
+5 ;;^UTILITY(U,$J,358.3,45564,2)
+6 ;;=^334092
+7 ;;^UTILITY(U,$J,358.3,45565,0)
+8 ;;=R05.^^172^2272^5
+9 ;;^UTILITY(U,$J,358.3,45565,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,45565,1,3,0)
+12 ;;=3^Cough
+13 ;;^UTILITY(U,$J,358.3,45565,1,4,0)
+14 ;;=4^R05.
+15 ;;^UTILITY(U,$J,358.3,45565,2)
+16 ;;=^5019179
+17 ;;^UTILITY(U,$J,358.3,45566,0)
+18 ;;=R06.00^^172^2272^6
+19 ;;^UTILITY(U,$J,358.3,45566,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,45566,1,3,0)
+22 ;;=3^Dyspnea
+23 ;;^UTILITY(U,$J,358.3,45566,1,4,0)
+24 ;;=4^R06.00
+25 ;;^UTILITY(U,$J,358.3,45566,2)
+26 ;;=^5019180
+27 ;;^UTILITY(U,$J,358.3,45567,0)
+28 ;;=J18.9^^172^2272^11
+29 ;;^UTILITY(U,$J,358.3,45567,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,45567,1,3,0)
+32 ;;=3^Pneumonia,Unspec
+33 ;;^UTILITY(U,$J,358.3,45567,1,4,0)
+34 ;;=4^J18.9
+35 ;;^UTILITY(U,$J,358.3,45567,2)
+36 ;;=^95632
+37 ;;^UTILITY(U,$J,358.3,45568,0)
+38 ;;=J12.9^^172^2272^12
+39 ;;^UTILITY(U,$J,358.3,45568,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,45568,1,3,0)
+42 ;;=3^Pneumonia,Viral
+43 ;;^UTILITY(U,$J,358.3,45568,1,4,0)
+44 ;;=4^J12.9
+45 ;;^UTILITY(U,$J,358.3,45568,2)
+46 ;;=^5008169
+47 ;;^UTILITY(U,$J,358.3,45569,0)
+48 ;;=G47.33^^172^2272^14
+49 ;;^UTILITY(U,$J,358.3,45569,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,45569,1,3,0)
+52 ;;=3^Sleep Apnea,Obstructive
+53 ;;^UTILITY(U,$J,358.3,45569,1,4,0)
+54 ;;=4^G47.33
+55 ;;^UTILITY(U,$J,358.3,45569,2)
+56 ;;=^332763
+57 ;;^UTILITY(U,$J,358.3,45570,0)
+58 ;;=R06.1^^172^2272^15
+59 ;;^UTILITY(U,$J,358.3,45570,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,45570,1,3,0)
+62 ;;=3^Stridor
+63 ;;^UTILITY(U,$J,358.3,45570,1,4,0)
+64 ;;=4^R06.1
+65 ;;^UTILITY(U,$J,358.3,45570,2)
+66 ;;=^5019183
+67 ;;^UTILITY(U,$J,358.3,45571,0)
+68 ;;=R06.82^^172^2272^13
+69 ;;^UTILITY(U,$J,358.3,45571,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,45571,1,3,0)
+72 ;;=3^Shortness of Breath
+73 ;;^UTILITY(U,$J,358.3,45571,1,4,0)
+74 ;;=4^R06.82
+75 ;;^UTILITY(U,$J,358.3,45571,2)
+76 ;;=^5019191
+77 ;;^UTILITY(U,$J,358.3,45572,0)
+78 ;;=R55.^^172^2272^16
+79 ;;^UTILITY(U,$J,358.3,45572,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,45572,1,3,0)
+82 ;;=3^Syncope/Collapse
+83 ;;^UTILITY(U,$J,358.3,45572,1,4,0)
+84 ;;=4^R55.
+85 ;;^UTILITY(U,$J,358.3,45572,2)
+86 ;;=^116707
+87 ;;^UTILITY(U,$J,358.3,45573,0)
+88 ;;=R06.2^^172^2272^18
+89 ;;^UTILITY(U,$J,358.3,45573,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,45573,1,3,0)
+92 ;;=3^Wheezing
+93 ;;^UTILITY(U,$J,358.3,45573,1,4,0)
+94 ;;=4^R06.2
+95 ;;^UTILITY(U,$J,358.3,45573,2)
+96 ;;=^5019184
+97 ;;^UTILITY(U,$J,358.3,45574,0)
+98 ;;=S23.9XXA^^172^2273^51
+99 ;;^UTILITY(U,$J,358.3,45574,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,45574,1,3,0)
+102 ;;=3^Sprain Thorax,Unspec Part,Initial Encounter
+103 ;;^UTILITY(U,$J,358.3,45574,1,4,0)
+104 ;;=4^S23.9XXA
+105 ;;^UTILITY(U,$J,358.3,45574,2)
+106 ;;=^5023267
+107 ;;^UTILITY(U,$J,358.3,45575,0)
+108 ;;=S13.4XXA^^172^2273^50
+109 ;;^UTILITY(U,$J,358.3,45575,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,45575,1,3,0)
+112 ;;=3^Sprain Ligaments Cervical Spine,Initial Encounter
+113 ;;^UTILITY(U,$J,358.3,45575,1,4,0)
+114 ;;=4^S13.4XXA
+115 ;;^UTILITY(U,$J,358.3,45575,2)
+116 ;;=^5022028
+117 ;;^UTILITY(U,$J,358.3,45576,0)
+118 ;;=R22.2^^172^2273^52
+119 ;;^UTILITY(U,$J,358.3,45576,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,45576,1,3,0)
+122 ;;=3^Swelling,Mass & Lump,Trunk
+123 ;;^UTILITY(U,$J,358.3,45576,1,4,0)
+124 ;;=4^R22.2
+125 ;;^UTILITY(U,$J,358.3,45576,2)
+126 ;;=^5019286
+127 ;;^UTILITY(U,$J,358.3,45577,0)
+128 ;;=R55.^^172^2273^53