- IBDEI3IL ; ; 19-NOV-2015
- ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
- Q:'DIFQR(358.4) 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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
- Q Q
- ;;^UTILITY(U,$J,358.4,1585,0)
- ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^146
- ;;^UTILITY(U,$J,358.4,1586,0)
- ;;=DEPRESSIVE DISORDERS^9^146
- ;;^UTILITY(U,$J,358.4,1587,0)
- ;;=DISSOCIATIVE DISORDERS ^10^146
- ;;^UTILITY(U,$J,358.4,1588,0)
- ;;=EATING DISORDERS^11^146
- ;;^UTILITY(U,$J,358.4,1589,0)
- ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^146
- ;;^UTILITY(U,$J,358.4,1590,0)
- ;;=GENDER DYSPHORIA^13^146
- ;;^UTILITY(U,$J,358.4,1591,0)
- ;;=HOUSING/ECONOMIC PROBLEMS^14^146
- ;;^UTILITY(U,$J,358.4,1592,0)
- ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^146
- ;;^UTILITY(U,$J,358.4,1593,0)
- ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^146
- ;;^UTILITY(U,$J,358.4,1594,0)
- ;;=ORGANIC DISORDERS^18^146
- ;;^UTILITY(U,$J,358.4,1595,0)
- ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^146
- ;;^UTILITY(U,$J,358.4,1596,0)
- ;;=ADHD^2^146
- ;;^UTILITY(U,$J,358.4,1597,0)
- ;;=COUNSELING/MED ADVICE^5^146
- ;;^UTILITY(U,$J,358.4,1598,0)
- ;;=SOCIAL ENVIRONMENT PROBLEMS^28^146
- ;;^UTILITY(U,$J,358.4,1599,0)
- ;;=PARAPHILIC DISORDERS^19^146
- ;;^UTILITY(U,$J,358.4,1600,0)
- ;;=PERSONALITY DISORDERS^21^146
- ;;^UTILITY(U,$J,358.4,1601,0)
- ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^146
- ;;^UTILITY(U,$J,358.4,1602,0)
- ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^146
- ;;^UTILITY(U,$J,358.4,1603,0)
- ;;=RELATIONAL PROBLEMS^23^146
- ;;^UTILITY(U,$J,358.4,1604,0)
- ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^146
- ;;^UTILITY(U,$J,358.4,1605,0)
- ;;=SEXUAL DYSFUNCTION^26^146
- ;;^UTILITY(U,$J,358.4,1606,0)
- ;;=SLEEP DISORDERS^27^146
- ;;^UTILITY(U,$J,358.4,1607,0)
- ;;=SUBSTANCE ABUSE-ALCOHOL^30^146
- ;;^UTILITY(U,$J,358.4,1608,0)
- ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^146
- ;;^UTILITY(U,$J,358.4,1609,0)
- ;;=SUBSTANCE ABUSE-CANNABIS^32^146
- ;;^UTILITY(U,$J,358.4,1610,0)
- ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^146
- ;;^UTILITY(U,$J,358.4,1611,0)
- ;;=SUBSTANCE ABUSE-OPIOID^36^146
- ;;^UTILITY(U,$J,358.4,1612,0)
- ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^146
- ;;^UTILITY(U,$J,358.4,1613,0)
- ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^146
- ;;^UTILITY(U,$J,358.4,1614,0)
- ;;=SUBSTANCE ABUSE-TOBACCO^39^146
- ;;^UTILITY(U,$J,358.4,1615,0)
- ;;=SUBSTANCE ABUSE-COCAINE^33^146
- ;;^UTILITY(U,$J,358.4,1616,0)
- ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^146
- ;;^UTILITY(U,$J,358.4,1617,0)
- ;;=SUBSTANCE ABUSE-INHALANT^35^146
- ;;^UTILITY(U,$J,358.4,1618,0)
- ;;=INTELLECTUAL DISABILITIES^15^146
- ;;^UTILITY(U,$J,358.4,1619,0)
- ;;=RESEARCH^24^146
- ;;^UTILITY(U,$J,358.4,1620,0)
- ;;=SOMATOFORM DISORDERS^29^146
- ;;^UTILITY(U,$J,358.4,1621,0)
- ;;=PSYCHOTHERAPY (INPT OR OUTPT)^6^147
- ;;^UTILITY(U,$J,358.4,1622,0)
- ;;=PSYCHOTHERAPY FOR CRISIS^7^147
- ;;^UTILITY(U,$J,358.4,1623,0)
- ;;=OTHER CODES^3^147
- ;;^UTILITY(U,$J,358.4,1624,0)
- ;;=BEHAVIOR ASSESSMENT/INTERVENTION^1^147
- ;;^UTILITY(U,$J,358.4,1625,0)
- ;;=TEAM CONFERENCE^9^147
- ;;^UTILITY(U,$J,358.4,1626,0)
- ;;=INTERACTIVE COMPLEXITY ADD-ON^2^147
- ;;^UTILITY(U,$J,358.4,1627,0)
- ;;=SUBSTANCE ABUSE^8^147
- ;;^UTILITY(U,$J,358.4,1628,0)
- ;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^5^147
- ;;^UTILITY(U,$J,358.4,1629,0)
- ;;=PROLONGED SERVICE^4^147
- ;;^UTILITY(U,$J,358.4,1630,0)
- ;;=TOBACCO CESSATION COUNSELING^10^147
- ;;^UTILITY(U,$J,358.4,1631,0)
- ;;=ABUSE AND NEGLECT^1^148
- ;;^UTILITY(U,$J,358.4,1632,0)
- ;;=ANXIETY DISORDERS^3^148
- ;;^UTILITY(U,$J,358.4,1633,0)
- ;;=BIPOLAR DISORDERS^4^148
- ;;^UTILITY(U,$J,358.4,1634,0)
- ;;=DELIRIUM^7^148
- ;;^UTILITY(U,$J,358.4,1635,0)
- ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^148
- ;;^UTILITY(U,$J,358.4,1636,0)
- ;;=DEPRESSIVE DISORDERS^9^148
- ;;^UTILITY(U,$J,358.4,1637,0)
- ;;=DISSOCIATIVE DISORDERS ^10^148
- ;;^UTILITY(U,$J,358.4,1638,0)
- ;;=EATING DISORDERS^11^148
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3IL 3935 printed Mar 13, 2025@21:54:31 Page 2
- IBDEI3IL ; ; 19-NOV-2015
- +1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
- +2 if 'DIFQR(358.4)
- 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,99)
- if $ASCII(Y)=61
- SET Y=$EXTRACT(Y,2,999)
- XECUTE NO
- IF '$TEST
- SET @X=Y
- Q QUIT
- +1 ;;^UTILITY(U,$J,358.4,1585,0)
- +2 ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^146
- +3 ;;^UTILITY(U,$J,358.4,1586,0)
- +4 ;;=DEPRESSIVE DISORDERS^9^146
- +5 ;;^UTILITY(U,$J,358.4,1587,0)
- +6 ;;=DISSOCIATIVE DISORDERS ^10^146
- +7 ;;^UTILITY(U,$J,358.4,1588,0)
- +8 ;;=EATING DISORDERS^11^146
- +9 ;;^UTILITY(U,$J,358.4,1589,0)
- +10 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^146
- +11 ;;^UTILITY(U,$J,358.4,1590,0)
- +12 ;;=GENDER DYSPHORIA^13^146
- +13 ;;^UTILITY(U,$J,358.4,1591,0)
- +14 ;;=HOUSING/ECONOMIC PROBLEMS^14^146
- +15 ;;^UTILITY(U,$J,358.4,1592,0)
- +16 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^146
- +17 ;;^UTILITY(U,$J,358.4,1593,0)
- +18 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^146
- +19 ;;^UTILITY(U,$J,358.4,1594,0)
- +20 ;;=ORGANIC DISORDERS^18^146
- +21 ;;^UTILITY(U,$J,358.4,1595,0)
- +22 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^146
- +23 ;;^UTILITY(U,$J,358.4,1596,0)
- +24 ;;=ADHD^2^146
- +25 ;;^UTILITY(U,$J,358.4,1597,0)
- +26 ;;=COUNSELING/MED ADVICE^5^146
- +27 ;;^UTILITY(U,$J,358.4,1598,0)
- +28 ;;=SOCIAL ENVIRONMENT PROBLEMS^28^146
- +29 ;;^UTILITY(U,$J,358.4,1599,0)
- +30 ;;=PARAPHILIC DISORDERS^19^146
- +31 ;;^UTILITY(U,$J,358.4,1600,0)
- +32 ;;=PERSONALITY DISORDERS^21^146
- +33 ;;^UTILITY(U,$J,358.4,1601,0)
- +34 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^146
- +35 ;;^UTILITY(U,$J,358.4,1602,0)
- +36 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^146
- +37 ;;^UTILITY(U,$J,358.4,1603,0)
- +38 ;;=RELATIONAL PROBLEMS^23^146
- +39 ;;^UTILITY(U,$J,358.4,1604,0)
- +40 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^146
- +41 ;;^UTILITY(U,$J,358.4,1605,0)
- +42 ;;=SEXUAL DYSFUNCTION^26^146
- +43 ;;^UTILITY(U,$J,358.4,1606,0)
- +44 ;;=SLEEP DISORDERS^27^146
- +45 ;;^UTILITY(U,$J,358.4,1607,0)
- +46 ;;=SUBSTANCE ABUSE-ALCOHOL^30^146
- +47 ;;^UTILITY(U,$J,358.4,1608,0)
- +48 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^146
- +49 ;;^UTILITY(U,$J,358.4,1609,0)
- +50 ;;=SUBSTANCE ABUSE-CANNABIS^32^146
- +51 ;;^UTILITY(U,$J,358.4,1610,0)
- +52 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^146
- +53 ;;^UTILITY(U,$J,358.4,1611,0)
- +54 ;;=SUBSTANCE ABUSE-OPIOID^36^146
- +55 ;;^UTILITY(U,$J,358.4,1612,0)
- +56 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^146
- +57 ;;^UTILITY(U,$J,358.4,1613,0)
- +58 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^146
- +59 ;;^UTILITY(U,$J,358.4,1614,0)
- +60 ;;=SUBSTANCE ABUSE-TOBACCO^39^146
- +61 ;;^UTILITY(U,$J,358.4,1615,0)
- +62 ;;=SUBSTANCE ABUSE-COCAINE^33^146
- +63 ;;^UTILITY(U,$J,358.4,1616,0)
- +64 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^146
- +65 ;;^UTILITY(U,$J,358.4,1617,0)
- +66 ;;=SUBSTANCE ABUSE-INHALANT^35^146
- +67 ;;^UTILITY(U,$J,358.4,1618,0)
- +68 ;;=INTELLECTUAL DISABILITIES^15^146
- +69 ;;^UTILITY(U,$J,358.4,1619,0)
- +70 ;;=RESEARCH^24^146
- +71 ;;^UTILITY(U,$J,358.4,1620,0)
- +72 ;;=SOMATOFORM DISORDERS^29^146
- +73 ;;^UTILITY(U,$J,358.4,1621,0)
- +74 ;;=PSYCHOTHERAPY (INPT OR OUTPT)^6^147
- +75 ;;^UTILITY(U,$J,358.4,1622,0)
- +76 ;;=PSYCHOTHERAPY FOR CRISIS^7^147
- +77 ;;^UTILITY(U,$J,358.4,1623,0)
- +78 ;;=OTHER CODES^3^147
- +79 ;;^UTILITY(U,$J,358.4,1624,0)
- +80 ;;=BEHAVIOR ASSESSMENT/INTERVENTION^1^147
- +81 ;;^UTILITY(U,$J,358.4,1625,0)
- +82 ;;=TEAM CONFERENCE^9^147
- +83 ;;^UTILITY(U,$J,358.4,1626,0)
- +84 ;;=INTERACTIVE COMPLEXITY ADD-ON^2^147
- +85 ;;^UTILITY(U,$J,358.4,1627,0)
- +86 ;;=SUBSTANCE ABUSE^8^147
- +87 ;;^UTILITY(U,$J,358.4,1628,0)
- +88 ;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^5^147
- +89 ;;^UTILITY(U,$J,358.4,1629,0)
- +90 ;;=PROLONGED SERVICE^4^147
- +91 ;;^UTILITY(U,$J,358.4,1630,0)
- +92 ;;=TOBACCO CESSATION COUNSELING^10^147
- +93 ;;^UTILITY(U,$J,358.4,1631,0)
- +94 ;;=ABUSE AND NEGLECT^1^148
- +95 ;;^UTILITY(U,$J,358.4,1632,0)
- +96 ;;=ANXIETY DISORDERS^3^148
- +97 ;;^UTILITY(U,$J,358.4,1633,0)
- +98 ;;=BIPOLAR DISORDERS^4^148
- +99 ;;^UTILITY(U,$J,358.4,1634,0)
- +100 ;;=DELIRIUM^7^148
- +101 ;;^UTILITY(U,$J,358.4,1635,0)
- +102 ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^148
- +103 ;;^UTILITY(U,$J,358.4,1636,0)
- +104 ;;=DEPRESSIVE DISORDERS^9^148
- +105 ;;^UTILITY(U,$J,358.4,1637,0)
- +106 ;;=DISSOCIATIVE DISORDERS ^10^148
- +107 ;;^UTILITY(U,$J,358.4,1638,0)
- +108 ;;=EATING DISORDERS^11^148