This document outlines a 5-step process to modularize the OpenMRS application using OSGi bundles. The first step is to create a "mega bundle" that includes all dependencies. The next three steps involve extracting the core API, web, and webapp modules into separate OSGi bundles. The final step is to define an execution plan for the Virgo OSGi server to run the modularized application as individual bundles. When completed, the OpenMRS application will be split into interoperable modules running within an OSGi container.