is there a way to
1. implement auto-completion of drug names in openclinica-forms and
2. automatically determine the ATC-code of a drug entered this way?
ideally, i would like to enter the first two or three letters of a drug name and then be presented with all possible completions e.g. in the form of a drop-down menu. entering additional letters should result in narrowing down the list of possible completions. after choosing the correct suggestion from that list i would like to have the corresponding ATC-code automatically filled into an adjacent field of the electronic CFR.
the full list of availabe drug names should stem from the swiss drug compendium (www.compendium.ch) or a similar database.
any help would be greatly appreciated, even ideas for partial solutions!