It appears the only place $disabled is defined is in phpmyadmin and has no reference to new.php save.php or view php.
I am also creating an edit.php in case an error was made on the initial encounter it can be fixed.
I expanded the encounter_full.php to include a link called edit that takes you to that encounter and pulls all the details from that encounter and populated the edit.php
Looks like $disabled is only defined and used in view.php. Its appearance in new.php is probably an inadvertent residue from cloned code. The idea is to disallow changing the date of service if you are not authorized to do so.
Are you writing the HCFA 1500 because you don’t want to use FreeB? Note that you’ll also have to do something about tracking A/R, including posting EOBs and various reporting needs. We have identified a project for replacing FreeB (currently not funded) and I’d be happy to share some proposed design notes if you are interested in working on it.
I have not seen the package work with freeB nor sql ledger except for once when i go the virtual machine running. and not ever in a production environment.
Does FreeB give you a graphical representation of the 1500? I like being able to see it on the screen and edit it there if needed.
I’m just going on my directive of making Openemr a one package utility.
note I am not a medical person just a designer/programmer.
lol what is an A/R and EOB. Any design notes would be great.
Are you using style attributes (css) for placement of the text to print? I think it is a good idea. I started experimenting with it but gave up due to lack of time.
A/R = Accounts Receivable. Refers to keeping track of who owes you what.
EOB = Explanation of Benefits. This is what the insurance payers send you where they select from 198 possible reasons why they are not paying as much as you thought they would. :-) From this you update your A/R data.
FreeB generates PDFs designed for printing on top of preprinted HCFA forms, but does not otherwise give you a graphical representation.