AmyNRA
September 9th, 2008, 02:03 PM
I am trapping demographic account information, then a date from the detail lines.
I only want to use the date from the LAST date of service.
If my template is an append, then it gives me the last service date encountered, but it's the date that belongs to the preceding account.
If my template is a footer, then it gives me the FIRST service date encountered for the account and ignores values of succeeding lines.
I even tried making it a multi-line field, but I get errors trying to manipulate it because it's too long.
A single account looks like this:
1547820 Mary Smith DOB 07/08/00
123 Main St Medicare Insurance
City, ST 00000
45 T # 1118 U MARY E SMITH Total: 420.00
03/23/06 ALLEY MD BLANK ALLEY MD OFFICE
031706 99214 -25-OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 130.00
031706 19000 - -ASPIRATION OF B 610.0 -CYST, SOLITARY, 01 290.00
040506-040706-BS OF MD FEDERASB580-0011181-Y-N-P cleared
420.00 / 72.51 / .00 / .00 / 263.49
91 T # 2681 U MARY E SMITH Total: 420.00
07/18/06 ALLEY MD BLANK ALLEY MD OFFICE
071006 99214 -25-OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 130.00
071006 19000 - -ASPIRATION OF B 610.0 -CYST, SOLITARY, 01 290.00
071906- -BS OF MD FEDERASB580-0026811-Y-N-P cleared
420.00 / 103.96 / .00 / .00 / 228.14
234 T # 8482 U MARY E SMITH Total: 155.00
05/11/07 ALLEY MD NEWHOUSE ALLEY MD OFFICE
050307 99214 - -OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 155.00
050307 - -ADDITIONAL DIAG 611.71 -MASTODYNIA 01 0.00
050307 - -ADDITIONAL DIAG 610.1 -MASTOPATHY, DIF 01 0.00
051207- -AETNA 60054-0084821-Y-N-P cleared
155.00 / 60.00 / .00 / .00 / 65.00
03/23/06 0001-PMT CASH
0001 15.00-
04/25/06 0255-PMT BS OF MD FEDERASB580
0001 72.51-
04/25/06 0100-Deductible 69.00
0001 0.00
04/25/06 0101-Co-ins 15.00
0001 0.00
04/25/06 0255-W/O BS OF MD FEDERASB58
0001 263.49-
05/16/06 0002-PMT #685 PERSONAL CHEC
0001 69.00-
Then the next account starts.
There can be any number of detail records.
I think I'm just going to tell them I can't get that date.
I only want to use the date from the LAST date of service.
If my template is an append, then it gives me the last service date encountered, but it's the date that belongs to the preceding account.
If my template is a footer, then it gives me the FIRST service date encountered for the account and ignores values of succeeding lines.
I even tried making it a multi-line field, but I get errors trying to manipulate it because it's too long.
A single account looks like this:
1547820 Mary Smith DOB 07/08/00
123 Main St Medicare Insurance
City, ST 00000
45 T # 1118 U MARY E SMITH Total: 420.00
03/23/06 ALLEY MD BLANK ALLEY MD OFFICE
031706 99214 -25-OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 130.00
031706 19000 - -ASPIRATION OF B 610.0 -CYST, SOLITARY, 01 290.00
040506-040706-BS OF MD FEDERASB580-0011181-Y-N-P cleared
420.00 / 72.51 / .00 / .00 / 263.49
91 T # 2681 U MARY E SMITH Total: 420.00
07/18/06 ALLEY MD BLANK ALLEY MD OFFICE
071006 99214 -25-OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 130.00
071006 19000 - -ASPIRATION OF B 610.0 -CYST, SOLITARY, 01 290.00
071906- -BS OF MD FEDERASB580-0026811-Y-N-P cleared
420.00 / 103.96 / .00 / .00 / 228.14
234 T # 8482 U MARY E SMITH Total: 155.00
05/11/07 ALLEY MD NEWHOUSE ALLEY MD OFFICE
050307 99214 - -OFFICE/OUTPATIE 610.0 -CYST, SOLITARY, 01 155.00
050307 - -ADDITIONAL DIAG 611.71 -MASTODYNIA 01 0.00
050307 - -ADDITIONAL DIAG 610.1 -MASTOPATHY, DIF 01 0.00
051207- -AETNA 60054-0084821-Y-N-P cleared
155.00 / 60.00 / .00 / .00 / 65.00
03/23/06 0001-PMT CASH
0001 15.00-
04/25/06 0255-PMT BS OF MD FEDERASB580
0001 72.51-
04/25/06 0100-Deductible 69.00
0001 0.00
04/25/06 0101-Co-ins 15.00
0001 0.00
04/25/06 0255-W/O BS OF MD FEDERASB58
0001 263.49-
05/16/06 0002-PMT #685 PERSONAL CHEC
0001 69.00-
Then the next account starts.
There can be any number of detail records.
I think I'm just going to tell them I can't get that date.