IBDEI3IM ; ; 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,1639,0)
;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^148
;;^UTILITY(U,$J,358.4,1640,0)
;;=GENDER DYSPHORIA^13^148
;;^UTILITY(U,$J,358.4,1641,0)
;;=HOUSING/ECONOMIC PROBLEMS^14^148
;;^UTILITY(U,$J,358.4,1642,0)
;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^148
;;^UTILITY(U,$J,358.4,1643,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^148
;;^UTILITY(U,$J,358.4,1644,0)
;;=ORGANIC DISORDERS^18^148
;;^UTILITY(U,$J,358.4,1645,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^148
;;^UTILITY(U,$J,358.4,1646,0)
;;=ADHD^2^148
;;^UTILITY(U,$J,358.4,1647,0)
;;=COUNSELING/MED ADVICE^5^148
;;^UTILITY(U,$J,358.4,1648,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^28^148
;;^UTILITY(U,$J,358.4,1649,0)
;;=PARAPHILIC DISORDERS^19^148
;;^UTILITY(U,$J,358.4,1650,0)
;;=PERSONALITY DISORDERS^21^148
;;^UTILITY(U,$J,358.4,1651,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^148
;;^UTILITY(U,$J,358.4,1652,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^148
;;^UTILITY(U,$J,358.4,1653,0)
;;=RELATIONAL PROBLEMS^23^148
;;^UTILITY(U,$J,358.4,1654,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^148
;;^UTILITY(U,$J,358.4,1655,0)
;;=SEXUAL DYSFUNCTION^26^148
;;^UTILITY(U,$J,358.4,1656,0)
;;=SLEEP DISORDERS^27^148
;;^UTILITY(U,$J,358.4,1657,0)
;;=SUBSTANCE ABUSE-ALCOHOL^30^148
;;^UTILITY(U,$J,358.4,1658,0)
;;=SUBSTANCE ABUSE-AMPHETAMINE^31^148
;;^UTILITY(U,$J,358.4,1659,0)
;;=SUBSTANCE ABUSE-CANNABIS^32^148
;;^UTILITY(U,$J,358.4,1660,0)
;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^148
;;^UTILITY(U,$J,358.4,1661,0)
;;=SUBSTANCE ABUSE-OPIOID^36^148
;;^UTILITY(U,$J,358.4,1662,0)
;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^148
;;^UTILITY(U,$J,358.4,1663,0)
;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^148
;;^UTILITY(U,$J,358.4,1664,0)
;;=SUBSTANCE ABUSE-TOBACCO^39^148
;;^UTILITY(U,$J,358.4,1665,0)
;;=SUBSTANCE ABUSE-COCAINE^33^148
;;^UTILITY(U,$J,358.4,1666,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^148
;;^UTILITY(U,$J,358.4,1667,0)
;;=SUBSTANCE ABUSE-INHALANT^35^148
;;^UTILITY(U,$J,358.4,1668,0)
;;=INTELLECTUAL DISABILITIES^15^148
;;^UTILITY(U,$J,358.4,1669,0)
;;=RESEARCH^24^148
;;^UTILITY(U,$J,358.4,1670,0)
;;=SOMATOFORM DISORDERS^29^148
;;^UTILITY(U,$J,358.4,1671,0)
;;=EDUCATION^2^149
;;^UTILITY(U,$J,358.4,1672,0)
;;=MEDICAL NUTRITION THERAPY^3^149
;;^UTILITY(U,$J,358.4,1673,0)
;;=TEAM CONFERENCE^6^149
;;^UTILITY(U,$J,358.4,1674,0)
;;=ASSESSMENT^1^149
;;^UTILITY(U,$J,358.4,1675,0)
;;=MEDICATION THERAPY MANAGEMENT^4^149
;;^UTILITY(U,$J,358.4,1676,0)
;;=PHYSICAL THERAPY^5^149
;;^UTILITY(U,$J,358.4,1677,0)
;;=NEW PATIENT^2^150
;;^UTILITY(U,$J,358.4,1678,0)
;;=ESTABLISHED PATIENT^1^150
;;^UTILITY(U,$J,358.4,1679,0)
;;=CONSULTATIONS^3^150
;;^UTILITY(U,$J,358.4,1680,0)
;;=BODY MASS INDEX (BMI)^1^151
;;^UTILITY(U,$J,358.4,1681,0)
;;=COUNSELING^2^151
;;^UTILITY(U,$J,358.4,1682,0)
;;=DIABETES W/O COMPLICATION^3^151
;;^UTILITY(U,$J,358.4,1683,0)
;;=OVERWEIGHT/OBESITY^4^151
;;^UTILITY(U,$J,358.4,1684,0)
;;=OUTPT NEW PATIENT^3^152
;;^UTILITY(U,$J,358.4,1685,0)
;;=OUTPT ESTABLISHED PATIENT^2^152
;;^UTILITY(U,$J,358.4,1686,0)
;;=OUTPT CONSULTATIONS^4^152
;;^UTILITY(U,$J,358.4,1687,0)
;;=NURSING VISIT ONLY^1^152
;;^UTILITY(U,$J,358.4,1688,0)
;;=INITIAL OBSERVATION^9^152
;;^UTILITY(U,$J,358.4,1689,0)
;;=SAME DAY ADM/DISCHARGE^12^152
;;^UTILITY(U,$J,358.4,1690,0)
;;=INPT CONSULTATIONS^5^152
;;^UTILITY(U,$J,358.4,1691,0)
;;=INITIAL HOSPITAL CARE^6^152
;;^UTILITY(U,$J,358.4,1692,0)
;;=SUBSEQUENT HOSPITAL CARE^7^152
;;^UTILITY(U,$J,358.4,1693,0)
;;=HOSPITAL CARE D/C SERVICES^8^152
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3IM 3929 printed Dec 13, 2024@02:49:30 Page 2
IBDEI3IM ; ; 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,1639,0)
+2 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^148
+3 ;;^UTILITY(U,$J,358.4,1640,0)
+4 ;;=GENDER DYSPHORIA^13^148
+5 ;;^UTILITY(U,$J,358.4,1641,0)
+6 ;;=HOUSING/ECONOMIC PROBLEMS^14^148
+7 ;;^UTILITY(U,$J,358.4,1642,0)
+8 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^148
+9 ;;^UTILITY(U,$J,358.4,1643,0)
+10 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^148
+11 ;;^UTILITY(U,$J,358.4,1644,0)
+12 ;;=ORGANIC DISORDERS^18^148
+13 ;;^UTILITY(U,$J,358.4,1645,0)
+14 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^148
+15 ;;^UTILITY(U,$J,358.4,1646,0)
+16 ;;=ADHD^2^148
+17 ;;^UTILITY(U,$J,358.4,1647,0)
+18 ;;=COUNSELING/MED ADVICE^5^148
+19 ;;^UTILITY(U,$J,358.4,1648,0)
+20 ;;=SOCIAL ENVIRONMENT PROBLEMS^28^148
+21 ;;^UTILITY(U,$J,358.4,1649,0)
+22 ;;=PARAPHILIC DISORDERS^19^148
+23 ;;^UTILITY(U,$J,358.4,1650,0)
+24 ;;=PERSONALITY DISORDERS^21^148
+25 ;;^UTILITY(U,$J,358.4,1651,0)
+26 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^148
+27 ;;^UTILITY(U,$J,358.4,1652,0)
+28 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^148
+29 ;;^UTILITY(U,$J,358.4,1653,0)
+30 ;;=RELATIONAL PROBLEMS^23^148
+31 ;;^UTILITY(U,$J,358.4,1654,0)
+32 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^148
+33 ;;^UTILITY(U,$J,358.4,1655,0)
+34 ;;=SEXUAL DYSFUNCTION^26^148
+35 ;;^UTILITY(U,$J,358.4,1656,0)
+36 ;;=SLEEP DISORDERS^27^148
+37 ;;^UTILITY(U,$J,358.4,1657,0)
+38 ;;=SUBSTANCE ABUSE-ALCOHOL^30^148
+39 ;;^UTILITY(U,$J,358.4,1658,0)
+40 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^148
+41 ;;^UTILITY(U,$J,358.4,1659,0)
+42 ;;=SUBSTANCE ABUSE-CANNABIS^32^148
+43 ;;^UTILITY(U,$J,358.4,1660,0)
+44 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^148
+45 ;;^UTILITY(U,$J,358.4,1661,0)
+46 ;;=SUBSTANCE ABUSE-OPIOID^36^148
+47 ;;^UTILITY(U,$J,358.4,1662,0)
+48 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^148
+49 ;;^UTILITY(U,$J,358.4,1663,0)
+50 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^148
+51 ;;^UTILITY(U,$J,358.4,1664,0)
+52 ;;=SUBSTANCE ABUSE-TOBACCO^39^148
+53 ;;^UTILITY(U,$J,358.4,1665,0)
+54 ;;=SUBSTANCE ABUSE-COCAINE^33^148
+55 ;;^UTILITY(U,$J,358.4,1666,0)
+56 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^148
+57 ;;^UTILITY(U,$J,358.4,1667,0)
+58 ;;=SUBSTANCE ABUSE-INHALANT^35^148
+59 ;;^UTILITY(U,$J,358.4,1668,0)
+60 ;;=INTELLECTUAL DISABILITIES^15^148
+61 ;;^UTILITY(U,$J,358.4,1669,0)
+62 ;;=RESEARCH^24^148
+63 ;;^UTILITY(U,$J,358.4,1670,0)
+64 ;;=SOMATOFORM DISORDERS^29^148
+65 ;;^UTILITY(U,$J,358.4,1671,0)
+66 ;;=EDUCATION^2^149
+67 ;;^UTILITY(U,$J,358.4,1672,0)
+68 ;;=MEDICAL NUTRITION THERAPY^3^149
+69 ;;^UTILITY(U,$J,358.4,1673,0)
+70 ;;=TEAM CONFERENCE^6^149
+71 ;;^UTILITY(U,$J,358.4,1674,0)
+72 ;;=ASSESSMENT^1^149
+73 ;;^UTILITY(U,$J,358.4,1675,0)
+74 ;;=MEDICATION THERAPY MANAGEMENT^4^149
+75 ;;^UTILITY(U,$J,358.4,1676,0)
+76 ;;=PHYSICAL THERAPY^5^149
+77 ;;^UTILITY(U,$J,358.4,1677,0)
+78 ;;=NEW PATIENT^2^150
+79 ;;^UTILITY(U,$J,358.4,1678,0)
+80 ;;=ESTABLISHED PATIENT^1^150
+81 ;;^UTILITY(U,$J,358.4,1679,0)
+82 ;;=CONSULTATIONS^3^150
+83 ;;^UTILITY(U,$J,358.4,1680,0)
+84 ;;=BODY MASS INDEX (BMI)^1^151
+85 ;;^UTILITY(U,$J,358.4,1681,0)
+86 ;;=COUNSELING^2^151
+87 ;;^UTILITY(U,$J,358.4,1682,0)
+88 ;;=DIABETES W/O COMPLICATION^3^151
+89 ;;^UTILITY(U,$J,358.4,1683,0)
+90 ;;=OVERWEIGHT/OBESITY^4^151
+91 ;;^UTILITY(U,$J,358.4,1684,0)
+92 ;;=OUTPT NEW PATIENT^3^152
+93 ;;^UTILITY(U,$J,358.4,1685,0)
+94 ;;=OUTPT ESTABLISHED PATIENT^2^152
+95 ;;^UTILITY(U,$J,358.4,1686,0)
+96 ;;=OUTPT CONSULTATIONS^4^152
+97 ;;^UTILITY(U,$J,358.4,1687,0)
+98 ;;=NURSING VISIT ONLY^1^152
+99 ;;^UTILITY(U,$J,358.4,1688,0)
+100 ;;=INITIAL OBSERVATION^9^152
+101 ;;^UTILITY(U,$J,358.4,1689,0)
+102 ;;=SAME DAY ADM/DISCHARGE^12^152
+103 ;;^UTILITY(U,$J,358.4,1690,0)
+104 ;;=INPT CONSULTATIONS^5^152
+105 ;;^UTILITY(U,$J,358.4,1691,0)
+106 ;;=INITIAL HOSPITAL CARE^6^152
+107 ;;^UTILITY(U,$J,358.4,1692,0)
+108 ;;=SUBSEQUENT HOSPITAL CARE^7^152
+109 ;;^UTILITY(U,$J,358.4,1693,0)
+110 ;;=HOSPITAL CARE D/C SERVICES^8^152