LBF Billing field limited to 1 entry per code type

aperezcrespo wrote on Saturday, February 18, 2017:

Hi All,

I have an LBF with a billing code field. It works perfectly fine with the only exception that I can only have 1 entry per code type in the field.
For example: I can search and select 1 CPT and 1 ICD10. What I can not do is select 2 ICD10 codes. The search works just fine. Selecting is where it breaks down. It comes back with “A code of this type is already selected. Erase the field first if you need to replace it.”
This was upgrade from 4.1.0 to 5.0.

Thanks

aperezcrespo wrote on Saturday, February 18, 2017:

Just tested it on http://demo.open-emr.org:2106
Same error. So it is in 5.0

aperezcrespo wrote on Sunday, February 26, 2017:

Just retested this on demo2105. Still cannot select more than 1 code per code type. For example I cannot select a second ICD10 code.

ajperezcrespo wrote on Thursday, March 09, 2017:

And as a side note or issue. The selected code does not show up in the patients fee sheet either.

bradymiller wrote on Sunday, March 12, 2017:

Hi,

Looked into this. Unclear why this code was added here to enforce 1 code for each code type:

Shouldn’t we allow multiple codes of the same code type?

-brady
OpenEMR

bradymiller wrote on Sunday, March 12, 2017:

Placed a PR for this “fix” here(basically removed this check):

bradymiller wrote on Monday, March 13, 2017:

Hi,
I’m gonna bring this fix in because I just don’t see any reason why we should be limiting coding entries to only 1 entry per code type.
-brady
OpenEMR