Of course, my hope is that a release cycle can be developed for non-VA
adopters, making it easier to do what you propose. Other people are
working on this.
In the meantime, well, you probably need to start systematically
removing what you don't want, cleaning up as you go. You'll be breaking
new ground, and it's very important to have experienced VistA
developers working with you.
As to your specific questions:
01- What do you mean by 'fix the data dictionary"? Are you talking
about removing files or fields? Fileman provides utilities to do this,
and you should always use the Fileman utilities to modify the data
dictionary. If for some reason this doesn't seem workable, please
explain why, and maybe we can help you. Editing the data dictionary by
hand is very tricky business.
)2 - When deleting data, you need to proceed carefully and slowly.
There are several stumbling blocks here, including triggers, MUMPS
cross-references, and integrity constraints built into options or
routines. There are several files that just should not even edited in
Fileman. The individual packages provide APIs to work with those
filles, and deleting data can compromise the integrity of packages,
even when you don't think it will. I've mentioned, for example, that
you find IENs embedded in free text fields, and cleaning them up can
take, well, some pretty detailed knowledge of the "anatomy" of VistA.
Keep in mind that there are also files that are populated as part of
the installation process for a package or patch, and you DON'T want to
simply delete the data in those files. There may be no way to recover
it.
Encouraging, aren't I? I'm not saying you shouldn't undertake this
project. On the contrary, I think it could be very valuable. But it is
something you need to go into with your eyes open, and epect to make
mistakes and run into problems along the way. Think of it as surgery:
you may have a general plan, but you're likely to run into unexpected
problems forcing you to adjust and adapt as you go.
Not a "virgin" installation,
but a surgical reconstruction of that state.
Also, the Check/Fix DD option is run prior to the posting of the VistA
FOIA (or at least, most of the time I rememberd to do that!) Of
course, that doesn't remove things like an old DD element that used to
"point" to the old PERSON file 16. :) In fact, that was left behind
on purpose 7 years ago as a "just in case something went wrong" with
the conversion to file 200 and subsequent cleanup.
Since part of the installs for many packages requires data in tables
such as Institution, Medical Center Division, etc, deleting those
existing entries will definitely cause some packages behaviors to fail
when you try to "implement" them in sometimes mysterious ways. Rather
than deleting the entries, I suggest you simply re-name the values in
the .01 fields and edit any otherr fields according to the packages'
instructions for implementation. VistA-Office EHR is being prepared to
be setup in much the same way, i.e. with "place-holder" table entries
for sites to be able to edit and/or copy into additional entries.