FHINI0LS ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(117.3) 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
;;^DD(117.313,.01,"DT")
;;=2920915
;;^DD(117.325,0)
;;=SATELLITE LOC SUB-FIELD^^1^2
;;^DD(117.325,0,"DT")
;;=2920130
;;^DD(117.325,0,"IX","B",117.325,.01)
;;=
;;^DD(117.325,0,"NM","SATELLITE LOC")
;;=
;;^DD(117.325,0,"UP")
;;=117.3
;;^DD(117.325,.01,0)
;;=SATELLITE LOC^MF^^0;1^K:$L(X)>20!($L(X)<3) X
;;^DD(117.325,.01,1,0)
;;=^.1
;;^DD(117.325,.01,1,1,0)
;;=117.325^B
;;^DD(117.325,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"CLIN","B",$E(X,1,30),DA)=""
;;^DD(117.325,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"CLIN","B",$E(X,1,30),DA)
;;^DD(117.325,.01,3)
;;=Answer must be 3-20 characters in length.
;;^DD(117.325,.01,21,0)
;;=^^1^1^2920130^
;;^DD(117.325,.01,21,1,0)
;;=This field contains the Location of the Satellite Clinics.
;;^DD(117.325,.01,"DT")
;;=2920130
;;^DD(117.325,1,0)
;;=TOTAL # OF SAT OUTPAT VISITS^NJ9,0^^0;2^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
;;^DD(117.325,1,3)
;;=Type a Number between 0 and 999999999, 0 Decimal Digits
;;^DD(117.325,1,21,0)
;;=^^1^1^2930126^^^
;;^DD(117.325,1,21,1,0)
;;=This field contains the number of Outpatients that visited the Clinics.
;;^DD(117.325,1,"DT")
;;=2930126
;;^DD(117.332,0)
;;=TOTAL COST PER DIEM SUB-FIELD^^7^8
;;^DD(117.332,0,"DT")
;;=2920323
;;^DD(117.332,0,"IX","B",117.332,.01)
;;=
;;^DD(117.332,0,"NM","TOTAL COST PER DIEM")
;;=
;;^DD(117.332,0,"UP")
;;=117.3
;;^DD(117.332,.01,0)
;;=830 REPORT OF COSTS^NJ13,2^^0;1^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,.01,1,0)
;;=^.1
;;^DD(117.332,.01,1,1,0)
;;=117.332^B
;;^DD(117.332,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"COST","B",$E(X,1,30),DA)=""
;;^DD(117.332,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"COST","B",$E(X,1,30),DA)
;;^DD(117.332,.01,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,.01,21,0)
;;=^^1^1^2920820^^^^
;;^DD(117.332,.01,21,1,0)
;;=This field contains the cumulative fiscal year totals on the 830 Report.
;;^DD(117.332,.01,"DT")
;;=2920325
;;^DD(117.332,1,0)
;;=TOTAL PERSONAL SERVICE^NJ13,2^^0;2^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,1,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,1,21,0)
;;=^^1^1^2920212^^^
;;^DD(117.332,1,21,1,0)
;;=This field contains the Total Personal Service.
;;^DD(117.332,1,"DT")
;;=2920323
;;^DD(117.332,2,0)
;;=PERSONAL SERVICE-TECH 1019^NJ13,2^^0;3^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,2,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,2,21,0)
;;=^^1^1^2920212^^
;;^DD(117.332,2,21,1,0)
;;=This field contains the Technicians Cost of Personal Service.
;;^DD(117.332,2,"DT")
;;=2930128
;;^DD(117.332,3,0)
;;=PERSONAL SERVICE-DIETITNS 1018^NJ13,2^^0;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,3,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,3,21,0)
;;=^^1^1^2920212^^
;;^DD(117.332,3,21,1,0)
;;=This field contains the Dietitians Cost of Personal Service.
;;^DD(117.332,3,"DT")
;;=2930128
;;^DD(117.332,4,0)
;;=PERSONAL SERVICE-WAGEBRD 1008^NJ13,2^^0;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,4,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,4,21,0)
;;=^^1^1^2920212^^
;;^DD(117.332,4,21,1,0)
;;=This field contains the Wageboard Cost of Personal Service.
;;^DD(117.332,4,"DT")
;;=2930128
;;^DD(117.332,5,0)
;;=PERSONAL SERVICE-CLERICAL 1002^NJ13,2^^0;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,5,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,5,21,0)
;;=^^1^1^2920212^^
;;^DD(117.332,5,21,1,0)
;;=This field contains the Clerical Cost of Personal Service.
;;^DD(117.332,5,"DT")
;;=2930128
;;^DD(117.332,6,0)
;;=SUBSISTENCE 2610^NJ13,2^^0;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,6,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,6,21,0)
;;=^^1^1^2920212^^
;;^DD(117.332,6,21,1,0)
;;=This field contains the Subsistence Cost.
;;^DD(117.332,6,"DT")
;;=2930128
;;^DD(117.332,7,0)
;;=OPERATING SUPPLIES 2660^NJ13,2^^0;8^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
;;^DD(117.332,7,3)
;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
;;^DD(117.332,7,21,0)
;;=^^1^1^2920212^^^
;;^DD(117.332,7,21,1,0)
;;=This field contains the Operating Supplies Cost.
;;^DD(117.332,7,"DT")
;;=2930128
FHINI0LS ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(117.3)
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 ;;^DD(117.313,.01,"DT")
+2 ;;=2920915
+3 ;;^DD(117.325,0)
+4 ;;=SATELLITE LOC SUB-FIELD^^1^2
+5 ;;^DD(117.325,0,"DT")
+6 ;;=2920130
+7 ;;^DD(117.325,0,"IX","B",117.325,.01)
+8 ;;=
+9 ;;^DD(117.325,0,"NM","SATELLITE LOC")
+10 ;;=
+11 ;;^DD(117.325,0,"UP")
+12 ;;=117.3
+13 ;;^DD(117.325,.01,0)
+14 ;;=SATELLITE LOC^MF^^0;1^K:$L(X)>20!($L(X)<3) X
+15 ;;^DD(117.325,.01,1,0)
+16 ;;=^.1
+17 ;;^DD(117.325,.01,1,1,0)
+18 ;;=117.325^B
+19 ;;^DD(117.325,.01,1,1,1)
+20 ;;=S ^FH(117.3,DA(1),"CLIN","B",$E(X,1,30),DA)=""
+21 ;;^DD(117.325,.01,1,1,2)
+22 ;;=K ^FH(117.3,DA(1),"CLIN","B",$E(X,1,30),DA)
+23 ;;^DD(117.325,.01,3)
+24 ;;=Answer must be 3-20 characters in length.
+25 ;;^DD(117.325,.01,21,0)
+26 ;;=^^1^1^2920130^
+27 ;;^DD(117.325,.01,21,1,0)
+28 ;;=This field contains the Location of the Satellite Clinics.
+29 ;;^DD(117.325,.01,"DT")
+30 ;;=2920130
+31 ;;^DD(117.325,1,0)
+32 ;;=TOTAL # OF SAT OUTPAT VISITS^NJ9,0^^0;2^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
+33 ;;^DD(117.325,1,3)
+34 ;;=Type a Number between 0 and 999999999, 0 Decimal Digits
+35 ;;^DD(117.325,1,21,0)
+36 ;;=^^1^1^2930126^^^
+37 ;;^DD(117.325,1,21,1,0)
+38 ;;=This field contains the number of Outpatients that visited the Clinics.
+39 ;;^DD(117.325,1,"DT")
+40 ;;=2930126
+41 ;;^DD(117.332,0)
+42 ;;=TOTAL COST PER DIEM SUB-FIELD^^7^8
+43 ;;^DD(117.332,0,"DT")
+44 ;;=2920323
+45 ;;^DD(117.332,0,"IX","B",117.332,.01)
+46 ;;=
+47 ;;^DD(117.332,0,"NM","TOTAL COST PER DIEM")
+48 ;;=
+49 ;;^DD(117.332,0,"UP")
+50 ;;=117.3
+51 ;;^DD(117.332,.01,0)
+52 ;;=830 REPORT OF COSTS^NJ13,2^^0;1^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+53 ;;^DD(117.332,.01,1,0)
+54 ;;=^.1
+55 ;;^DD(117.332,.01,1,1,0)
+56 ;;=117.332^B
+57 ;;^DD(117.332,.01,1,1,1)
+58 ;;=S ^FH(117.3,DA(1),"COST","B",$E(X,1,30),DA)=""
+59 ;;^DD(117.332,.01,1,1,2)
+60 ;;=K ^FH(117.3,DA(1),"COST","B",$E(X,1,30),DA)
+61 ;;^DD(117.332,.01,3)
+62 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+63 ;;^DD(117.332,.01,21,0)
+64 ;;=^^1^1^2920820^^^^
+65 ;;^DD(117.332,.01,21,1,0)
+66 ;;=This field contains the cumulative fiscal year totals on the 830 Report.
+67 ;;^DD(117.332,.01,"DT")
+68 ;;=2920325
+69 ;;^DD(117.332,1,0)
+70 ;;=TOTAL PERSONAL SERVICE^NJ13,2^^0;2^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+71 ;;^DD(117.332,1,3)
+72 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+73 ;;^DD(117.332,1,21,0)
+74 ;;=^^1^1^2920212^^^
+75 ;;^DD(117.332,1,21,1,0)
+76 ;;=This field contains the Total Personal Service.
+77 ;;^DD(117.332,1,"DT")
+78 ;;=2920323
+79 ;;^DD(117.332,2,0)
+80 ;;=PERSONAL SERVICE-TECH 1019^NJ13,2^^0;3^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+81 ;;^DD(117.332,2,3)
+82 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+83 ;;^DD(117.332,2,21,0)
+84 ;;=^^1^1^2920212^^
+85 ;;^DD(117.332,2,21,1,0)
+86 ;;=This field contains the Technicians Cost of Personal Service.
+87 ;;^DD(117.332,2,"DT")
+88 ;;=2930128
+89 ;;^DD(117.332,3,0)
+90 ;;=PERSONAL SERVICE-DIETITNS 1018^NJ13,2^^0;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+91 ;;^DD(117.332,3,3)
+92 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+93 ;;^DD(117.332,3,21,0)
+94 ;;=^^1^1^2920212^^
+95 ;;^DD(117.332,3,21,1,0)
+96 ;;=This field contains the Dietitians Cost of Personal Service.
+97 ;;^DD(117.332,3,"DT")
+98 ;;=2930128
+99 ;;^DD(117.332,4,0)
+100 ;;=PERSONAL SERVICE-WAGEBRD 1008^NJ13,2^^0;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+101 ;;^DD(117.332,4,3)
+102 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+103 ;;^DD(117.332,4,21,0)
+104 ;;=^^1^1^2920212^^
+105 ;;^DD(117.332,4,21,1,0)
+106 ;;=This field contains the Wageboard Cost of Personal Service.
+107 ;;^DD(117.332,4,"DT")
+108 ;;=2930128
+109 ;;^DD(117.332,5,0)
+110 ;;=PERSONAL SERVICE-CLERICAL 1002^NJ13,2^^0;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+111 ;;^DD(117.332,5,3)
+112 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+113 ;;^DD(117.332,5,21,0)
+114 ;;=^^1^1^2920212^^
+115 ;;^DD(117.332,5,21,1,0)
+116 ;;=This field contains the Clerical Cost of Personal Service.
+117 ;;^DD(117.332,5,"DT")
+118 ;;=2930128
+119 ;;^DD(117.332,6,0)
+120 ;;=SUBSISTENCE 2610^NJ13,2^^0;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+121 ;;^DD(117.332,6,3)
+122 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+123 ;;^DD(117.332,6,21,0)
+124 ;;=^^1^1^2920212^^
+125 ;;^DD(117.332,6,21,1,0)
+126 ;;=This field contains the Subsistence Cost.
+127 ;;^DD(117.332,6,"DT")
+128 ;;=2930128
+129 ;;^DD(117.332,7,0)
+130 ;;=OPERATING SUPPLIES 2660^NJ13,2^^0;8^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999999)!(X<0) X
+131 ;;^DD(117.332,7,3)
+132 ;;=Type a Dollar Amount between 0 and 9999999999, 2 Decimal Digits
+133 ;;^DD(117.332,7,21,0)
+134 ;;=^^1^1^2920212^^^
+135 ;;^DD(117.332,7,21,1,0)
+136 ;;=This field contains the Operating Supplies Cost.
+137 ;;^DD(117.332,7,"DT")
+138 ;;=2930128