IBDEI3IB ; ; 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,1003,0)
;;=RELATIONAL PROBLEMS^23^99
;;^UTILITY(U,$J,358.4,1004,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^99
;;^UTILITY(U,$J,358.4,1005,0)
;;=SEXUAL DYSFUNCTION^26^99
;;^UTILITY(U,$J,358.4,1006,0)
;;=SLEEP DISORDERS^27^99
;;^UTILITY(U,$J,358.4,1007,0)
;;=SUBSTANCE ABUSE-ALCOHOL^30^99
;;^UTILITY(U,$J,358.4,1008,0)
;;=SUBSTANCE ABUSE-AMPHETAMINE^31^99
;;^UTILITY(U,$J,358.4,1009,0)
;;=SUBSTANCE ABUSE-CANNABIS^32^99
;;^UTILITY(U,$J,358.4,1010,0)
;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^99
;;^UTILITY(U,$J,358.4,1011,0)
;;=SUBSTANCE ABUSE-OPIOID^36^99
;;^UTILITY(U,$J,358.4,1012,0)
;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^99
;;^UTILITY(U,$J,358.4,1013,0)
;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^99
;;^UTILITY(U,$J,358.4,1014,0)
;;=SUBSTANCE ABUSE-TOBACCO^39^99
;;^UTILITY(U,$J,358.4,1015,0)
;;=SUBSTANCE ABUSE-COCAINE^33^99
;;^UTILITY(U,$J,358.4,1016,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^99
;;^UTILITY(U,$J,358.4,1017,0)
;;=SUBSTANCE ABUSE-INHALANT^35^99
;;^UTILITY(U,$J,358.4,1018,0)
;;=INTELLECTUAL DISABILITIES^15^99
;;^UTILITY(U,$J,358.4,1019,0)
;;=RESEARCH^24^99
;;^UTILITY(U,$J,358.4,1020,0)
;;=SOMATOFORM DISORDERS^29^99
;;^UTILITY(U,$J,358.4,1021,0)
;;=ORTHOTIC DEVICES^3^100
;;^UTILITY(U,$J,358.4,1022,0)
;;=THERAPY EVALUATIONS^5^100
;;^UTILITY(U,$J,358.4,1023,0)
;;=HOME THERAPY SERVICES^1^100
;;^UTILITY(U,$J,358.4,1024,0)
;;=KT HOME HEALTH SERVICES^2^100
;;^UTILITY(U,$J,358.4,1025,0)
;;=SPEECH/LANG HOME HEALTH SERVICE^4^100
;;^UTILITY(U,$J,358.4,1026,0)
;;=AMPUTATION STATUS^1^101
;;^UTILITY(U,$J,358.4,1027,0)
;;=BRAIN DISORDERS^2^101
;;^UTILITY(U,$J,358.4,1028,0)
;;=CARDIOPULMONARY^4^101
;;^UTILITY(U,$J,358.4,1029,0)
;;=COMPLICATIONS DUE TO^5^101
;;^UTILITY(U,$J,358.4,1030,0)
;;=MUSCULOSKELETAL/CONNECTIVE TISSUE^11^101
;;^UTILITY(U,$J,358.4,1031,0)
;;=Z CODES^16^101
;;^UTILITY(U,$J,358.4,1032,0)
;;=BRAIN INJURY - TRAUMATIC^3^101
;;^UTILITY(U,$J,358.4,1033,0)
;;=FEMUR/THIGH/KNEE FRACTURE^6^101
;;^UTILITY(U,$J,358.4,1034,0)
;;=FOOT/TOE/ANKLE FRANCTURE^7^101
;;^UTILITY(U,$J,358.4,1035,0)
;;=HAND/FINGER FRACTURE^8^101
;;^UTILITY(U,$J,358.4,1036,0)
;;=HIP/PELVIS FRACTURE^9^101
;;^UTILITY(U,$J,358.4,1037,0)
;;=HUMERUS/SHOULDER FRACTURE^10^101
;;^UTILITY(U,$J,358.4,1038,0)
;;=TIBIA/FIBULA FRACTURE^14^101
;;^UTILITY(U,$J,358.4,1039,0)
;;=SPINE FRACTURE^13^101
;;^UTILITY(U,$J,358.4,1040,0)
;;=WRIST/FOREARM FRACTURE^15^101
;;^UTILITY(U,$J,358.4,1041,0)
;;=OTHER FRACTURE^12^101
;;^UTILITY(U,$J,358.4,1042,0)
;;=SPECIAL SERVICES^7^102
;;^UTILITY(U,$J,358.4,1043,0)
;;=TREATMENT^8^102
;;^UTILITY(U,$J,358.4,1044,0)
;;=MISCELLANEOUS^5^102
;;^UTILITY(U,$J,358.4,1045,0)
;;=IMMUNIZATIONS^3^102
;;^UTILITY(U,$J,358.4,1046,0)
;;=CHEMO ADMINISTRATION^1^102
;;^UTILITY(U,$J,358.4,1047,0)
;;=CHEMO DRUGS^2^102
;;^UTILITY(U,$J,358.4,1048,0)
;;=OTHER DRUGS^6^102
;;^UTILITY(U,$J,358.4,1049,0)
;;=MGMT L/T ANTICOAG TX^4^102
;;^UTILITY(U,$J,358.4,1050,0)
;;=NEW PATIENT^2^103
;;^UTILITY(U,$J,358.4,1051,0)
;;=ESTABLISHED PATIENT^1^103
;;^UTILITY(U,$J,358.4,1052,0)
;;=CONSULTATIONS^3^103
;;^UTILITY(U,$J,358.4,1053,0)
;;=POST OP^4^103
;;^UTILITY(U,$J,358.4,1054,0)
;;=ANEMIA^1^104
;;^UTILITY(U,$J,358.4,1055,0)
;;=BREAST & GYN NEOPLASMS^2^104
;;^UTILITY(U,$J,358.4,1056,0)
;;=COAGULATION DISORDERS^3^104
;;^UTILITY(U,$J,358.4,1057,0)
;;=COUNSELING & SCREENING^4^104
;;^UTILITY(U,$J,358.4,1058,0)
;;=GENITOURINARY NEOPLASMS^5^104
;;^UTILITY(U,$J,358.4,1059,0)
;;=GI CANCER^6^104
;;^UTILITY(U,$J,358.4,1060,0)
;;=HEAD/NECK/LUNG CANCER^7^104
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3IB 3962 printed Dec 13, 2024@02:49:19 Page 2
IBDEI3IB ; ; 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,1003,0)
+2 ;;=RELATIONAL PROBLEMS^23^99
+3 ;;^UTILITY(U,$J,358.4,1004,0)
+4 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^99
+5 ;;^UTILITY(U,$J,358.4,1005,0)
+6 ;;=SEXUAL DYSFUNCTION^26^99
+7 ;;^UTILITY(U,$J,358.4,1006,0)
+8 ;;=SLEEP DISORDERS^27^99
+9 ;;^UTILITY(U,$J,358.4,1007,0)
+10 ;;=SUBSTANCE ABUSE-ALCOHOL^30^99
+11 ;;^UTILITY(U,$J,358.4,1008,0)
+12 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^99
+13 ;;^UTILITY(U,$J,358.4,1009,0)
+14 ;;=SUBSTANCE ABUSE-CANNABIS^32^99
+15 ;;^UTILITY(U,$J,358.4,1010,0)
+16 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^99
+17 ;;^UTILITY(U,$J,358.4,1011,0)
+18 ;;=SUBSTANCE ABUSE-OPIOID^36^99
+19 ;;^UTILITY(U,$J,358.4,1012,0)
+20 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^99
+21 ;;^UTILITY(U,$J,358.4,1013,0)
+22 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^99
+23 ;;^UTILITY(U,$J,358.4,1014,0)
+24 ;;=SUBSTANCE ABUSE-TOBACCO^39^99
+25 ;;^UTILITY(U,$J,358.4,1015,0)
+26 ;;=SUBSTANCE ABUSE-COCAINE^33^99
+27 ;;^UTILITY(U,$J,358.4,1016,0)
+28 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^99
+29 ;;^UTILITY(U,$J,358.4,1017,0)
+30 ;;=SUBSTANCE ABUSE-INHALANT^35^99
+31 ;;^UTILITY(U,$J,358.4,1018,0)
+32 ;;=INTELLECTUAL DISABILITIES^15^99
+33 ;;^UTILITY(U,$J,358.4,1019,0)
+34 ;;=RESEARCH^24^99
+35 ;;^UTILITY(U,$J,358.4,1020,0)
+36 ;;=SOMATOFORM DISORDERS^29^99
+37 ;;^UTILITY(U,$J,358.4,1021,0)
+38 ;;=ORTHOTIC DEVICES^3^100
+39 ;;^UTILITY(U,$J,358.4,1022,0)
+40 ;;=THERAPY EVALUATIONS^5^100
+41 ;;^UTILITY(U,$J,358.4,1023,0)
+42 ;;=HOME THERAPY SERVICES^1^100
+43 ;;^UTILITY(U,$J,358.4,1024,0)
+44 ;;=KT HOME HEALTH SERVICES^2^100
+45 ;;^UTILITY(U,$J,358.4,1025,0)
+46 ;;=SPEECH/LANG HOME HEALTH SERVICE^4^100
+47 ;;^UTILITY(U,$J,358.4,1026,0)
+48 ;;=AMPUTATION STATUS^1^101
+49 ;;^UTILITY(U,$J,358.4,1027,0)
+50 ;;=BRAIN DISORDERS^2^101
+51 ;;^UTILITY(U,$J,358.4,1028,0)
+52 ;;=CARDIOPULMONARY^4^101
+53 ;;^UTILITY(U,$J,358.4,1029,0)
+54 ;;=COMPLICATIONS DUE TO^5^101
+55 ;;^UTILITY(U,$J,358.4,1030,0)
+56 ;;=MUSCULOSKELETAL/CONNECTIVE TISSUE^11^101
+57 ;;^UTILITY(U,$J,358.4,1031,0)
+58 ;;=Z CODES^16^101
+59 ;;^UTILITY(U,$J,358.4,1032,0)
+60 ;;=BRAIN INJURY - TRAUMATIC^3^101
+61 ;;^UTILITY(U,$J,358.4,1033,0)
+62 ;;=FEMUR/THIGH/KNEE FRACTURE^6^101
+63 ;;^UTILITY(U,$J,358.4,1034,0)
+64 ;;=FOOT/TOE/ANKLE FRANCTURE^7^101
+65 ;;^UTILITY(U,$J,358.4,1035,0)
+66 ;;=HAND/FINGER FRACTURE^8^101
+67 ;;^UTILITY(U,$J,358.4,1036,0)
+68 ;;=HIP/PELVIS FRACTURE^9^101
+69 ;;^UTILITY(U,$J,358.4,1037,0)
+70 ;;=HUMERUS/SHOULDER FRACTURE^10^101
+71 ;;^UTILITY(U,$J,358.4,1038,0)
+72 ;;=TIBIA/FIBULA FRACTURE^14^101
+73 ;;^UTILITY(U,$J,358.4,1039,0)
+74 ;;=SPINE FRACTURE^13^101
+75 ;;^UTILITY(U,$J,358.4,1040,0)
+76 ;;=WRIST/FOREARM FRACTURE^15^101
+77 ;;^UTILITY(U,$J,358.4,1041,0)
+78 ;;=OTHER FRACTURE^12^101
+79 ;;^UTILITY(U,$J,358.4,1042,0)
+80 ;;=SPECIAL SERVICES^7^102
+81 ;;^UTILITY(U,$J,358.4,1043,0)
+82 ;;=TREATMENT^8^102
+83 ;;^UTILITY(U,$J,358.4,1044,0)
+84 ;;=MISCELLANEOUS^5^102
+85 ;;^UTILITY(U,$J,358.4,1045,0)
+86 ;;=IMMUNIZATIONS^3^102
+87 ;;^UTILITY(U,$J,358.4,1046,0)
+88 ;;=CHEMO ADMINISTRATION^1^102
+89 ;;^UTILITY(U,$J,358.4,1047,0)
+90 ;;=CHEMO DRUGS^2^102
+91 ;;^UTILITY(U,$J,358.4,1048,0)
+92 ;;=OTHER DRUGS^6^102
+93 ;;^UTILITY(U,$J,358.4,1049,0)
+94 ;;=MGMT L/T ANTICOAG TX^4^102
+95 ;;^UTILITY(U,$J,358.4,1050,0)
+96 ;;=NEW PATIENT^2^103
+97 ;;^UTILITY(U,$J,358.4,1051,0)
+98 ;;=ESTABLISHED PATIENT^1^103
+99 ;;^UTILITY(U,$J,358.4,1052,0)
+100 ;;=CONSULTATIONS^3^103
+101 ;;^UTILITY(U,$J,358.4,1053,0)
+102 ;;=POST OP^4^103
+103 ;;^UTILITY(U,$J,358.4,1054,0)
+104 ;;=ANEMIA^1^104
+105 ;;^UTILITY(U,$J,358.4,1055,0)
+106 ;;=BREAST & GYN NEOPLASMS^2^104
+107 ;;^UTILITY(U,$J,358.4,1056,0)
+108 ;;=COAGULATION DISORDERS^3^104
+109 ;;^UTILITY(U,$J,358.4,1057,0)
+110 ;;=COUNSELING & SCREENING^4^104
+111 ;;^UTILITY(U,$J,358.4,1058,0)
+112 ;;=GENITOURINARY NEOPLASMS^5^104
+113 ;;^UTILITY(U,$J,358.4,1059,0)
+114 ;;=GI CANCER^6^104
+115 ;;^UTILITY(U,$J,358.4,1060,0)
+116 ;;=HEAD/NECK/LUNG CANCER^7^104