Displaying page
of
pages;
Items to
Title |
Test
Details
ICD9 code validation
|
Expression |
^([EV])?\d{3,3}(\.\d{1,2})?$
|
Description |
validates an ICD9 medical code which MAY start with an E or V, 3 digits, and MAY be followed by a period and a 1-2 digit sub-code
|
Matches |
123.45 | E123.45 | V123.45 | 456.7 | E456.7 | V456.7 | 987 | E987 | V987
|
Non-Matches |
e123 | X123 | e123.4 | e123.45 | E12345
|
Author |
Rating:
Not yet rated.
Ken Forslund
|
Title |
Test
Details
validation of comma delimited ICD9 codes
|
Expression |
^([EV])?\d{3,3}(\.\d{1,2})?(, *([EV])?\d{3,3}(\.\d{1,2})?)*$
|
Description |
See my sigle ICD9 validator for ICD9 rules. This does the same, and validates for comma delitter (with optiona space after comma)
|
Matches |
E123 | E123.45, V456.6 | V456,E987.2, 123.45
|
Non-Matches |
E123V456 | E123, x | 12;467.789
|
Author |
Rating:
Not yet rated.
Ken Forslund
|
Title |
Test
Details
CPT code
|
Expression |
^\d{4,4}[A-Z0-9]$
|
Description |
a CPT code is a 4 digits + a captial letter or number (forming 5 character code). The CPT code describes a medical procedure
|
Matches |
0001F | 21082
|
Non-Matches |
F0123 | 0001f | 100F
|
Author |
Rating:
Ken Forslund
|
Title |
Test
Details
comma delimited CPT code
|
Expression |
^\d{4,4}[A-Z0-9](, *\d{4,4})[A-Z0-9]*$
|
Description |
see my regex for explaining basic CPT. This validates a comma delimited (with possible spaces after comma) string of CPT codes
|
Matches |
99396, 1234T | 12345 | 12345,98765, 99396
|
Non-Matches |
1234T, x | 99396, 1234t
|
Author |
Rating:
Not yet rated.
Ken Forslund
|
Title |
Test
Details
match value in comma delim string
|
Expression |
(\A|(.*,))VALUE(\z|([,]?.))
|
Description |
use this to see if your VALUE is in a given string that is comma delimited. Replace VALUE with your own
|
Matches |
VALUE,1 1,VALUE,2 VALUE VALUE,1
|
Non-Matches |
1 1,2
|
Author |
Rating:
Not yet rated.
Ken Forslund
|
Displaying page
of
pages;
Items to