Add unique to the billing table

I don’t want more than 1 billing code on each encounter. Can I make the ‘encounter’ field’ unique in the billing table?

Multiple codes per encounter are already supported. What issues are you having?

I only want 1 code per encounter.

1 Like

I see. I think you would need to modify the base code for that if the row count is > 1, the search function is disabled until the existing code is deleted.

Thanks. I just wanted to jake silure it didn’t affect other Openemr functions.