IBDEI1YB ; ; 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,31181,1,4,0)
 ;;=4^O10.03
 ;;^UTILITY(U,$J,358.3,31181,2)
 ;;=^5016113
 ;;^UTILITY(U,$J,358.3,31182,0)
 ;;=O10.411^^126^1620^40
 ;;^UTILITY(U,$J,358.3,31182,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31182,1,3,0)
 ;;=3^Pre-existing secondary htn comp pregnancy, first trimester
 ;;^UTILITY(U,$J,358.3,31182,1,4,0)
 ;;=4^O10.411
 ;;^UTILITY(U,$J,358.3,31182,2)
 ;;=^5016132
 ;;^UTILITY(U,$J,358.3,31183,0)
 ;;=O10.412^^126^1620^41
 ;;^UTILITY(U,$J,358.3,31183,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31183,1,3,0)
 ;;=3^Pre-existing secondary htn comp pregnancy, second trimester
 ;;^UTILITY(U,$J,358.3,31183,1,4,0)
 ;;=4^O10.412
 ;;^UTILITY(U,$J,358.3,31183,2)
 ;;=^5016133
 ;;^UTILITY(U,$J,358.3,31184,0)
 ;;=O10.413^^126^1620^42
 ;;^UTILITY(U,$J,358.3,31184,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31184,1,3,0)
 ;;=3^Pre-existing secondary htn comp pregnancy, third trimester
 ;;^UTILITY(U,$J,358.3,31184,1,4,0)
 ;;=4^O10.413
 ;;^UTILITY(U,$J,358.3,31184,2)
 ;;=^5016134
 ;;^UTILITY(U,$J,358.3,31185,0)
 ;;=O10.43^^126^1620^43
 ;;^UTILITY(U,$J,358.3,31185,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31185,1,3,0)
 ;;=3^Pre-existing secondary htn comp the puerperium
 ;;^UTILITY(U,$J,358.3,31185,1,4,0)
 ;;=4^O10.43
 ;;^UTILITY(U,$J,358.3,31185,2)
 ;;=^5016137
 ;;^UTILITY(U,$J,358.3,31186,0)
 ;;=O10.111^^126^1620^29
 ;;^UTILITY(U,$J,358.3,31186,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31186,1,3,0)
 ;;=3^Pre-exist hyp heart disease comp pregnancy, first trimester
 ;;^UTILITY(U,$J,358.3,31186,1,4,0)
 ;;=4^O10.111
 ;;^UTILITY(U,$J,358.3,31186,2)
 ;;=^5016114
 ;;^UTILITY(U,$J,358.3,31187,0)
 ;;=O10.211^^126^1620^22
 ;;^UTILITY(U,$J,358.3,31187,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31187,1,3,0)
 ;;=3^Pre-exist hyp chronic kidney disease comp preg, first tri
 ;;^UTILITY(U,$J,358.3,31187,1,4,0)
 ;;=4^O10.211
 ;;^UTILITY(U,$J,358.3,31187,2)
 ;;=^5016120
 ;;^UTILITY(U,$J,358.3,31188,0)
 ;;=O10.212^^126^1620^23
 ;;^UTILITY(U,$J,358.3,31188,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31188,1,3,0)
 ;;=3^Pre-exist hyp chronic kidney disease comp preg, second tri
 ;;^UTILITY(U,$J,358.3,31188,1,4,0)
 ;;=4^O10.212
 ;;^UTILITY(U,$J,358.3,31188,2)
 ;;=^5016121
 ;;^UTILITY(U,$J,358.3,31189,0)
 ;;=O10.213^^126^1620^24
 ;;^UTILITY(U,$J,358.3,31189,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31189,1,3,0)
 ;;=3^Pre-exist hyp chronic kidney disease comp preg, third tri
 ;;^UTILITY(U,$J,358.3,31189,1,4,0)
 ;;=4^O10.213
 ;;^UTILITY(U,$J,358.3,31189,2)
 ;;=^5016122
 ;;^UTILITY(U,$J,358.3,31190,0)
 ;;=O10.311^^126^1620^25
 ;;^UTILITY(U,$J,358.3,31190,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31190,1,3,0)
 ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, first tri
 ;;^UTILITY(U,$J,358.3,31190,1,4,0)
 ;;=4^O10.311
 ;;^UTILITY(U,$J,358.3,31190,2)
 ;;=^5016126
 ;;^UTILITY(U,$J,358.3,31191,0)
 ;;=O10.312^^126^1620^26
 ;;^UTILITY(U,$J,358.3,31191,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31191,1,3,0)
 ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, second tri
 ;;^UTILITY(U,$J,358.3,31191,1,4,0)
 ;;=4^O10.312
 ;;^UTILITY(U,$J,358.3,31191,2)
 ;;=^5016127
 ;;^UTILITY(U,$J,358.3,31192,0)
 ;;=O10.313^^126^1620^27
 ;;^UTILITY(U,$J,358.3,31192,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31192,1,3,0)
 ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, third tri
 ;;^UTILITY(U,$J,358.3,31192,1,4,0)
 ;;=4^O10.313
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YB   3762     printed  Sep 23, 2025@19:54:11                                                                                                                                                                                                    Page 2
IBDEI1YB  ; ; 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,31181,1,4,0)
 +2       ;;=4^O10.03
 +3       ;;^UTILITY(U,$J,358.3,31181,2)
 +4       ;;=^5016113
 +5       ;;^UTILITY(U,$J,358.3,31182,0)
 +6       ;;=O10.411^^126^1620^40
 +7       ;;^UTILITY(U,$J,358.3,31182,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,31182,1,3,0)
 +10      ;;=3^Pre-existing secondary htn comp pregnancy, first trimester
 +11      ;;^UTILITY(U,$J,358.3,31182,1,4,0)
 +12      ;;=4^O10.411
 +13      ;;^UTILITY(U,$J,358.3,31182,2)
 +14      ;;=^5016132
 +15      ;;^UTILITY(U,$J,358.3,31183,0)
 +16      ;;=O10.412^^126^1620^41
 +17      ;;^UTILITY(U,$J,358.3,31183,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,31183,1,3,0)
 +20      ;;=3^Pre-existing secondary htn comp pregnancy, second trimester
 +21      ;;^UTILITY(U,$J,358.3,31183,1,4,0)
 +22      ;;=4^O10.412
 +23      ;;^UTILITY(U,$J,358.3,31183,2)
 +24      ;;=^5016133
 +25      ;;^UTILITY(U,$J,358.3,31184,0)
 +26      ;;=O10.413^^126^1620^42
 +27      ;;^UTILITY(U,$J,358.3,31184,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,31184,1,3,0)
 +30      ;;=3^Pre-existing secondary htn comp pregnancy, third trimester
 +31      ;;^UTILITY(U,$J,358.3,31184,1,4,0)
 +32      ;;=4^O10.413
 +33      ;;^UTILITY(U,$J,358.3,31184,2)
 +34      ;;=^5016134
 +35      ;;^UTILITY(U,$J,358.3,31185,0)
 +36      ;;=O10.43^^126^1620^43
 +37      ;;^UTILITY(U,$J,358.3,31185,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,31185,1,3,0)
 +40      ;;=3^Pre-existing secondary htn comp the puerperium
 +41      ;;^UTILITY(U,$J,358.3,31185,1,4,0)
 +42      ;;=4^O10.43
 +43      ;;^UTILITY(U,$J,358.3,31185,2)
 +44      ;;=^5016137
 +45      ;;^UTILITY(U,$J,358.3,31186,0)
 +46      ;;=O10.111^^126^1620^29
 +47      ;;^UTILITY(U,$J,358.3,31186,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,31186,1,3,0)
 +50      ;;=3^Pre-exist hyp heart disease comp pregnancy, first trimester
 +51      ;;^UTILITY(U,$J,358.3,31186,1,4,0)
 +52      ;;=4^O10.111
 +53      ;;^UTILITY(U,$J,358.3,31186,2)
 +54      ;;=^5016114
 +55      ;;^UTILITY(U,$J,358.3,31187,0)
 +56      ;;=O10.211^^126^1620^22
 +57      ;;^UTILITY(U,$J,358.3,31187,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,31187,1,3,0)
 +60      ;;=3^Pre-exist hyp chronic kidney disease comp preg, first tri
 +61      ;;^UTILITY(U,$J,358.3,31187,1,4,0)
 +62      ;;=4^O10.211
 +63      ;;^UTILITY(U,$J,358.3,31187,2)
 +64      ;;=^5016120
 +65      ;;^UTILITY(U,$J,358.3,31188,0)
 +66      ;;=O10.212^^126^1620^23
 +67      ;;^UTILITY(U,$J,358.3,31188,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,31188,1,3,0)
 +70      ;;=3^Pre-exist hyp chronic kidney disease comp preg, second tri
 +71      ;;^UTILITY(U,$J,358.3,31188,1,4,0)
 +72      ;;=4^O10.212
 +73      ;;^UTILITY(U,$J,358.3,31188,2)
 +74      ;;=^5016121
 +75      ;;^UTILITY(U,$J,358.3,31189,0)
 +76      ;;=O10.213^^126^1620^24
 +77      ;;^UTILITY(U,$J,358.3,31189,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,31189,1,3,0)
 +80      ;;=3^Pre-exist hyp chronic kidney disease comp preg, third tri
 +81      ;;^UTILITY(U,$J,358.3,31189,1,4,0)
 +82      ;;=4^O10.213
 +83      ;;^UTILITY(U,$J,358.3,31189,2)
 +84      ;;=^5016122
 +85      ;;^UTILITY(U,$J,358.3,31190,0)
 +86      ;;=O10.311^^126^1620^25
 +87      ;;^UTILITY(U,$J,358.3,31190,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,31190,1,3,0)
 +90      ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, first tri
 +91      ;;^UTILITY(U,$J,358.3,31190,1,4,0)
 +92      ;;=4^O10.311
 +93      ;;^UTILITY(U,$J,358.3,31190,2)
 +94      ;;=^5016126
 +95      ;;^UTILITY(U,$J,358.3,31191,0)
 +96      ;;=O10.312^^126^1620^26
 +97      ;;^UTILITY(U,$J,358.3,31191,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,31191,1,3,0)
 +100     ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, second tri
 +101     ;;^UTILITY(U,$J,358.3,31191,1,4,0)
 +102     ;;=4^O10.312
 +103     ;;^UTILITY(U,$J,358.3,31191,2)
 +104     ;;=^5016127
 +105     ;;^UTILITY(U,$J,358.3,31192,0)
 +106     ;;=O10.313^^126^1620^27
 +107     ;;^UTILITY(U,$J,358.3,31192,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,31192,1,3,0)
 +110     ;;=3^Pre-exist hyp heart and chr kidney dis comp preg, third tri
 +111     ;;^UTILITY(U,$J,358.3,31192,1,4,0)
 +112     ;;=4^O10.313