IBDEI3DC ; ; 05-NOV-2019
;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.5,259,0)
;;=Age^304^3
;;^UTILITY(U,$J,358.5,259,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,259,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,259,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,260,0)
;;=HEADER^306
;;^UTILITY(U,$J,358.5,260,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,260,2,1,0)
;;=NATIONAL OUTPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
;;^UTILITY(U,$J,358.5,261,0)
;;=HEADER^308
;;^UTILITY(U,$J,358.5,261,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,261,2,1,0)
;;=NATIONAL GATEWAY TO HEALTHY LIVING^^^0^0
;;^UTILITY(U,$J,358.5,262,0)
;;=Patient name^309^1
;;^UTILITY(U,$J,358.5,262,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,262,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,263,0)
;;=SSN^309^2
;;^UTILITY(U,$J,358.5,263,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,263,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,264,0)
;;=Age^309^3
;;^UTILITY(U,$J,358.5,264,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,264,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,264,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,265,0)
;;=HEADER^312
;;^UTILITY(U,$J,358.5,265,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,265,2,1,0)
;;=NATIONAL TELESTROKE^^^0^0
;;^UTILITY(U,$J,358.5,266,0)
;;=Patient name^313^1
;;^UTILITY(U,$J,358.5,266,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,266,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,267,0)
;;=SSN^313^2
;;^UTILITY(U,$J,358.5,267,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,267,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,268,0)
;;=Age^313^3
;;^UTILITY(U,$J,358.5,268,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,268,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,268,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,269,0)
;;=HEADER^316
;;^UTILITY(U,$J,358.5,269,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,269,2,1,0)
;;=NATIONAL TRAVELING VETERAN COORDINATION^^^0^0
;;^UTILITY(U,$J,358.5,270,0)
;;=Patient name^317^1
;;^UTILITY(U,$J,358.5,270,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,270,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,271,0)
;;=SSN^317^2
;;^UTILITY(U,$J,358.5,271,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,271,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,272,0)
;;=Age^317^3
;;^UTILITY(U,$J,358.5,272,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,272,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,272,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,273,0)
;;=HEADER^319
;;^UTILITY(U,$J,358.5,273,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,273,2,1,0)
;;=WHOLE HEALTH SUPPLEMENTAL FORM^^^0^0
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3DC 2989 printed Nov 22, 2024@17:56:42 Page 2
IBDEI3DC ; ; 05-NOV-2019
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
+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,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.5,259,0)
+2 ;;=Age^304^3
+3 ;;^UTILITY(U,$J,358.5,259,2,0)
+4 ;;=^358.52^2^2
+5 ;;^UTILITY(U,$J,358.5,259,2,1,0)
+6 ;;=DOB:^^^60^1^1^65^12^1
+7 ;;^UTILITY(U,$J,358.5,259,2,2,0)
+8 ;;=Age:^^^78^1^1^83^3^2
+9 ;;^UTILITY(U,$J,358.5,260,0)
+10 ;;=HEADER^306
+11 ;;^UTILITY(U,$J,358.5,260,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,260,2,1,0)
+14 ;;=NATIONAL OUTPATIENT HOSPICE/PALLIATIVE CARE^^^0^0
+15 ;;^UTILITY(U,$J,358.5,261,0)
+16 ;;=HEADER^308
+17 ;;^UTILITY(U,$J,358.5,261,2,0)
+18 ;;=^358.52^1^1
+19 ;;^UTILITY(U,$J,358.5,261,2,1,0)
+20 ;;=NATIONAL GATEWAY TO HEALTHY LIVING^^^0^0
+21 ;;^UTILITY(U,$J,358.5,262,0)
+22 ;;=Patient name^309^1
+23 ;;^UTILITY(U,$J,358.5,262,2,0)
+24 ;;=^358.52^1^1
+25 ;;^UTILITY(U,$J,358.5,262,2,1,0)
+26 ;;=Name:^^^1^1^1^7^30^1
+27 ;;^UTILITY(U,$J,358.5,263,0)
+28 ;;=SSN^309^2
+29 ;;^UTILITY(U,$J,358.5,263,2,0)
+30 ;;=^358.52^1^1
+31 ;;^UTILITY(U,$J,358.5,263,2,1,0)
+32 ;;=SSN:^^^39^1^1^44^15^1
+33 ;;^UTILITY(U,$J,358.5,264,0)
+34 ;;=Age^309^3
+35 ;;^UTILITY(U,$J,358.5,264,2,0)
+36 ;;=^358.52^2^2
+37 ;;^UTILITY(U,$J,358.5,264,2,1,0)
+38 ;;=DOB:^^^60^1^1^65^12^1
+39 ;;^UTILITY(U,$J,358.5,264,2,2,0)
+40 ;;=Age:^^^78^1^1^83^3^2
+41 ;;^UTILITY(U,$J,358.5,265,0)
+42 ;;=HEADER^312
+43 ;;^UTILITY(U,$J,358.5,265,2,0)
+44 ;;=^358.52^1^1
+45 ;;^UTILITY(U,$J,358.5,265,2,1,0)
+46 ;;=NATIONAL TELESTROKE^^^0^0
+47 ;;^UTILITY(U,$J,358.5,266,0)
+48 ;;=Patient name^313^1
+49 ;;^UTILITY(U,$J,358.5,266,2,0)
+50 ;;=^358.52^1^1
+51 ;;^UTILITY(U,$J,358.5,266,2,1,0)
+52 ;;=Name:^^^1^1^1^7^30^1
+53 ;;^UTILITY(U,$J,358.5,267,0)
+54 ;;=SSN^313^2
+55 ;;^UTILITY(U,$J,358.5,267,2,0)
+56 ;;=^358.52^1^1
+57 ;;^UTILITY(U,$J,358.5,267,2,1,0)
+58 ;;=SSN:^^^39^1^1^44^15^1
+59 ;;^UTILITY(U,$J,358.5,268,0)
+60 ;;=Age^313^3
+61 ;;^UTILITY(U,$J,358.5,268,2,0)
+62 ;;=^358.52^2^2
+63 ;;^UTILITY(U,$J,358.5,268,2,1,0)
+64 ;;=DOB:^^^60^1^1^65^12^1
+65 ;;^UTILITY(U,$J,358.5,268,2,2,0)
+66 ;;=Age:^^^78^1^1^83^3^2
+67 ;;^UTILITY(U,$J,358.5,269,0)
+68 ;;=HEADER^316
+69 ;;^UTILITY(U,$J,358.5,269,2,0)
+70 ;;=^358.52^1^1
+71 ;;^UTILITY(U,$J,358.5,269,2,1,0)
+72 ;;=NATIONAL TRAVELING VETERAN COORDINATION^^^0^0
+73 ;;^UTILITY(U,$J,358.5,270,0)
+74 ;;=Patient name^317^1
+75 ;;^UTILITY(U,$J,358.5,270,2,0)
+76 ;;=^358.52^1^1
+77 ;;^UTILITY(U,$J,358.5,270,2,1,0)
+78 ;;=Name:^^^1^1^1^7^30^1
+79 ;;^UTILITY(U,$J,358.5,271,0)
+80 ;;=SSN^317^2
+81 ;;^UTILITY(U,$J,358.5,271,2,0)
+82 ;;=^358.52^1^1
+83 ;;^UTILITY(U,$J,358.5,271,2,1,0)
+84 ;;=SSN:^^^39^1^1^44^15^1
+85 ;;^UTILITY(U,$J,358.5,272,0)
+86 ;;=Age^317^3
+87 ;;^UTILITY(U,$J,358.5,272,2,0)
+88 ;;=^358.52^2^2
+89 ;;^UTILITY(U,$J,358.5,272,2,1,0)
+90 ;;=DOB:^^^60^1^1^65^12^1
+91 ;;^UTILITY(U,$J,358.5,272,2,2,0)
+92 ;;=Age:^^^78^1^1^83^3^2
+93 ;;^UTILITY(U,$J,358.5,273,0)
+94 ;;=HEADER^319
+95 ;;^UTILITY(U,$J,358.5,273,2,0)
+96 ;;=^358.52^1^1
+97 ;;^UTILITY(U,$J,358.5,273,2,1,0)
+98 ;;=WHOLE HEALTH SUPPLEMENTAL FORM^^^0^0