IBDEI3JA ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
Q:'DIFQR(358.5) 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.5,22,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,22,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,23,0)
;;=SSN^26^4
;;^UTILITY(U,$J,358.5,23,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,23,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,24,0)
;;=Age^26^5
;;^UTILITY(U,$J,358.5,24,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,24,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,24,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,25,0)
;;=HEADER^30
;;^UTILITY(U,$J,358.5,25,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,25,2,1,0)
;;=NATIONAL CARDIOLOGY^^^0^0
;;^UTILITY(U,$J,358.5,26,0)
;;=Patient name^31^3
;;^UTILITY(U,$J,358.5,26,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,26,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,27,0)
;;=SSN^31^4
;;^UTILITY(U,$J,358.5,27,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,27,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,28,0)
;;=Age^31^5
;;^UTILITY(U,$J,358.5,28,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,28,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,28,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,29,0)
;;=HEADER^34
;;^UTILITY(U,$J,358.5,29,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,29,2,1,0)
;;=NATIONAL CAREGIVER ASSESSMENT^^^0^0
;;^UTILITY(U,$J,358.5,30,0)
;;=Patient name^35^3
;;^UTILITY(U,$J,358.5,30,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,30,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,31,0)
;;=SSN^35^4
;;^UTILITY(U,$J,358.5,31,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,31,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,32,0)
;;=Age^35^5
;;^UTILITY(U,$J,358.5,32,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,32,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,32,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,33,0)
;;=HEADER^40
;;^UTILITY(U,$J,358.5,33,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,33,2,1,0)
;;=NATIONAL CHIROPRACTIC^^^0^0
;;^UTILITY(U,$J,358.5,34,0)
;;=Patient name^41^3
;;^UTILITY(U,$J,358.5,34,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,34,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,35,0)
;;=SSN^41^4
;;^UTILITY(U,$J,358.5,35,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,35,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,36,0)
;;=Age^41^5
;;^UTILITY(U,$J,358.5,36,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,36,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,36,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,37,0)
;;=HEADER^44
;;^UTILITY(U,$J,358.5,37,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,37,2,1,0)
;;=NATIONAL CLC^^^0^0
;;^UTILITY(U,$J,358.5,38,0)
;;=Patient name^46^3
;;^UTILITY(U,$J,358.5,38,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,38,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,39,0)
;;=SSN^46^4
;;^UTILITY(U,$J,358.5,39,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,39,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,40,0)
;;=Age^46^5
;;^UTILITY(U,$J,358.5,40,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,40,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,40,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,41,0)
;;=HEADER^49
;;^UTILITY(U,$J,358.5,41,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,41,2,1,0)
;;=NATIONAL CLINICAL PHARMACIST^^^0^0
;;^UTILITY(U,$J,358.5,42,0)
;;=Patient name^50^3
;;^UTILITY(U,$J,358.5,42,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,42,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,43,0)
;;=SSN^50^4
;;^UTILITY(U,$J,358.5,43,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,43,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JA 3977 printed Nov 22, 2024@18:00:02 Page 2
IBDEI3JA ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+2 if 'DIFQR(358.5)
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.5,22,2,0)
+2 ;;=^358.52^1^1
+3 ;;^UTILITY(U,$J,358.5,22,2,1,0)
+4 ;;=Name:^^^1^1^1^7^30^1
+5 ;;^UTILITY(U,$J,358.5,23,0)
+6 ;;=SSN^26^4
+7 ;;^UTILITY(U,$J,358.5,23,2,0)
+8 ;;=^358.52^1^1
+9 ;;^UTILITY(U,$J,358.5,23,2,1,0)
+10 ;;=SSN:^^^39^1^1^44^15^1
+11 ;;^UTILITY(U,$J,358.5,24,0)
+12 ;;=Age^26^5
+13 ;;^UTILITY(U,$J,358.5,24,2,0)
+14 ;;=^358.52^2^2
+15 ;;^UTILITY(U,$J,358.5,24,2,1,0)
+16 ;;=DOB:^^^60^1^1^65^12^1
+17 ;;^UTILITY(U,$J,358.5,24,2,2,0)
+18 ;;=Age:^^^78^1^1^83^3^2
+19 ;;^UTILITY(U,$J,358.5,25,0)
+20 ;;=HEADER^30
+21 ;;^UTILITY(U,$J,358.5,25,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,25,2,1,0)
+24 ;;=NATIONAL CARDIOLOGY^^^0^0
+25 ;;^UTILITY(U,$J,358.5,26,0)
+26 ;;=Patient name^31^3
+27 ;;^UTILITY(U,$J,358.5,26,2,0)
+28 ;;=^358.52^1^1
+29 ;;^UTILITY(U,$J,358.5,26,2,1,0)
+30 ;;=Name:^^^1^1^1^7^30^1
+31 ;;^UTILITY(U,$J,358.5,27,0)
+32 ;;=SSN^31^4
+33 ;;^UTILITY(U,$J,358.5,27,2,0)
+34 ;;=^358.52^1^1
+35 ;;^UTILITY(U,$J,358.5,27,2,1,0)
+36 ;;=SSN:^^^39^1^1^44^15^1
+37 ;;^UTILITY(U,$J,358.5,28,0)
+38 ;;=Age^31^5
+39 ;;^UTILITY(U,$J,358.5,28,2,0)
+40 ;;=^358.52^2^2
+41 ;;^UTILITY(U,$J,358.5,28,2,1,0)
+42 ;;=DOB:^^^60^1^1^65^12^1
+43 ;;^UTILITY(U,$J,358.5,28,2,2,0)
+44 ;;=Age:^^^78^1^1^83^3^2
+45 ;;^UTILITY(U,$J,358.5,29,0)
+46 ;;=HEADER^34
+47 ;;^UTILITY(U,$J,358.5,29,2,0)
+48 ;;=^358.52^1^1
+49 ;;^UTILITY(U,$J,358.5,29,2,1,0)
+50 ;;=NATIONAL CAREGIVER ASSESSMENT^^^0^0
+51 ;;^UTILITY(U,$J,358.5,30,0)
+52 ;;=Patient name^35^3
+53 ;;^UTILITY(U,$J,358.5,30,2,0)
+54 ;;=^358.52^1^1
+55 ;;^UTILITY(U,$J,358.5,30,2,1,0)
+56 ;;=Name:^^^1^1^1^7^30^1
+57 ;;^UTILITY(U,$J,358.5,31,0)
+58 ;;=SSN^35^4
+59 ;;^UTILITY(U,$J,358.5,31,2,0)
+60 ;;=^358.52^1^1
+61 ;;^UTILITY(U,$J,358.5,31,2,1,0)
+62 ;;=SSN:^^^39^1^1^44^15^1
+63 ;;^UTILITY(U,$J,358.5,32,0)
+64 ;;=Age^35^5
+65 ;;^UTILITY(U,$J,358.5,32,2,0)
+66 ;;=^358.52^2^2
+67 ;;^UTILITY(U,$J,358.5,32,2,1,0)
+68 ;;=DOB:^^^60^1^1^65^12^1
+69 ;;^UTILITY(U,$J,358.5,32,2,2,0)
+70 ;;=Age:^^^78^1^1^83^3^2
+71 ;;^UTILITY(U,$J,358.5,33,0)
+72 ;;=HEADER^40
+73 ;;^UTILITY(U,$J,358.5,33,2,0)
+74 ;;=^358.52^1^1
+75 ;;^UTILITY(U,$J,358.5,33,2,1,0)
+76 ;;=NATIONAL CHIROPRACTIC^^^0^0
+77 ;;^UTILITY(U,$J,358.5,34,0)
+78 ;;=Patient name^41^3
+79 ;;^UTILITY(U,$J,358.5,34,2,0)
+80 ;;=^358.52^1^1
+81 ;;^UTILITY(U,$J,358.5,34,2,1,0)
+82 ;;=Name:^^^1^1^1^7^30^1
+83 ;;^UTILITY(U,$J,358.5,35,0)
+84 ;;=SSN^41^4
+85 ;;^UTILITY(U,$J,358.5,35,2,0)
+86 ;;=^358.52^1^1
+87 ;;^UTILITY(U,$J,358.5,35,2,1,0)
+88 ;;=SSN:^^^39^1^1^44^15^1
+89 ;;^UTILITY(U,$J,358.5,36,0)
+90 ;;=Age^41^5
+91 ;;^UTILITY(U,$J,358.5,36,2,0)
+92 ;;=^358.52^2^2
+93 ;;^UTILITY(U,$J,358.5,36,2,1,0)
+94 ;;=DOB:^^^60^1^1^65^12^1
+95 ;;^UTILITY(U,$J,358.5,36,2,2,0)
+96 ;;=Age:^^^78^1^1^83^3^2
+97 ;;^UTILITY(U,$J,358.5,37,0)
+98 ;;=HEADER^44
+99 ;;^UTILITY(U,$J,358.5,37,2,0)
+100 ;;=^358.52^1^1
+101 ;;^UTILITY(U,$J,358.5,37,2,1,0)
+102 ;;=NATIONAL CLC^^^0^0
+103 ;;^UTILITY(U,$J,358.5,38,0)
+104 ;;=Patient name^46^3
+105 ;;^UTILITY(U,$J,358.5,38,2,0)
+106 ;;=^358.52^1^1
+107 ;;^UTILITY(U,$J,358.5,38,2,1,0)
+108 ;;=Name:^^^1^1^1^7^30^1
+109 ;;^UTILITY(U,$J,358.5,39,0)
+110 ;;=SSN^46^4
+111 ;;^UTILITY(U,$J,358.5,39,2,0)
+112 ;;=^358.52^1^1
+113 ;;^UTILITY(U,$J,358.5,39,2,1,0)
+114 ;;=SSN:^^^39^1^1^44^15^1
+115 ;;^UTILITY(U,$J,358.5,40,0)
+116 ;;=Age^46^5
+117 ;;^UTILITY(U,$J,358.5,40,2,0)
+118 ;;=^358.52^2^2
+119 ;;^UTILITY(U,$J,358.5,40,2,1,0)
+120 ;;=DOB:^^^60^1^1^65^12^1
+121 ;;^UTILITY(U,$J,358.5,40,2,2,0)
+122 ;;=Age:^^^78^1^1^83^3^2
+123 ;;^UTILITY(U,$J,358.5,41,0)
+124 ;;=HEADER^49
+125 ;;^UTILITY(U,$J,358.5,41,2,0)
+126 ;;=^358.52^1^1
+127 ;;^UTILITY(U,$J,358.5,41,2,1,0)
+128 ;;=NATIONAL CLINICAL PHARMACIST^^^0^0
+129 ;;^UTILITY(U,$J,358.5,42,0)
+130 ;;=Patient name^50^3
+131 ;;^UTILITY(U,$J,358.5,42,2,0)
+132 ;;=^358.52^1^1
+133 ;;^UTILITY(U,$J,358.5,42,2,1,0)
+134 ;;=Name:^^^1^1^1^7^30^1
+135 ;;^UTILITY(U,$J,358.5,43,0)
+136 ;;=SSN^50^4
+137 ;;^UTILITY(U,$J,358.5,43,2,0)
+138 ;;=^358.52^1^1
+139 ;;^UTILITY(U,$J,358.5,43,2,1,0)
+140 ;;=SSN:^^^39^1^1^44^15^1