[misc] More unit tests for the patient-data-api module
Issue #943: Add patient specific events instead of the generic XWiki document ones
Tests and minor fixes