As a trainer for a medical database company, I also encounter this problem. Even though the medical procedures are the same from site to site, each clinic has different varibles and different workflows. Our software is also flexible and designed to be customized for them, but it's hard to get a straight answer from managers to do customizations. I often get asked by managers to tell doctors to change their workhabits "so the software will work" when that it not the case, it's just to make the workflow easier.
What I do is try to get information on the clinic's workflow before training. I ask for process charts if they have it and send them an intinerary before I head out which states that workflow issues will be addressed on the firstday. This is so that I can properly teach the rest of the week. So far, most of this does not work, sometimes managers go on vacation before or during training, or they take their time making decisions.
Any information that you can get about that particular company beforehand will help you avoid hidden pitfalls that like to pop up the last day of training. I have learned to ask specific questions in certian ways so I can get real answers and not an answer they think I or the federal government wants to hear.
I have also learned to include and ask for the advice of employees who might not seem like they are in charge but are really the ones who make things work and flow in the office, for instance, doctors, secretaries, and clerks.Also the input of the IT staff is critical, don't settle for just an applications person. Sometimes during a major install with difficult interfaces the server needs to be rebooted a couple of million times and it's helpful if you are working with someone who know where that is. Often times the boss is so far removed from every day things they might not know about an important detail.
I haven't found very much research on