IBDEI3JR ; ; 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,380,0)
;;=Age^452^5
;;^UTILITY(U,$J,358.5,380,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,380,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,380,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,381,0)
;;=Patient name^456^3
;;^UTILITY(U,$J,358.5,381,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,381,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,382,0)
;;=SSN^456^4
;;^UTILITY(U,$J,358.5,382,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,382,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,383,0)
;;=Age^456^5
;;^UTILITY(U,$J,358.5,383,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,383,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,383,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,384,0)
;;=HEADER^457
;;^UTILITY(U,$J,358.5,384,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,384,2,1,0)
;;=NATIONAL WOMEN'S HEALTH^^^0^0
;;^UTILITY(U,$J,358.5,385,0)
;;=HEADER^460
;;^UTILITY(U,$J,358.5,385,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,385,2,1,0)
;;=NATIONAL WOUND OSTOMY^^^0^0
;;^UTILITY(U,$J,358.5,386,0)
;;=Patient name^461^3
;;^UTILITY(U,$J,358.5,386,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,386,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,387,0)
;;=SSN^461^4
;;^UTILITY(U,$J,358.5,387,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,387,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,388,0)
;;=Age^461^5
;;^UTILITY(U,$J,358.5,388,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,388,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,388,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,389,0)
;;=Patient name^465^3
;;^UTILITY(U,$J,358.5,389,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,389,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,390,0)
;;=SSN^465^4
;;^UTILITY(U,$J,358.5,390,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,390,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,391,0)
;;=Age^465^5
;;^UTILITY(U,$J,358.5,391,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,391,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,391,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,392,0)
;;=HEADER^466
;;^UTILITY(U,$J,358.5,392,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,392,2,1,0)
;;=NATIONAL TELERETINAL^^B^0^0
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JR 2600 printed Dec 13, 2024@02:50:08 Page 2
IBDEI3JR ; ; 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,380,0)
+2 ;;=Age^452^5
+3 ;;^UTILITY(U,$J,358.5,380,2,0)
+4 ;;=^358.52^2^2
+5 ;;^UTILITY(U,$J,358.5,380,2,1,0)
+6 ;;=DOB:^^^60^1^1^65^12^1
+7 ;;^UTILITY(U,$J,358.5,380,2,2,0)
+8 ;;=Age:^^^78^1^1^83^3^2
+9 ;;^UTILITY(U,$J,358.5,381,0)
+10 ;;=Patient name^456^3
+11 ;;^UTILITY(U,$J,358.5,381,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,381,2,1,0)
+14 ;;=Name:^^^1^1^1^7^30^1
+15 ;;^UTILITY(U,$J,358.5,382,0)
+16 ;;=SSN^456^4
+17 ;;^UTILITY(U,$J,358.5,382,2,0)
+18 ;;=^358.52^1^1
+19 ;;^UTILITY(U,$J,358.5,382,2,1,0)
+20 ;;=SSN:^^^39^1^1^44^15^1
+21 ;;^UTILITY(U,$J,358.5,383,0)
+22 ;;=Age^456^5
+23 ;;^UTILITY(U,$J,358.5,383,2,0)
+24 ;;=^358.52^2^2
+25 ;;^UTILITY(U,$J,358.5,383,2,1,0)
+26 ;;=DOB:^^^60^1^1^65^12^1
+27 ;;^UTILITY(U,$J,358.5,383,2,2,0)
+28 ;;=Age:^^^78^1^1^83^3^2
+29 ;;^UTILITY(U,$J,358.5,384,0)
+30 ;;=HEADER^457
+31 ;;^UTILITY(U,$J,358.5,384,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,384,2,1,0)
+34 ;;=NATIONAL WOMEN'S HEALTH^^^0^0
+35 ;;^UTILITY(U,$J,358.5,385,0)
+36 ;;=HEADER^460
+37 ;;^UTILITY(U,$J,358.5,385,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,385,2,1,0)
+40 ;;=NATIONAL WOUND OSTOMY^^^0^0
+41 ;;^UTILITY(U,$J,358.5,386,0)
+42 ;;=Patient name^461^3
+43 ;;^UTILITY(U,$J,358.5,386,2,0)
+44 ;;=^358.52^1^1
+45 ;;^UTILITY(U,$J,358.5,386,2,1,0)
+46 ;;=Name:^^^1^1^1^7^30^1
+47 ;;^UTILITY(U,$J,358.5,387,0)
+48 ;;=SSN^461^4
+49 ;;^UTILITY(U,$J,358.5,387,2,0)
+50 ;;=^358.52^1^1
+51 ;;^UTILITY(U,$J,358.5,387,2,1,0)
+52 ;;=SSN:^^^39^1^1^44^15^1
+53 ;;^UTILITY(U,$J,358.5,388,0)
+54 ;;=Age^461^5
+55 ;;^UTILITY(U,$J,358.5,388,2,0)
+56 ;;=^358.52^2^2
+57 ;;^UTILITY(U,$J,358.5,388,2,1,0)
+58 ;;=DOB:^^^60^1^1^65^12^1
+59 ;;^UTILITY(U,$J,358.5,388,2,2,0)
+60 ;;=Age:^^^78^1^1^83^3^2
+61 ;;^UTILITY(U,$J,358.5,389,0)
+62 ;;=Patient name^465^3
+63 ;;^UTILITY(U,$J,358.5,389,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,389,2,1,0)
+66 ;;=Name:^^^1^1^1^7^30^1
+67 ;;^UTILITY(U,$J,358.5,390,0)
+68 ;;=SSN^465^4
+69 ;;^UTILITY(U,$J,358.5,390,2,0)
+70 ;;=^358.52^1^1
+71 ;;^UTILITY(U,$J,358.5,390,2,1,0)
+72 ;;=SSN:^^^39^1^1^44^15^1
+73 ;;^UTILITY(U,$J,358.5,391,0)
+74 ;;=Age^465^5
+75 ;;^UTILITY(U,$J,358.5,391,2,0)
+76 ;;=^358.52^2^2
+77 ;;^UTILITY(U,$J,358.5,391,2,1,0)
+78 ;;=DOB:^^^60^1^1^65^12^1
+79 ;;^UTILITY(U,$J,358.5,391,2,2,0)
+80 ;;=Age:^^^78^1^1^83^3^2
+81 ;;^UTILITY(U,$J,358.5,392,0)
+82 ;;=HEADER^466
+83 ;;^UTILITY(U,$J,358.5,392,2,0)
+84 ;;=^358.52^1^1
+85 ;;^UTILITY(U,$J,358.5,392,2,1,0)
+86 ;;=NATIONAL TELERETINAL^^B^0^0