IBDEI1YO ; ; 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,31332,1,4,0)
 ;;=4^O99.841
 ;;^UTILITY(U,$J,358.3,31332,2)
 ;;=^5018004
 ;;^UTILITY(U,$J,358.3,31333,0)
 ;;=O99.842^^126^1624^3
 ;;^UTILITY(U,$J,358.3,31333,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31333,1,3,0)
 ;;=3^Bariatric surgery status comp pregnancy, second trimester
 ;;^UTILITY(U,$J,358.3,31333,1,4,0)
 ;;=4^O99.842
 ;;^UTILITY(U,$J,358.3,31333,2)
 ;;=^5018005
 ;;^UTILITY(U,$J,358.3,31334,0)
 ;;=O99.843^^126^1624^4
 ;;^UTILITY(U,$J,358.3,31334,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31334,1,3,0)
 ;;=3^Bariatric surgery status comp pregnancy, third trimester
 ;;^UTILITY(U,$J,358.3,31334,1,4,0)
 ;;=4^O99.843
 ;;^UTILITY(U,$J,358.3,31334,2)
 ;;=^5018006
 ;;^UTILITY(U,$J,358.3,31335,0)
 ;;=O99.845^^126^1624^5
 ;;^UTILITY(U,$J,358.3,31335,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31335,1,3,0)
 ;;=3^Bariatric surgery status complicating the puerperium
 ;;^UTILITY(U,$J,358.3,31335,1,4,0)
 ;;=4^O99.845
 ;;^UTILITY(U,$J,358.3,31335,2)
 ;;=^5018008
 ;;^UTILITY(U,$J,358.3,31336,0)
 ;;=O99.351^^126^1624^10
 ;;^UTILITY(U,$J,358.3,31336,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31336,1,3,0)
 ;;=3^Diseases of the nervous sys comp pregnancy, first trimester
 ;;^UTILITY(U,$J,358.3,31336,1,4,0)
 ;;=4^O99.351
 ;;^UTILITY(U,$J,358.3,31336,2)
 ;;=^5017965
 ;;^UTILITY(U,$J,358.3,31337,0)
 ;;=O99.352^^126^1624^11
 ;;^UTILITY(U,$J,358.3,31337,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31337,1,3,0)
 ;;=3^Diseases of the nervous sys comp pregnancy, second trimester
 ;;^UTILITY(U,$J,358.3,31337,1,4,0)
 ;;=4^O99.352
 ;;^UTILITY(U,$J,358.3,31337,2)
 ;;=^5017966
 ;;^UTILITY(U,$J,358.3,31338,0)
 ;;=O99.353^^126^1624^12
 ;;^UTILITY(U,$J,358.3,31338,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31338,1,3,0)
 ;;=3^Diseases of the nervous sys comp pregnancy, third trimester
 ;;^UTILITY(U,$J,358.3,31338,1,4,0)
 ;;=4^O99.353
 ;;^UTILITY(U,$J,358.3,31338,2)
 ;;=^5017967
 ;;^UTILITY(U,$J,358.3,31339,0)
 ;;=O26.851^^126^1624^24
 ;;^UTILITY(U,$J,358.3,31339,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31339,1,3,0)
 ;;=3^Spotting complicating pregnancy, first trimester
 ;;^UTILITY(U,$J,358.3,31339,1,4,0)
 ;;=4^O26.851
 ;;^UTILITY(U,$J,358.3,31339,2)
 ;;=^5016349
 ;;^UTILITY(U,$J,358.3,31340,0)
 ;;=O26.852^^126^1624^25
 ;;^UTILITY(U,$J,358.3,31340,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31340,1,3,0)
 ;;=3^Spotting complicating pregnancy, second trimester
 ;;^UTILITY(U,$J,358.3,31340,1,4,0)
 ;;=4^O26.852
 ;;^UTILITY(U,$J,358.3,31340,2)
 ;;=^5016350
 ;;^UTILITY(U,$J,358.3,31341,0)
 ;;=O26.853^^126^1624^26
 ;;^UTILITY(U,$J,358.3,31341,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31341,1,3,0)
 ;;=3^Spotting complicating pregnancy, third trimester
 ;;^UTILITY(U,$J,358.3,31341,1,4,0)
 ;;=4^O26.853
 ;;^UTILITY(U,$J,358.3,31341,2)
 ;;=^5016351
 ;;^UTILITY(U,$J,358.3,31342,0)
 ;;=O26.841^^126^1624^28
 ;;^UTILITY(U,$J,358.3,31342,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31342,1,3,0)
 ;;=3^Uterine size-date discrepancy, first trimester
 ;;^UTILITY(U,$J,358.3,31342,1,4,0)
 ;;=4^O26.841
 ;;^UTILITY(U,$J,358.3,31342,2)
 ;;=^5016345
 ;;^UTILITY(U,$J,358.3,31343,0)
 ;;=O26.842^^126^1624^29
 ;;^UTILITY(U,$J,358.3,31343,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31343,1,3,0)
 ;;=3^Uterine size-date discrepancy, second trimester
 ;;^UTILITY(U,$J,358.3,31343,1,4,0)
 ;;=4^O26.842
 ;;^UTILITY(U,$J,358.3,31343,2)
 ;;=^5016346
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YO   3760     printed  Sep 23, 2025@19:54:23                                                                                                                                                                                                    Page 2
IBDEI1YO  ; ; 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,31332,1,4,0)
 +2       ;;=4^O99.841
 +3       ;;^UTILITY(U,$J,358.3,31332,2)
 +4       ;;=^5018004
 +5       ;;^UTILITY(U,$J,358.3,31333,0)
 +6       ;;=O99.842^^126^1624^3
 +7       ;;^UTILITY(U,$J,358.3,31333,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,31333,1,3,0)
 +10      ;;=3^Bariatric surgery status comp pregnancy, second trimester
 +11      ;;^UTILITY(U,$J,358.3,31333,1,4,0)
 +12      ;;=4^O99.842
 +13      ;;^UTILITY(U,$J,358.3,31333,2)
 +14      ;;=^5018005
 +15      ;;^UTILITY(U,$J,358.3,31334,0)
 +16      ;;=O99.843^^126^1624^4
 +17      ;;^UTILITY(U,$J,358.3,31334,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,31334,1,3,0)
 +20      ;;=3^Bariatric surgery status comp pregnancy, third trimester
 +21      ;;^UTILITY(U,$J,358.3,31334,1,4,0)
 +22      ;;=4^O99.843
 +23      ;;^UTILITY(U,$J,358.3,31334,2)
 +24      ;;=^5018006
 +25      ;;^UTILITY(U,$J,358.3,31335,0)
 +26      ;;=O99.845^^126^1624^5
 +27      ;;^UTILITY(U,$J,358.3,31335,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,31335,1,3,0)
 +30      ;;=3^Bariatric surgery status complicating the puerperium
 +31      ;;^UTILITY(U,$J,358.3,31335,1,4,0)
 +32      ;;=4^O99.845
 +33      ;;^UTILITY(U,$J,358.3,31335,2)
 +34      ;;=^5018008
 +35      ;;^UTILITY(U,$J,358.3,31336,0)
 +36      ;;=O99.351^^126^1624^10
 +37      ;;^UTILITY(U,$J,358.3,31336,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,31336,1,3,0)
 +40      ;;=3^Diseases of the nervous sys comp pregnancy, first trimester
 +41      ;;^UTILITY(U,$J,358.3,31336,1,4,0)
 +42      ;;=4^O99.351
 +43      ;;^UTILITY(U,$J,358.3,31336,2)
 +44      ;;=^5017965
 +45      ;;^UTILITY(U,$J,358.3,31337,0)
 +46      ;;=O99.352^^126^1624^11
 +47      ;;^UTILITY(U,$J,358.3,31337,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,31337,1,3,0)
 +50      ;;=3^Diseases of the nervous sys comp pregnancy, second trimester
 +51      ;;^UTILITY(U,$J,358.3,31337,1,4,0)
 +52      ;;=4^O99.352
 +53      ;;^UTILITY(U,$J,358.3,31337,2)
 +54      ;;=^5017966
 +55      ;;^UTILITY(U,$J,358.3,31338,0)
 +56      ;;=O99.353^^126^1624^12
 +57      ;;^UTILITY(U,$J,358.3,31338,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,31338,1,3,0)
 +60      ;;=3^Diseases of the nervous sys comp pregnancy, third trimester
 +61      ;;^UTILITY(U,$J,358.3,31338,1,4,0)
 +62      ;;=4^O99.353
 +63      ;;^UTILITY(U,$J,358.3,31338,2)
 +64      ;;=^5017967
 +65      ;;^UTILITY(U,$J,358.3,31339,0)
 +66      ;;=O26.851^^126^1624^24
 +67      ;;^UTILITY(U,$J,358.3,31339,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,31339,1,3,0)
 +70      ;;=3^Spotting complicating pregnancy, first trimester
 +71      ;;^UTILITY(U,$J,358.3,31339,1,4,0)
 +72      ;;=4^O26.851
 +73      ;;^UTILITY(U,$J,358.3,31339,2)
 +74      ;;=^5016349
 +75      ;;^UTILITY(U,$J,358.3,31340,0)
 +76      ;;=O26.852^^126^1624^25
 +77      ;;^UTILITY(U,$J,358.3,31340,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,31340,1,3,0)
 +80      ;;=3^Spotting complicating pregnancy, second trimester
 +81      ;;^UTILITY(U,$J,358.3,31340,1,4,0)
 +82      ;;=4^O26.852
 +83      ;;^UTILITY(U,$J,358.3,31340,2)
 +84      ;;=^5016350
 +85      ;;^UTILITY(U,$J,358.3,31341,0)
 +86      ;;=O26.853^^126^1624^26
 +87      ;;^UTILITY(U,$J,358.3,31341,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,31341,1,3,0)
 +90      ;;=3^Spotting complicating pregnancy, third trimester
 +91      ;;^UTILITY(U,$J,358.3,31341,1,4,0)
 +92      ;;=4^O26.853
 +93      ;;^UTILITY(U,$J,358.3,31341,2)
 +94      ;;=^5016351
 +95      ;;^UTILITY(U,$J,358.3,31342,0)
 +96      ;;=O26.841^^126^1624^28
 +97      ;;^UTILITY(U,$J,358.3,31342,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,31342,1,3,0)
 +100     ;;=3^Uterine size-date discrepancy, first trimester
 +101     ;;^UTILITY(U,$J,358.3,31342,1,4,0)
 +102     ;;=4^O26.841
 +103     ;;^UTILITY(U,$J,358.3,31342,2)
 +104     ;;=^5016345
 +105     ;;^UTILITY(U,$J,358.3,31343,0)
 +106     ;;=O26.842^^126^1624^29
 +107     ;;^UTILITY(U,$J,358.3,31343,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,31343,1,3,0)
 +110     ;;=3^Uterine size-date discrepancy, second trimester
 +111     ;;^UTILITY(U,$J,358.3,31343,1,4,0)
 +112     ;;=4^O26.842
 +113     ;;^UTILITY(U,$J,358.3,31343,2)
 +114     ;;=^5016346