- IBDEI223 ; ; 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,32818,2)
- ;;=^5005879
- ;;^UTILITY(U,$J,358.3,32819,0)
- ;;=H40.43X2^^128^1670^29
- ;;^UTILITY(U,$J,358.3,32819,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32819,1,3,0)
- ;;=3^Inflam GLC,OU,Moderate Stage
- ;;^UTILITY(U,$J,358.3,32819,1,4,0)
- ;;=4^H40.43X2
- ;;^UTILITY(U,$J,358.3,32819,2)
- ;;=^5005880
- ;;^UTILITY(U,$J,358.3,32820,0)
- ;;=H40.43X3^^128^1670^30
- ;;^UTILITY(U,$J,358.3,32820,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32820,1,3,0)
- ;;=3^Inflam GLC,OU,Severe Stage
- ;;^UTILITY(U,$J,358.3,32820,1,4,0)
- ;;=4^H40.43X3
- ;;^UTILITY(U,$J,358.3,32820,2)
- ;;=^5005881
- ;;^UTILITY(U,$J,358.3,32821,0)
- ;;=H40.43X4^^128^1670^31
- ;;^UTILITY(U,$J,358.3,32821,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32821,1,3,0)
- ;;=3^Inflam GLC,OU,Indeterminate Stage
- ;;^UTILITY(U,$J,358.3,32821,1,4,0)
- ;;=4^H40.43X4
- ;;^UTILITY(U,$J,358.3,32821,2)
- ;;=^5005882
- ;;^UTILITY(U,$J,358.3,32822,0)
- ;;=H40.42X0^^128^1670^22
- ;;^UTILITY(U,$J,358.3,32822,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32822,1,3,0)
- ;;=3^Inflam GLC,OS,Stage Unspec
- ;;^UTILITY(U,$J,358.3,32822,1,4,0)
- ;;=4^H40.42X0
- ;;^UTILITY(U,$J,358.3,32822,2)
- ;;=^5005874
- ;;^UTILITY(U,$J,358.3,32823,0)
- ;;=H40.42X1^^128^1670^23
- ;;^UTILITY(U,$J,358.3,32823,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32823,1,3,0)
- ;;=3^Inflam GLC,OS,Mild Stage
- ;;^UTILITY(U,$J,358.3,32823,1,4,0)
- ;;=4^H40.42X1
- ;;^UTILITY(U,$J,358.3,32823,2)
- ;;=^5005875
- ;;^UTILITY(U,$J,358.3,32824,0)
- ;;=H40.42X2^^128^1670^24
- ;;^UTILITY(U,$J,358.3,32824,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32824,1,3,0)
- ;;=3^Inflam GLC,OS,Moderate Stage
- ;;^UTILITY(U,$J,358.3,32824,1,4,0)
- ;;=4^H40.42X2
- ;;^UTILITY(U,$J,358.3,32824,2)
- ;;=^5005876
- ;;^UTILITY(U,$J,358.3,32825,0)
- ;;=H40.42X3^^128^1670^25
- ;;^UTILITY(U,$J,358.3,32825,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32825,1,3,0)
- ;;=3^Inflam GLC,OS,Severe Stage
- ;;^UTILITY(U,$J,358.3,32825,1,4,0)
- ;;=4^H40.42X3
- ;;^UTILITY(U,$J,358.3,32825,2)
- ;;=^5133506
- ;;^UTILITY(U,$J,358.3,32826,0)
- ;;=H40.42X4^^128^1670^26
- ;;^UTILITY(U,$J,358.3,32826,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32826,1,3,0)
- ;;=3^Inflam GLC,OS,Indeterminate Stage
- ;;^UTILITY(U,$J,358.3,32826,1,4,0)
- ;;=4^H40.42X4
- ;;^UTILITY(U,$J,358.3,32826,2)
- ;;=^5005877
- ;;^UTILITY(U,$J,358.3,32827,0)
- ;;=H40.41X0^^128^1670^17
- ;;^UTILITY(U,$J,358.3,32827,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32827,1,3,0)
- ;;=3^Inflam GLC,OD,Stage Unspec
- ;;^UTILITY(U,$J,358.3,32827,1,4,0)
- ;;=4^H40.41X0
- ;;^UTILITY(U,$J,358.3,32827,2)
- ;;=^5005870
- ;;^UTILITY(U,$J,358.3,32828,0)
- ;;=H40.41X1^^128^1670^18
- ;;^UTILITY(U,$J,358.3,32828,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32828,1,3,0)
- ;;=3^Inflam GLC,OD,Mild Stage
- ;;^UTILITY(U,$J,358.3,32828,1,4,0)
- ;;=4^H40.41X1
- ;;^UTILITY(U,$J,358.3,32828,2)
- ;;=^5005871
- ;;^UTILITY(U,$J,358.3,32829,0)
- ;;=H40.41X2^^128^1670^19
- ;;^UTILITY(U,$J,358.3,32829,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32829,1,3,0)
- ;;=3^Inflam GLC,OD,Moderate Stage
- ;;^UTILITY(U,$J,358.3,32829,1,4,0)
- ;;=4^H40.41X2
- ;;^UTILITY(U,$J,358.3,32829,2)
- ;;=^5005872
- ;;^UTILITY(U,$J,358.3,32830,0)
- ;;=H40.41X3^^128^1670^20
- ;;^UTILITY(U,$J,358.3,32830,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,32830,1,3,0)
- ;;=3^Inflam GLC,OD,Severe Stage
- ;;^UTILITY(U,$J,358.3,32830,1,4,0)
- ;;=4^H40.41X3
- ;;^UTILITY(U,$J,358.3,32830,2)
- ;;=^5133505
- ;;^UTILITY(U,$J,358.3,32831,0)
- ;;=H40.41X4^^128^1670^21
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI223 3799 printed Dec 13, 2024@02:20:16 Page 2
- IBDEI223 ; ; 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,32818,2)
- +2 ;;=^5005879
- +3 ;;^UTILITY(U,$J,358.3,32819,0)
- +4 ;;=H40.43X2^^128^1670^29
- +5 ;;^UTILITY(U,$J,358.3,32819,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,32819,1,3,0)
- +8 ;;=3^Inflam GLC,OU,Moderate Stage
- +9 ;;^UTILITY(U,$J,358.3,32819,1,4,0)
- +10 ;;=4^H40.43X2
- +11 ;;^UTILITY(U,$J,358.3,32819,2)
- +12 ;;=^5005880
- +13 ;;^UTILITY(U,$J,358.3,32820,0)
- +14 ;;=H40.43X3^^128^1670^30
- +15 ;;^UTILITY(U,$J,358.3,32820,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,32820,1,3,0)
- +18 ;;=3^Inflam GLC,OU,Severe Stage
- +19 ;;^UTILITY(U,$J,358.3,32820,1,4,0)
- +20 ;;=4^H40.43X3
- +21 ;;^UTILITY(U,$J,358.3,32820,2)
- +22 ;;=^5005881
- +23 ;;^UTILITY(U,$J,358.3,32821,0)
- +24 ;;=H40.43X4^^128^1670^31
- +25 ;;^UTILITY(U,$J,358.3,32821,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,32821,1,3,0)
- +28 ;;=3^Inflam GLC,OU,Indeterminate Stage
- +29 ;;^UTILITY(U,$J,358.3,32821,1,4,0)
- +30 ;;=4^H40.43X4
- +31 ;;^UTILITY(U,$J,358.3,32821,2)
- +32 ;;=^5005882
- +33 ;;^UTILITY(U,$J,358.3,32822,0)
- +34 ;;=H40.42X0^^128^1670^22
- +35 ;;^UTILITY(U,$J,358.3,32822,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,32822,1,3,0)
- +38 ;;=3^Inflam GLC,OS,Stage Unspec
- +39 ;;^UTILITY(U,$J,358.3,32822,1,4,0)
- +40 ;;=4^H40.42X0
- +41 ;;^UTILITY(U,$J,358.3,32822,2)
- +42 ;;=^5005874
- +43 ;;^UTILITY(U,$J,358.3,32823,0)
- +44 ;;=H40.42X1^^128^1670^23
- +45 ;;^UTILITY(U,$J,358.3,32823,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,32823,1,3,0)
- +48 ;;=3^Inflam GLC,OS,Mild Stage
- +49 ;;^UTILITY(U,$J,358.3,32823,1,4,0)
- +50 ;;=4^H40.42X1
- +51 ;;^UTILITY(U,$J,358.3,32823,2)
- +52 ;;=^5005875
- +53 ;;^UTILITY(U,$J,358.3,32824,0)
- +54 ;;=H40.42X2^^128^1670^24
- +55 ;;^UTILITY(U,$J,358.3,32824,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,32824,1,3,0)
- +58 ;;=3^Inflam GLC,OS,Moderate Stage
- +59 ;;^UTILITY(U,$J,358.3,32824,1,4,0)
- +60 ;;=4^H40.42X2
- +61 ;;^UTILITY(U,$J,358.3,32824,2)
- +62 ;;=^5005876
- +63 ;;^UTILITY(U,$J,358.3,32825,0)
- +64 ;;=H40.42X3^^128^1670^25
- +65 ;;^UTILITY(U,$J,358.3,32825,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,32825,1,3,0)
- +68 ;;=3^Inflam GLC,OS,Severe Stage
- +69 ;;^UTILITY(U,$J,358.3,32825,1,4,0)
- +70 ;;=4^H40.42X3
- +71 ;;^UTILITY(U,$J,358.3,32825,2)
- +72 ;;=^5133506
- +73 ;;^UTILITY(U,$J,358.3,32826,0)
- +74 ;;=H40.42X4^^128^1670^26
- +75 ;;^UTILITY(U,$J,358.3,32826,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,32826,1,3,0)
- +78 ;;=3^Inflam GLC,OS,Indeterminate Stage
- +79 ;;^UTILITY(U,$J,358.3,32826,1,4,0)
- +80 ;;=4^H40.42X4
- +81 ;;^UTILITY(U,$J,358.3,32826,2)
- +82 ;;=^5005877
- +83 ;;^UTILITY(U,$J,358.3,32827,0)
- +84 ;;=H40.41X0^^128^1670^17
- +85 ;;^UTILITY(U,$J,358.3,32827,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,32827,1,3,0)
- +88 ;;=3^Inflam GLC,OD,Stage Unspec
- +89 ;;^UTILITY(U,$J,358.3,32827,1,4,0)
- +90 ;;=4^H40.41X0
- +91 ;;^UTILITY(U,$J,358.3,32827,2)
- +92 ;;=^5005870
- +93 ;;^UTILITY(U,$J,358.3,32828,0)
- +94 ;;=H40.41X1^^128^1670^18
- +95 ;;^UTILITY(U,$J,358.3,32828,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,32828,1,3,0)
- +98 ;;=3^Inflam GLC,OD,Mild Stage
- +99 ;;^UTILITY(U,$J,358.3,32828,1,4,0)
- +100 ;;=4^H40.41X1
- +101 ;;^UTILITY(U,$J,358.3,32828,2)
- +102 ;;=^5005871
- +103 ;;^UTILITY(U,$J,358.3,32829,0)
- +104 ;;=H40.41X2^^128^1670^19
- +105 ;;^UTILITY(U,$J,358.3,32829,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,32829,1,3,0)
- +108 ;;=3^Inflam GLC,OD,Moderate Stage
- +109 ;;^UTILITY(U,$J,358.3,32829,1,4,0)
- +110 ;;=4^H40.41X2
- +111 ;;^UTILITY(U,$J,358.3,32829,2)
- +112 ;;=^5005872
- +113 ;;^UTILITY(U,$J,358.3,32830,0)
- +114 ;;=H40.41X3^^128^1670^20
- +115 ;;^UTILITY(U,$J,358.3,32830,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,32830,1,3,0)
- +118 ;;=3^Inflam GLC,OD,Severe Stage
- +119 ;;^UTILITY(U,$J,358.3,32830,1,4,0)
- +120 ;;=4^H40.41X3
- +121 ;;^UTILITY(U,$J,358.3,32830,2)
- +122 ;;=^5133505
- +123 ;;^UTILITY(U,$J,358.3,32831,0)
- +124 ;;=H40.41X4^^128^1670^21