Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Carriage Returns - TIME CRITICAL HELP!

Featured Replies

I currently export a calc (BillingLine) to a tab-delimited file for electronic billing. I am getting claims rejections because of carriage returns appearing throughout. What is the best method of stripping these returns? Billing calc is (and I'll bet the forum squeezes together the spaces, but you'll get the gist)B)

Left(Provider & " ",20) & Left(SentTo & " ",12) & Case(IsEmpty(ConvDiag1), " ", Left(ConvDiag1 & " ",11) & Case(IsEmpty(ConvDiag2), " ", Left(ConvDiag2 & " " ,11) & Case(IsEmpty(ConvDiag3), " ", Left(ConvDiag3 & " ",11) & Case(IsEmpty(ConvCGAS), " ", Left(ConvCGAS & " ",6) & Case(IsEmpty(DiagSeq1)," ", Left(DiagSeq1 & " ",3) & Case(IsEmpty(DiagSeq2), " ", Left(DiagSeq2 & " ",3) & Case(IsEmpty(DiagSeq3), " ", Left(DiagSeq3 & " ",3) & Case(IsEmpty(ConvCGAS), " ", Left("4" & " ",4) & Case(IsEmpty(Locations::BillConversion), " ", Left(Locations::BillConversion & " ",5) & Left("S" & " ",4) & Left(ProcCode & " ",11) & Left(Units&" ",6) & Left(ConvLineTotal & " ",12) & Left( Invoice# & " ",10) & Left(ConvDate & " ",11) & Left(ConvDate & " ",11) & Left(HumanRes::StaffNameL & " ",29) & Left(Client::Medicaid# & " ",15) & Left(Client::cClientNameL & " ",36))))))))))

I think I need to address the issue of carriage returns in a broader sense, but these incorrect billing items need to be resolved soon. There are 50 spaces in various fields, and I'd rather NOT have to manually strip the spaces from each field in each record at this point. I'd like to just strip the billing calc so I can resubmit the billing. Suggestions? confused.gif

  • Author

I'm trying to pop this to the top of this list again, because I have 2 HOURS in which to correct this problem -- or over $10,000 of billings will be rejected!!! Can anyone please help me with stripping carriage returns from a calc -- without having to go through all these associated fields in three dbs individually?

Create a new billingline field, call it billingline2, defined as text.

Create a script:

Go to Record/Request First

Loop

Set Field["billingline2,"billingline"]

Go to Record/Request [exit after last,next]

End Loop

This will place the contents of your calc field into a text field. Then use Replace to remove the carriage returns. Then export the billingline2 field. All of the carriage returns will be removed, do you need one at the end of each record?

  • Author

Oh, thank you SO MUCH!!! No, I don't need a carriage return at the end. They map to my upload the way it is -- the carriage returns cause a rejection! Bless ya! I'll do it now grin.gif

  • Author

Help! I can't strip the carriage return from the text field!

Replace by calculation

Substitute (billingline2, "

  • Author

Just wanted to thank you all for helping me! Well, come to find out there were no carriage returns through this calc -- there was one carriage return at the end of the document. The reason the batch rejected was because our electronic clearing house had mis-mapped to my file mad.gif and immediately jumped to the conclusion that it must be an error on this end because of the carriage returns!

Anyway, so I wasted three hours of my day on a non-existent issue! Thanks for helping me learn how to handle carriage returns, however! Learning something new makes it all worth it smirk.gif

Not a problem, glad to help.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.