IBDEI3IJ ; ; 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,1477,0)
;;=DELIRIUM^7^141
;;^UTILITY(U,$J,358.4,1478,0)
;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^141
;;^UTILITY(U,$J,358.4,1479,0)
;;=DEPRESSIVE DISORDERS^9^141
;;^UTILITY(U,$J,358.4,1480,0)
;;=DISSOCIATIVE DISORDERS ^10^141
;;^UTILITY(U,$J,358.4,1481,0)
;;=EATING DISORDERS^11^141
;;^UTILITY(U,$J,358.4,1482,0)
;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^141
;;^UTILITY(U,$J,358.4,1483,0)
;;=GENDER DYSPHORIA^13^141
;;^UTILITY(U,$J,358.4,1484,0)
;;=HOUSING/ECONOMIC PROBLEMS^14^141
;;^UTILITY(U,$J,358.4,1485,0)
;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^141
;;^UTILITY(U,$J,358.4,1486,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^141
;;^UTILITY(U,$J,358.4,1487,0)
;;=ORGANIC DISORDERS^18^141
;;^UTILITY(U,$J,358.4,1488,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^141
;;^UTILITY(U,$J,358.4,1489,0)
;;=ADHD^2^141
;;^UTILITY(U,$J,358.4,1490,0)
;;=COUNSELING/MED ADVICE^5^141
;;^UTILITY(U,$J,358.4,1491,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^28^141
;;^UTILITY(U,$J,358.4,1492,0)
;;=PARAPHILIC DISORDERS^19^141
;;^UTILITY(U,$J,358.4,1493,0)
;;=PERSONALITY DISORDERS^21^141
;;^UTILITY(U,$J,358.4,1494,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^141
;;^UTILITY(U,$J,358.4,1495,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^141
;;^UTILITY(U,$J,358.4,1496,0)
;;=RELATIONAL PROBLEMS^23^141
;;^UTILITY(U,$J,358.4,1497,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^141
;;^UTILITY(U,$J,358.4,1498,0)
;;=SEXUAL DYSFUNCTION^26^141
;;^UTILITY(U,$J,358.4,1499,0)
;;=SLEEP DISORDERS^27^141
;;^UTILITY(U,$J,358.4,1500,0)
;;=SUBSTANCE ABUSE-ALCOHOL^30^141
;;^UTILITY(U,$J,358.4,1501,0)
;;=SUBSTANCE ABUSE-AMPHETAMINE^31^141
;;^UTILITY(U,$J,358.4,1502,0)
;;=SUBSTANCE ABUSE-CANNABIS^32^141
;;^UTILITY(U,$J,358.4,1503,0)
;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^141
;;^UTILITY(U,$J,358.4,1504,0)
;;=SUBSTANCE ABUSE-OPIOID^36^141
;;^UTILITY(U,$J,358.4,1505,0)
;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^141
;;^UTILITY(U,$J,358.4,1506,0)
;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^141
;;^UTILITY(U,$J,358.4,1507,0)
;;=SUBSTANCE ABUSE-TOBACCO^39^141
;;^UTILITY(U,$J,358.4,1508,0)
;;=SUBSTANCE ABUSE-COCAINE^33^141
;;^UTILITY(U,$J,358.4,1509,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^141
;;^UTILITY(U,$J,358.4,1510,0)
;;=SUBSTANCE ABUSE-INHALANT^35^141
;;^UTILITY(U,$J,358.4,1511,0)
;;=INTELLECTUAL DISABILITIES^15^141
;;^UTILITY(U,$J,358.4,1512,0)
;;=RESEARCH^24^141
;;^UTILITY(U,$J,358.4,1513,0)
;;=SOMATOFORM DISORDERS^29^141
;;^UTILITY(U,$J,358.4,1514,0)
;;=NEW PATIENT^1^142
;;^UTILITY(U,$J,358.4,1515,0)
;;=ESTABLISHED PATIENT^2^142
;;^UTILITY(U,$J,358.4,1516,0)
;;=EDUCATION & TRAINING FOR SELF MANAGEMENT^3^142
;;^UTILITY(U,$J,358.4,1517,0)
;;=ABUSE AND NEGLECT^1^143
;;^UTILITY(U,$J,358.4,1518,0)
;;=ANXIETY DISORDERS^3^143
;;^UTILITY(U,$J,358.4,1519,0)
;;=BIPOLAR DISORDERS^4^143
;;^UTILITY(U,$J,358.4,1520,0)
;;=DELIRIUM^7^143
;;^UTILITY(U,$J,358.4,1521,0)
;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^143
;;^UTILITY(U,$J,358.4,1522,0)
;;=DEPRESSIVE DISORDERS^9^143
;;^UTILITY(U,$J,358.4,1523,0)
;;=DISSOCIATIVE DISORDERS ^10^143
;;^UTILITY(U,$J,358.4,1524,0)
;;=EATING DISORDERS^11^143
;;^UTILITY(U,$J,358.4,1525,0)
;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^143
;;^UTILITY(U,$J,358.4,1526,0)
;;=GENDER DYSPHORIA^13^143
;;^UTILITY(U,$J,358.4,1527,0)
;;=HOUSING/ECONOMIC PROBLEMS^14^143
;;^UTILITY(U,$J,358.4,1528,0)
;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^143
;;^UTILITY(U,$J,358.4,1529,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^143
;;^UTILITY(U,$J,358.4,1530,0)
;;=ORGANIC DISORDERS^18^143
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3IJ 3953 printed Dec 13, 2024@02:49:27 Page 2
IBDEI3IJ ; ; 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,1477,0)
+2 ;;=DELIRIUM^7^141
+3 ;;^UTILITY(U,$J,358.4,1478,0)
+4 ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^141
+5 ;;^UTILITY(U,$J,358.4,1479,0)
+6 ;;=DEPRESSIVE DISORDERS^9^141
+7 ;;^UTILITY(U,$J,358.4,1480,0)
+8 ;;=DISSOCIATIVE DISORDERS ^10^141
+9 ;;^UTILITY(U,$J,358.4,1481,0)
+10 ;;=EATING DISORDERS^11^141
+11 ;;^UTILITY(U,$J,358.4,1482,0)
+12 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^141
+13 ;;^UTILITY(U,$J,358.4,1483,0)
+14 ;;=GENDER DYSPHORIA^13^141
+15 ;;^UTILITY(U,$J,358.4,1484,0)
+16 ;;=HOUSING/ECONOMIC PROBLEMS^14^141
+17 ;;^UTILITY(U,$J,358.4,1485,0)
+18 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^141
+19 ;;^UTILITY(U,$J,358.4,1486,0)
+20 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^141
+21 ;;^UTILITY(U,$J,358.4,1487,0)
+22 ;;=ORGANIC DISORDERS^18^141
+23 ;;^UTILITY(U,$J,358.4,1488,0)
+24 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^141
+25 ;;^UTILITY(U,$J,358.4,1489,0)
+26 ;;=ADHD^2^141
+27 ;;^UTILITY(U,$J,358.4,1490,0)
+28 ;;=COUNSELING/MED ADVICE^5^141
+29 ;;^UTILITY(U,$J,358.4,1491,0)
+30 ;;=SOCIAL ENVIRONMENT PROBLEMS^28^141
+31 ;;^UTILITY(U,$J,358.4,1492,0)
+32 ;;=PARAPHILIC DISORDERS^19^141
+33 ;;^UTILITY(U,$J,358.4,1493,0)
+34 ;;=PERSONALITY DISORDERS^21^141
+35 ;;^UTILITY(U,$J,358.4,1494,0)
+36 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^141
+37 ;;^UTILITY(U,$J,358.4,1495,0)
+38 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^141
+39 ;;^UTILITY(U,$J,358.4,1496,0)
+40 ;;=RELATIONAL PROBLEMS^23^141
+41 ;;^UTILITY(U,$J,358.4,1497,0)
+42 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^141
+43 ;;^UTILITY(U,$J,358.4,1498,0)
+44 ;;=SEXUAL DYSFUNCTION^26^141
+45 ;;^UTILITY(U,$J,358.4,1499,0)
+46 ;;=SLEEP DISORDERS^27^141
+47 ;;^UTILITY(U,$J,358.4,1500,0)
+48 ;;=SUBSTANCE ABUSE-ALCOHOL^30^141
+49 ;;^UTILITY(U,$J,358.4,1501,0)
+50 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^141
+51 ;;^UTILITY(U,$J,358.4,1502,0)
+52 ;;=SUBSTANCE ABUSE-CANNABIS^32^141
+53 ;;^UTILITY(U,$J,358.4,1503,0)
+54 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^141
+55 ;;^UTILITY(U,$J,358.4,1504,0)
+56 ;;=SUBSTANCE ABUSE-OPIOID^36^141
+57 ;;^UTILITY(U,$J,358.4,1505,0)
+58 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^141
+59 ;;^UTILITY(U,$J,358.4,1506,0)
+60 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^141
+61 ;;^UTILITY(U,$J,358.4,1507,0)
+62 ;;=SUBSTANCE ABUSE-TOBACCO^39^141
+63 ;;^UTILITY(U,$J,358.4,1508,0)
+64 ;;=SUBSTANCE ABUSE-COCAINE^33^141
+65 ;;^UTILITY(U,$J,358.4,1509,0)
+66 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^141
+67 ;;^UTILITY(U,$J,358.4,1510,0)
+68 ;;=SUBSTANCE ABUSE-INHALANT^35^141
+69 ;;^UTILITY(U,$J,358.4,1511,0)
+70 ;;=INTELLECTUAL DISABILITIES^15^141
+71 ;;^UTILITY(U,$J,358.4,1512,0)
+72 ;;=RESEARCH^24^141
+73 ;;^UTILITY(U,$J,358.4,1513,0)
+74 ;;=SOMATOFORM DISORDERS^29^141
+75 ;;^UTILITY(U,$J,358.4,1514,0)
+76 ;;=NEW PATIENT^1^142
+77 ;;^UTILITY(U,$J,358.4,1515,0)
+78 ;;=ESTABLISHED PATIENT^2^142
+79 ;;^UTILITY(U,$J,358.4,1516,0)
+80 ;;=EDUCATION & TRAINING FOR SELF MANAGEMENT^3^142
+81 ;;^UTILITY(U,$J,358.4,1517,0)
+82 ;;=ABUSE AND NEGLECT^1^143
+83 ;;^UTILITY(U,$J,358.4,1518,0)
+84 ;;=ANXIETY DISORDERS^3^143
+85 ;;^UTILITY(U,$J,358.4,1519,0)
+86 ;;=BIPOLAR DISORDERS^4^143
+87 ;;^UTILITY(U,$J,358.4,1520,0)
+88 ;;=DELIRIUM^7^143
+89 ;;^UTILITY(U,$J,358.4,1521,0)
+90 ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^143
+91 ;;^UTILITY(U,$J,358.4,1522,0)
+92 ;;=DEPRESSIVE DISORDERS^9^143
+93 ;;^UTILITY(U,$J,358.4,1523,0)
+94 ;;=DISSOCIATIVE DISORDERS ^10^143
+95 ;;^UTILITY(U,$J,358.4,1524,0)
+96 ;;=EATING DISORDERS^11^143
+97 ;;^UTILITY(U,$J,358.4,1525,0)
+98 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^143
+99 ;;^UTILITY(U,$J,358.4,1526,0)
+100 ;;=GENDER DYSPHORIA^13^143
+101 ;;^UTILITY(U,$J,358.4,1527,0)
+102 ;;=HOUSING/ECONOMIC PROBLEMS^14^143
+103 ;;^UTILITY(U,$J,358.4,1528,0)
+104 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^143
+105 ;;^UTILITY(U,$J,358.4,1529,0)
+106 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^143
+107 ;;^UTILITY(U,$J,358.4,1530,0)
+108 ;;=ORGANIC DISORDERS^18^143