Is there a good reason why the code fields are set to readonly in openemr/interface/patient_file/encounter/superbill_custom.php?
I want to add my abbreviation for a code when I search for it via the pop-up.
eg. ICD10: I10 is essential hypertension. I’d like to add into this description field “HTN”, my abbreviation for this Dx.
Using this superbill_custom.php form, I search for the code, find it and select Modify. That places the code on the top portion of the form, yet the fields to alter the entry are “readonly”. I can go into the DB and modify it directly to achieve what I need but I assume that this is what this file is supposed to be doing.
Before removing the readonly things, I figured I’d ask here if there is a good reason not to do this…
I’ll need to refresh myself with this code, but as I recall this will depend on if using ICD10 as External code type(this is how it is setup by default). In Administration->Lists->Code Types, what is your External setting for the row with key of ICD10?
And when you modfied it in the DB, did you do it in the ICD10 table or the codes table?
If intent is to modify values in code or code related tables and code_type is external/imported, we should refrain from local changes because :
When you exchange data with other systems there will be complications
Incorporating future revisions from the source will be problematic
More importantly, a non biller manually entering standard code data in superbill is a drag on practice productivity. Please consider a business flow like :
During encounter, clinicians associate the issues they address.
If a new issue / diagnosis is observed, create a new issue with commonly accepted abbreviations and descriptions (XYZ, XYZ sec to ABC etc.)
Use clickoptions to document commonly used Title, Code(s) pairs to populate both fields - we have a modification that searches database to create dynamic lookups.
When the encounter is signed, let that same script copy all codes for all encounter-issues to superbill automatically. (We had to add a flag so that non-billed codes can be reversed when encounter was unlocked.)