IBDEI1M6 ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.4,577,0)
;;=DIALYSIS^7^46
;;^UTILITY(U,$J,358.4,578,0)
;;=SUICIDE IDEATIONS/ATTEMPTS^25^46
;;^UTILITY(U,$J,358.4,579,0)
;;=ESTABLISHED PATIENT^2^47
;;^UTILITY(U,$J,358.4,580,0)
;;=INJECTIONS/MEDICATION^13^48
;;^UTILITY(U,$J,358.4,581,0)
;;=OTHER^14^48
;;^UTILITY(U,$J,358.4,582,0)
;;=ALLERGY INJECTION^1^48
;;^UTILITY(U,$J,358.4,583,0)
;;=INJECTION ADMINISTRATION^12^48
;;^UTILITY(U,$J,358.4,584,0)
;;=IMMUNIZATION ADMINISTRATION ^8^48
;;^UTILITY(U,$J,358.4,585,0)
;;=CATHETER^3^48
;;^UTILITY(U,$J,358.4,586,0)
;;=CATH FLUSHES^4^48
;;^UTILITY(U,$J,358.4,587,0)
;;=PFT^15^48
;;^UTILITY(U,$J,358.4,588,0)
;;=EKG/HOLTER MONITOR^7^48
;;^UTILITY(U,$J,358.4,589,0)
;;=IMMUNIZATIONS^9^48
;;^UTILITY(U,$J,358.4,590,0)
;;=INFUSIONS^11^48
;;^UTILITY(U,$J,358.4,591,0)
;;=PICC^16^48
;;^UTILITY(U,$J,358.4,592,0)
;;=CHEMO AND OTH COMPLEX DRUGS^5^48
;;^UTILITY(U,$J,358.4,593,0)
;;=BLOOD TRANSFUSIONS^2^48
;;^UTILITY(U,$J,358.4,594,0)
;;=EDUCATION^6^48
;;^UTILITY(U,$J,358.4,595,0)
;;=PRESSURE ULCER^14^49
;;^UTILITY(U,$J,358.4,596,0)
;;=SKIN^19^49
;;^UTILITY(U,$J,358.4,597,0)
;;=SIGNS AND SYMPTOMS^1^49
;;^UTILITY(U,$J,358.4,598,0)
;;=CARDIO/VASCULAR^2^49
;;^UTILITY(U,$J,358.4,599,0)
;;=COUNSELING^3^49
;;^UTILITY(U,$J,358.4,600,0)
;;=ENDOCRINE,METABOLIC,NUTRITION^4^49
;;^UTILITY(U,$J,358.4,601,0)
;;=ENT^5^49
;;^UTILITY(U,$J,358.4,602,0)
;;=GASTROINTESTINAL^6^49
;;^UTILITY(U,$J,358.4,603,0)
;;=GENITOURINARY & RENAL^7^49
;;^UTILITY(U,$J,358.4,604,0)
;;=HEPATITIS^8^49
;;^UTILITY(U,$J,358.4,605,0)
;;=IMMUNIZATIONS^9^49
;;^UTILITY(U,$J,358.4,606,0)
;;=MUSCULOSKELETAL^10^49
;;^UTILITY(U,$J,358.4,607,0)
;;=NEUROLOGY^11^49
;;^UTILITY(U,$J,358.4,608,0)
;;=NURSING MISCELLANEOUS^12^49
;;^UTILITY(U,$J,358.4,609,0)
;;=PREVENTIVE MEDICINE^15^49
;;^UTILITY(U,$J,358.4,610,0)
;;=PULMONARY/RESPIRATORY^16^49
;;^UTILITY(U,$J,358.4,611,0)
;;=PSYCHIATRIC^17^49
;;^UTILITY(U,$J,358.4,612,0)
;;=SUICIDE IDEATIONS/ATTEMPTS^20^49
;;^UTILITY(U,$J,358.4,613,0)
;;=OSTOMY STATUS^13^49
;;^UTILITY(U,$J,358.4,614,0)
;;=SCREENING^18^49
;;^UTILITY(U,$J,358.4,615,0)
;;=ESTABLISHED PATIENT^1^50
;;^UTILITY(U,$J,358.4,616,0)
;;=NEW PATIENT^2^50
;;^UTILITY(U,$J,358.4,617,0)
;;=CONSULTATION^3^50
;;^UTILITY(U,$J,358.4,618,0)
;;=DIABETES TYPE 2/TYPE 1^16^51
;;^UTILITY(U,$J,358.4,619,0)
;;=GLAUCOMA-LTG/PIGMENT/PSEUDOEX^20^51
;;^UTILITY(U,$J,358.4,620,0)
;;=LENS/CATARACT^7^51
;;^UTILITY(U,$J,358.4,621,0)
;;=LIDS/LASHES/DRY EYE^4^51
;;^UTILITY(U,$J,358.4,622,0)
;;=MACULA^8^51
;;^UTILITY(U,$J,358.4,623,0)
;;=RETINA-VASCULAR^10^51
;;^UTILITY(U,$J,358.4,624,0)
;;=REFRACTIVE/VF/OTHER^3^51
;;^UTILITY(U,$J,358.4,625,0)
;;=CATEGORIES OF VISION LOSS^2^51
;;^UTILITY(U,$J,358.4,626,0)
;;=GLOBE/ORBIT/PAIN^13^51
;;^UTILITY(U,$J,358.4,627,0)
;;=MOST FREQUENT^1^51
;;^UTILITY(U,$J,358.4,628,0)
;;=CONJUNCTIVA/SCLERA^5^51
;;^UTILITY(U,$J,358.4,629,0)
;;=CORNEA/PUPILS/IRIS^6^51
;;^UTILITY(U,$J,358.4,630,0)
;;=GLAUCOMA-OPEN ANGLE^19^51
;;^UTILITY(U,$J,358.4,631,0)
;;=GLAUCOMA-SUSPECT/OHTN^18^51
;;^UTILITY(U,$J,358.4,632,0)
;;=GLAUCOMA-OTHER^21^51
;;^UTILITY(U,$J,358.4,633,0)
;;=MACULA-AMD^9^51
;;^UTILITY(U,$J,358.4,634,0)
;;=CHOROID/RETINA/RD^11^51
;;^UTILITY(U,$J,358.4,635,0)
;;=VITREOUS^12^51
;;^UTILITY(U,$J,358.4,636,0)
;;=OPTIC NERVE/VISUAL PATHWAY^14^51
;;^UTILITY(U,$J,358.4,637,0)
;;=NEURO/STRABISMUS/EYE MOVEMENT^15^51
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1M6 3811 printed Dec 13, 2024@02:11:25 Page 2
IBDEI1M6 ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,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.4,577,0)
+2 ;;=DIALYSIS^7^46
+3 ;;^UTILITY(U,$J,358.4,578,0)
+4 ;;=SUICIDE IDEATIONS/ATTEMPTS^25^46
+5 ;;^UTILITY(U,$J,358.4,579,0)
+6 ;;=ESTABLISHED PATIENT^2^47
+7 ;;^UTILITY(U,$J,358.4,580,0)
+8 ;;=INJECTIONS/MEDICATION^13^48
+9 ;;^UTILITY(U,$J,358.4,581,0)
+10 ;;=OTHER^14^48
+11 ;;^UTILITY(U,$J,358.4,582,0)
+12 ;;=ALLERGY INJECTION^1^48
+13 ;;^UTILITY(U,$J,358.4,583,0)
+14 ;;=INJECTION ADMINISTRATION^12^48
+15 ;;^UTILITY(U,$J,358.4,584,0)
+16 ;;=IMMUNIZATION ADMINISTRATION ^8^48
+17 ;;^UTILITY(U,$J,358.4,585,0)
+18 ;;=CATHETER^3^48
+19 ;;^UTILITY(U,$J,358.4,586,0)
+20 ;;=CATH FLUSHES^4^48
+21 ;;^UTILITY(U,$J,358.4,587,0)
+22 ;;=PFT^15^48
+23 ;;^UTILITY(U,$J,358.4,588,0)
+24 ;;=EKG/HOLTER MONITOR^7^48
+25 ;;^UTILITY(U,$J,358.4,589,0)
+26 ;;=IMMUNIZATIONS^9^48
+27 ;;^UTILITY(U,$J,358.4,590,0)
+28 ;;=INFUSIONS^11^48
+29 ;;^UTILITY(U,$J,358.4,591,0)
+30 ;;=PICC^16^48
+31 ;;^UTILITY(U,$J,358.4,592,0)
+32 ;;=CHEMO AND OTH COMPLEX DRUGS^5^48
+33 ;;^UTILITY(U,$J,358.4,593,0)
+34 ;;=BLOOD TRANSFUSIONS^2^48
+35 ;;^UTILITY(U,$J,358.4,594,0)
+36 ;;=EDUCATION^6^48
+37 ;;^UTILITY(U,$J,358.4,595,0)
+38 ;;=PRESSURE ULCER^14^49
+39 ;;^UTILITY(U,$J,358.4,596,0)
+40 ;;=SKIN^19^49
+41 ;;^UTILITY(U,$J,358.4,597,0)
+42 ;;=SIGNS AND SYMPTOMS^1^49
+43 ;;^UTILITY(U,$J,358.4,598,0)
+44 ;;=CARDIO/VASCULAR^2^49
+45 ;;^UTILITY(U,$J,358.4,599,0)
+46 ;;=COUNSELING^3^49
+47 ;;^UTILITY(U,$J,358.4,600,0)
+48 ;;=ENDOCRINE,METABOLIC,NUTRITION^4^49
+49 ;;^UTILITY(U,$J,358.4,601,0)
+50 ;;=ENT^5^49
+51 ;;^UTILITY(U,$J,358.4,602,0)
+52 ;;=GASTROINTESTINAL^6^49
+53 ;;^UTILITY(U,$J,358.4,603,0)
+54 ;;=GENITOURINARY & RENAL^7^49
+55 ;;^UTILITY(U,$J,358.4,604,0)
+56 ;;=HEPATITIS^8^49
+57 ;;^UTILITY(U,$J,358.4,605,0)
+58 ;;=IMMUNIZATIONS^9^49
+59 ;;^UTILITY(U,$J,358.4,606,0)
+60 ;;=MUSCULOSKELETAL^10^49
+61 ;;^UTILITY(U,$J,358.4,607,0)
+62 ;;=NEUROLOGY^11^49
+63 ;;^UTILITY(U,$J,358.4,608,0)
+64 ;;=NURSING MISCELLANEOUS^12^49
+65 ;;^UTILITY(U,$J,358.4,609,0)
+66 ;;=PREVENTIVE MEDICINE^15^49
+67 ;;^UTILITY(U,$J,358.4,610,0)
+68 ;;=PULMONARY/RESPIRATORY^16^49
+69 ;;^UTILITY(U,$J,358.4,611,0)
+70 ;;=PSYCHIATRIC^17^49
+71 ;;^UTILITY(U,$J,358.4,612,0)
+72 ;;=SUICIDE IDEATIONS/ATTEMPTS^20^49
+73 ;;^UTILITY(U,$J,358.4,613,0)
+74 ;;=OSTOMY STATUS^13^49
+75 ;;^UTILITY(U,$J,358.4,614,0)
+76 ;;=SCREENING^18^49
+77 ;;^UTILITY(U,$J,358.4,615,0)
+78 ;;=ESTABLISHED PATIENT^1^50
+79 ;;^UTILITY(U,$J,358.4,616,0)
+80 ;;=NEW PATIENT^2^50
+81 ;;^UTILITY(U,$J,358.4,617,0)
+82 ;;=CONSULTATION^3^50
+83 ;;^UTILITY(U,$J,358.4,618,0)
+84 ;;=DIABETES TYPE 2/TYPE 1^16^51
+85 ;;^UTILITY(U,$J,358.4,619,0)
+86 ;;=GLAUCOMA-LTG/PIGMENT/PSEUDOEX^20^51
+87 ;;^UTILITY(U,$J,358.4,620,0)
+88 ;;=LENS/CATARACT^7^51
+89 ;;^UTILITY(U,$J,358.4,621,0)
+90 ;;=LIDS/LASHES/DRY EYE^4^51
+91 ;;^UTILITY(U,$J,358.4,622,0)
+92 ;;=MACULA^8^51
+93 ;;^UTILITY(U,$J,358.4,623,0)
+94 ;;=RETINA-VASCULAR^10^51
+95 ;;^UTILITY(U,$J,358.4,624,0)
+96 ;;=REFRACTIVE/VF/OTHER^3^51
+97 ;;^UTILITY(U,$J,358.4,625,0)
+98 ;;=CATEGORIES OF VISION LOSS^2^51
+99 ;;^UTILITY(U,$J,358.4,626,0)
+100 ;;=GLOBE/ORBIT/PAIN^13^51
+101 ;;^UTILITY(U,$J,358.4,627,0)
+102 ;;=MOST FREQUENT^1^51
+103 ;;^UTILITY(U,$J,358.4,628,0)
+104 ;;=CONJUNCTIVA/SCLERA^5^51
+105 ;;^UTILITY(U,$J,358.4,629,0)
+106 ;;=CORNEA/PUPILS/IRIS^6^51
+107 ;;^UTILITY(U,$J,358.4,630,0)
+108 ;;=GLAUCOMA-OPEN ANGLE^19^51
+109 ;;^UTILITY(U,$J,358.4,631,0)
+110 ;;=GLAUCOMA-SUSPECT/OHTN^18^51
+111 ;;^UTILITY(U,$J,358.4,632,0)
+112 ;;=GLAUCOMA-OTHER^21^51
+113 ;;^UTILITY(U,$J,358.4,633,0)
+114 ;;=MACULA-AMD^9^51
+115 ;;^UTILITY(U,$J,358.4,634,0)
+116 ;;=CHOROID/RETINA/RD^11^51
+117 ;;^UTILITY(U,$J,358.4,635,0)
+118 ;;=VITREOUS^12^51
+119 ;;^UTILITY(U,$J,358.4,636,0)
+120 ;;=OPTIC NERVE/VISUAL PATHWAY^14^51
+121 ;;^UTILITY(U,$J,358.4,637,0)
+122 ;;=NEURO/STRABISMUS/EYE MOVEMENT^15^51