IBDEI1YM ; ; 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,31309,1,3,0)
 ;;=3^Diseases of the circ sys comp pregnancy, first trimester
 ;;^UTILITY(U,$J,358.3,31309,1,4,0)
 ;;=4^O99.411
 ;;^UTILITY(U,$J,358.3,31309,2)
 ;;=^5017970
 ;;^UTILITY(U,$J,358.3,31310,0)
 ;;=O99.412^^126^1623^9
 ;;^UTILITY(U,$J,358.3,31310,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31310,1,3,0)
 ;;=3^Diseases of the circ sys comp pregnancy, second trimester
 ;;^UTILITY(U,$J,358.3,31310,1,4,0)
 ;;=4^O99.412
 ;;^UTILITY(U,$J,358.3,31310,2)
 ;;=^5017971
 ;;^UTILITY(U,$J,358.3,31311,0)
 ;;=O99.413^^126^1623^10
 ;;^UTILITY(U,$J,358.3,31311,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31311,1,3,0)
 ;;=3^Diseases of the circ sys comp pregnancy, third trimester
 ;;^UTILITY(U,$J,358.3,31311,1,4,0)
 ;;=4^O99.413
 ;;^UTILITY(U,$J,358.3,31311,2)
 ;;=^5017972
 ;;^UTILITY(U,$J,358.3,31312,0)
 ;;=O99.43^^126^1623^11
 ;;^UTILITY(U,$J,358.3,31312,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31312,1,3,0)
 ;;=3^Diseases of the circ sys complicating the puerperium
 ;;^UTILITY(U,$J,358.3,31312,1,4,0)
 ;;=4^O99.43
 ;;^UTILITY(U,$J,358.3,31312,2)
 ;;=^5017975
 ;;^UTILITY(U,$J,358.3,31313,0)
 ;;=O33.0^^126^1623^44
 ;;^UTILITY(U,$J,358.3,31313,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31313,1,3,0)
 ;;=3^Matern care for disproprtn d/t deformity of matern pelv bone
 ;;^UTILITY(U,$J,358.3,31313,1,4,0)
 ;;=4^O33.0
 ;;^UTILITY(U,$J,358.3,31313,2)
 ;;=^5016691
 ;;^UTILITY(U,$J,358.3,31314,0)
 ;;=O99.810^^126^1623^1
 ;;^UTILITY(U,$J,358.3,31314,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31314,1,3,0)
 ;;=3^Abnormal glucose complicating pregnancy
 ;;^UTILITY(U,$J,358.3,31314,1,4,0)
 ;;=4^O99.810
 ;;^UTILITY(U,$J,358.3,31314,2)
 ;;=^5017994
 ;;^UTILITY(U,$J,358.3,31315,0)
 ;;=O99.815^^126^1623^2
 ;;^UTILITY(U,$J,358.3,31315,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31315,1,3,0)
 ;;=3^Abnormal glucose complicating the puerperium
 ;;^UTILITY(U,$J,358.3,31315,1,4,0)
 ;;=4^O99.815
 ;;^UTILITY(U,$J,358.3,31315,2)
 ;;=^5017996
 ;;^UTILITY(U,$J,358.3,31316,0)
 ;;=O24.410^^126^1623^24
 ;;^UTILITY(U,$J,358.3,31316,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31316,1,3,0)
 ;;=3^Gestational DM in Pregnancy,Diet Controlled
 ;;^UTILITY(U,$J,358.3,31316,1,4,0)
 ;;=4^O24.410
 ;;^UTILITY(U,$J,358.3,31316,2)
 ;;=^5016272
 ;;^UTILITY(U,$J,358.3,31317,0)
 ;;=O24.414^^126^1623^25
 ;;^UTILITY(U,$J,358.3,31317,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31317,1,3,0)
 ;;=3^Gestational DM in Pregnancy,Insulin Controlled
 ;;^UTILITY(U,$J,358.3,31317,1,4,0)
 ;;=4^O24.414
 ;;^UTILITY(U,$J,358.3,31317,2)
 ;;=^5016273
 ;;^UTILITY(U,$J,358.3,31318,0)
 ;;=O24.415^^126^1623^23
 ;;^UTILITY(U,$J,358.3,31318,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31318,1,3,0)
 ;;=3^Gestational DM in Pregnancy,Ctrl by Oral Hypoglycemic Drugs
 ;;^UTILITY(U,$J,358.3,31318,1,4,0)
 ;;=4^O24.415
 ;;^UTILITY(U,$J,358.3,31318,2)
 ;;=^5139041
 ;;^UTILITY(U,$J,358.3,31319,0)
 ;;=O24.430^^126^1623^27
 ;;^UTILITY(U,$J,358.3,31319,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31319,1,3,0)
 ;;=3^Gestational DM in Puerperium,Diet Controlled
 ;;^UTILITY(U,$J,358.3,31319,1,4,0)
 ;;=4^O24.430
 ;;^UTILITY(U,$J,358.3,31319,2)
 ;;=^5016278
 ;;^UTILITY(U,$J,358.3,31320,0)
 ;;=O24.434^^126^1623^28
 ;;^UTILITY(U,$J,358.3,31320,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31320,1,3,0)
 ;;=3^Gestational DM in Puerperium,Insulin Controlled
 ;;^UTILITY(U,$J,358.3,31320,1,4,0)
 ;;=4^O24.434
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YM   3774     printed  Sep 23, 2025@19:54:21                                                                                                                                                                                                    Page 2
IBDEI1YM  ; ; 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,31309,1,3,0)
 +2       ;;=3^Diseases of the circ sys comp pregnancy, first trimester
 +3       ;;^UTILITY(U,$J,358.3,31309,1,4,0)
 +4       ;;=4^O99.411
 +5       ;;^UTILITY(U,$J,358.3,31309,2)
 +6       ;;=^5017970
 +7       ;;^UTILITY(U,$J,358.3,31310,0)
 +8       ;;=O99.412^^126^1623^9
 +9       ;;^UTILITY(U,$J,358.3,31310,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,31310,1,3,0)
 +12      ;;=3^Diseases of the circ sys comp pregnancy, second trimester
 +13      ;;^UTILITY(U,$J,358.3,31310,1,4,0)
 +14      ;;=4^O99.412
 +15      ;;^UTILITY(U,$J,358.3,31310,2)
 +16      ;;=^5017971
 +17      ;;^UTILITY(U,$J,358.3,31311,0)
 +18      ;;=O99.413^^126^1623^10
 +19      ;;^UTILITY(U,$J,358.3,31311,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,31311,1,3,0)
 +22      ;;=3^Diseases of the circ sys comp pregnancy, third trimester
 +23      ;;^UTILITY(U,$J,358.3,31311,1,4,0)
 +24      ;;=4^O99.413
 +25      ;;^UTILITY(U,$J,358.3,31311,2)
 +26      ;;=^5017972
 +27      ;;^UTILITY(U,$J,358.3,31312,0)
 +28      ;;=O99.43^^126^1623^11
 +29      ;;^UTILITY(U,$J,358.3,31312,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,31312,1,3,0)
 +32      ;;=3^Diseases of the circ sys complicating the puerperium
 +33      ;;^UTILITY(U,$J,358.3,31312,1,4,0)
 +34      ;;=4^O99.43
 +35      ;;^UTILITY(U,$J,358.3,31312,2)
 +36      ;;=^5017975
 +37      ;;^UTILITY(U,$J,358.3,31313,0)
 +38      ;;=O33.0^^126^1623^44
 +39      ;;^UTILITY(U,$J,358.3,31313,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,31313,1,3,0)
 +42      ;;=3^Matern care for disproprtn d/t deformity of matern pelv bone
 +43      ;;^UTILITY(U,$J,358.3,31313,1,4,0)
 +44      ;;=4^O33.0
 +45      ;;^UTILITY(U,$J,358.3,31313,2)
 +46      ;;=^5016691
 +47      ;;^UTILITY(U,$J,358.3,31314,0)
 +48      ;;=O99.810^^126^1623^1
 +49      ;;^UTILITY(U,$J,358.3,31314,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,31314,1,3,0)
 +52      ;;=3^Abnormal glucose complicating pregnancy
 +53      ;;^UTILITY(U,$J,358.3,31314,1,4,0)
 +54      ;;=4^O99.810
 +55      ;;^UTILITY(U,$J,358.3,31314,2)
 +56      ;;=^5017994
 +57      ;;^UTILITY(U,$J,358.3,31315,0)
 +58      ;;=O99.815^^126^1623^2
 +59      ;;^UTILITY(U,$J,358.3,31315,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,31315,1,3,0)
 +62      ;;=3^Abnormal glucose complicating the puerperium
 +63      ;;^UTILITY(U,$J,358.3,31315,1,4,0)
 +64      ;;=4^O99.815
 +65      ;;^UTILITY(U,$J,358.3,31315,2)
 +66      ;;=^5017996
 +67      ;;^UTILITY(U,$J,358.3,31316,0)
 +68      ;;=O24.410^^126^1623^24
 +69      ;;^UTILITY(U,$J,358.3,31316,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,31316,1,3,0)
 +72      ;;=3^Gestational DM in Pregnancy,Diet Controlled
 +73      ;;^UTILITY(U,$J,358.3,31316,1,4,0)
 +74      ;;=4^O24.410
 +75      ;;^UTILITY(U,$J,358.3,31316,2)
 +76      ;;=^5016272
 +77      ;;^UTILITY(U,$J,358.3,31317,0)
 +78      ;;=O24.414^^126^1623^25
 +79      ;;^UTILITY(U,$J,358.3,31317,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,31317,1,3,0)
 +82      ;;=3^Gestational DM in Pregnancy,Insulin Controlled
 +83      ;;^UTILITY(U,$J,358.3,31317,1,4,0)
 +84      ;;=4^O24.414
 +85      ;;^UTILITY(U,$J,358.3,31317,2)
 +86      ;;=^5016273
 +87      ;;^UTILITY(U,$J,358.3,31318,0)
 +88      ;;=O24.415^^126^1623^23
 +89      ;;^UTILITY(U,$J,358.3,31318,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,31318,1,3,0)
 +92      ;;=3^Gestational DM in Pregnancy,Ctrl by Oral Hypoglycemic Drugs
 +93      ;;^UTILITY(U,$J,358.3,31318,1,4,0)
 +94      ;;=4^O24.415
 +95      ;;^UTILITY(U,$J,358.3,31318,2)
 +96      ;;=^5139041
 +97      ;;^UTILITY(U,$J,358.3,31319,0)
 +98      ;;=O24.430^^126^1623^27
 +99      ;;^UTILITY(U,$J,358.3,31319,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,31319,1,3,0)
 +102     ;;=3^Gestational DM in Puerperium,Diet Controlled
 +103     ;;^UTILITY(U,$J,358.3,31319,1,4,0)
 +104     ;;=4^O24.430
 +105     ;;^UTILITY(U,$J,358.3,31319,2)
 +106     ;;=^5016278
 +107     ;;^UTILITY(U,$J,358.3,31320,0)
 +108     ;;=O24.434^^126^1623^28
 +109     ;;^UTILITY(U,$J,358.3,31320,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,31320,1,3,0)
 +112     ;;=3^Gestational DM in Puerperium,Insulin Controlled
 +113     ;;^UTILITY(U,$J,358.3,31320,1,4,0)
 +114     ;;=4^O24.434