IBDEI1MO ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,121,2,1,0)
;;=NATIONAL COVID-19 SUPPLEMENTAL FORM^^B^0^0
;;^UTILITY(U,$J,358.5,122,0)
;;=Patient name^148^3
;;^UTILITY(U,$J,358.5,122,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,122,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,123,0)
;;=SSN^148^4
;;^UTILITY(U,$J,358.5,123,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,123,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,124,0)
;;=Age^148^5
;;^UTILITY(U,$J,358.5,124,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,124,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,124,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,125,0)
;;=HEADER^150
;;^UTILITY(U,$J,358.5,125,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,125,2,1,0)
;;=NATIONAL TELEPHONE COVID-19 SUPPLEMENTAL FORM^^^0^0
;;^UTILITY(U,$J,358.5,126,0)
;;=Patient name^151^3
;;^UTILITY(U,$J,358.5,126,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,126,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,127,0)
;;=SSN^151^4
;;^UTILITY(U,$J,358.5,127,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,127,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,128,0)
;;=Age^151^5
;;^UTILITY(U,$J,358.5,128,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,128,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,128,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,129,0)
;;=HEADER^154
;;^UTILITY(U,$J,358.5,129,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,129,2,1,0)
;;=NATIONAL MENTAL HEALTH - NURSE^^^0^0
;;^UTILITY(U,$J,358.5,130,0)
;;=Patient name^155^3
;;^UTILITY(U,$J,358.5,130,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,130,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,131,0)
;;=SSN^155^4
;;^UTILITY(U,$J,358.5,131,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,131,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,132,0)
;;=Age^155^5
;;^UTILITY(U,$J,358.5,132,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,132,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,132,2,2,0)
;;=Age:^^^78^1^1^83^3^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1MO 2331 printed Nov 22, 2024@17:21:52 Page 2
IBDEI1MO ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,121,2,1,0)
+2 ;;=NATIONAL COVID-19 SUPPLEMENTAL FORM^^B^0^0
+3 ;;^UTILITY(U,$J,358.5,122,0)
+4 ;;=Patient name^148^3
+5 ;;^UTILITY(U,$J,358.5,122,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,122,2,1,0)
+8 ;;=Name:^^^1^1^1^7^30^1
+9 ;;^UTILITY(U,$J,358.5,123,0)
+10 ;;=SSN^148^4
+11 ;;^UTILITY(U,$J,358.5,123,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,123,2,1,0)
+14 ;;=SSN:^^^39^1^1^44^15^1
+15 ;;^UTILITY(U,$J,358.5,124,0)
+16 ;;=Age^148^5
+17 ;;^UTILITY(U,$J,358.5,124,2,0)
+18 ;;=^358.52^2^2
+19 ;;^UTILITY(U,$J,358.5,124,2,1,0)
+20 ;;=DOB:^^^60^1^1^65^12^1
+21 ;;^UTILITY(U,$J,358.5,124,2,2,0)
+22 ;;=Age:^^^78^1^1^83^3^2
+23 ;;^UTILITY(U,$J,358.5,125,0)
+24 ;;=HEADER^150
+25 ;;^UTILITY(U,$J,358.5,125,2,0)
+26 ;;=^358.52^1^1
+27 ;;^UTILITY(U,$J,358.5,125,2,1,0)
+28 ;;=NATIONAL TELEPHONE COVID-19 SUPPLEMENTAL FORM^^^0^0
+29 ;;^UTILITY(U,$J,358.5,126,0)
+30 ;;=Patient name^151^3
+31 ;;^UTILITY(U,$J,358.5,126,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,126,2,1,0)
+34 ;;=Name:^^^1^1^1^7^30^1
+35 ;;^UTILITY(U,$J,358.5,127,0)
+36 ;;=SSN^151^4
+37 ;;^UTILITY(U,$J,358.5,127,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,127,2,1,0)
+40 ;;=SSN:^^^39^1^1^44^15^1
+41 ;;^UTILITY(U,$J,358.5,128,0)
+42 ;;=Age^151^5
+43 ;;^UTILITY(U,$J,358.5,128,2,0)
+44 ;;=^358.52^2^2
+45 ;;^UTILITY(U,$J,358.5,128,2,1,0)
+46 ;;=DOB:^^^60^1^1^65^12^1
+47 ;;^UTILITY(U,$J,358.5,128,2,2,0)
+48 ;;=Age:^^^78^1^1^83^3^2
+49 ;;^UTILITY(U,$J,358.5,129,0)
+50 ;;=HEADER^154
+51 ;;^UTILITY(U,$J,358.5,129,2,0)
+52 ;;=^358.52^1^1
+53 ;;^UTILITY(U,$J,358.5,129,2,1,0)
+54 ;;=NATIONAL MENTAL HEALTH - NURSE^^^0^0
+55 ;;^UTILITY(U,$J,358.5,130,0)
+56 ;;=Patient name^155^3
+57 ;;^UTILITY(U,$J,358.5,130,2,0)
+58 ;;=^358.52^1^1
+59 ;;^UTILITY(U,$J,358.5,130,2,1,0)
+60 ;;=Name:^^^1^1^1^7^30^1
+61 ;;^UTILITY(U,$J,358.5,131,0)
+62 ;;=SSN^155^4
+63 ;;^UTILITY(U,$J,358.5,131,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,131,2,1,0)
+66 ;;=SSN:^^^39^1^1^44^15^1
+67 ;;^UTILITY(U,$J,358.5,132,0)
+68 ;;=Age^155^5
+69 ;;^UTILITY(U,$J,358.5,132,2,0)
+70 ;;=^358.52^2^2
+71 ;;^UTILITY(U,$J,358.5,132,2,1,0)
+72 ;;=DOB:^^^60^1^1^65^12^1
+73 ;;^UTILITY(U,$J,358.5,132,2,2,0)
+74 ;;=Age:^^^78^1^1^83^3^2