OC-5883: Programatically get subject-specific info and specific PForm URL. Updated logic in query that pulls next event.
OC-5883
fix issue related to date stamp for updated events
OC-5883
continuation to fix data time stamp and status for event