pophealth/quality-measure-engine — pull request #23 by eedrummer (2014-08-25 19:32:40+00:00)
Title: Fix provider assignment

Fixes how providers get assigned to patient_cache documents. Now if a provider performance in any way overlaps with or is wholly contained in the reporting period, it will be assigned to the patient_cache document.

If there are no active providers during the reporting period, the last provider (one with the latest end_date) will be assigned to the result.