Regular Expressions 101

Community Patterns

Occurrence Codes (US Healthcare Billing)

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[A-Z\d]\d
/
gm

Description

Possibly used in Form Locator (FL) 32-35 in the UB-04 form.

The CMS write (in their R81CP document):- "Occurrence and occurrence span codes are mutually exclusive.

  • Occurrence codes have values from 01 through 69 and A0 through L9.
  • Occurrence span codes have values from 70 through 99 and M0 through Z9."

This regex matches both types of codes, and assumes the letters must be upper case 

Submitted by Richard Baxter - 14 days ago (Last modified 14 days ago)