Is it possible to isolate the piano roll interface code?

Hello! I am a medical student interested in making an electronic medical record modeled after the piano roll interface.

Electronic medical records such as Epic can be cumbersome to navigate with a steep learning curve, and I would be interested in modifying a piano roll to plot medical data.

Is there anyone with experience editing this source code interested in helping with such a project?