Fixed multiple bugs in linking patient notes to documents.
Added quick access to related document(s) when viewing a message that has any.
Moved diagnoses from orders to individual procedures.
Modified patient report to include complete lab results.