Custom Claim Rules

Is there a way to configure claim rules?

For example, if CPT4 code XXXXX is used then ICD10 code YYY.YY must be used.

Or something more generic like, ‘Justify’ in the fee sheet can’t be blank…an ICD10 code must be specified.

I have some custom code in there now to either pop up messages or in some cases run queries to fix well known errors.

I know these would be clinic specific and not general purpose but I’m wondering if there are general purpose ways to apply the rules. I’m going to have multiple clinics shortly and these custom changes will conflict.

Thanks.