Modeling Drug Substitutions & Switches - Data Capture and Reporting

I am looking at ways of modeling drug substitutions (similar drugs) and switches (Different drugs), within OpenMRS.

Currently we are just maintaining observations in different encounters, but I am wondering if there is a more structured way to do this, to simplify tracking and reporting

Seems like we need more specifics here, Steven. Are you looking to identify changes with a particular drug class, or between first line and second line treatments? I think some of these can be managed through membership in convenience sets, but if you are looking at something broader, like exchanges within a therapeutic category or ATC class, then that would require using reference maps.

Andrew the first one seems more like what I am looking for. However the challenge that we are having is that in order to report on substitutions and switches, we need to recursively query the history of drug pickups in order to determine when these changes happened.

Hence my question is there another way to record changes in treatment drugs, and frequency other than observations, that has been thought about, discussed or used anywhere else.