That's correct. If a database table isn't considered an EMR
"attachment" (or part of the medical record), it descends from
SupportModule.
Correct.
> Then you are using XML for the interface. I thought the interface was in gwt
> (Google Web Tool Kit)
GWT doesn't allow certain dynamic functionality, due to the way it
works (compiling Java into Javascript). To get around this, I have a
UI builder class, which uses those XML definition files to create the
UI which is displayed to the user.
> What is the pqri_source (Table name) stands for?
> How do you know which unique key to assign to a module e.g.var $MODULE_UID =
> "884f604b-b5c0-475a-9cfa-5c912111f80e";?
Use "uuidgen" to generate a unique value. The only requirement is that
it's unique (and I prefer the output from uuidgen).
> Why are there two identical functions in the class CPTCodes.class e.g.
>
> protected function mod_pre ( &$data ) {
> $d['cptstdfee'] = serialize ( $d['cptstdfee'] );
> $d['cpttos'] = serialize ( $d['cpttos'] );
> }
You mean "add_pre" and "mod_pre"?
Those functions are meant to allow other functionality to be tied into
pre and post hooks for adding and modifying. If you don't need them
(and you probably won't), just leave them out.
> About your last comment "clone the freemed tree from gihub". I didn't
> understand what you mean.
Here's a brief explanation from the github guys:
https://help.github.com/articles/fork-a-repo
The gist of which is that you're supposed to create your own local
fork, from which you can push changes back to the main repository.
> II apologize for asking too many questions but I have to know.
It's the only way to learn, never apologize for asking questions.