WIP: Add Patient's Primary Payer
This commit adds the patient's "Preferred" payer the PatientDemographic
.
We determine "Preferred" by taking the first used coverage record, according to Epic.Finance.PatientCoverageFileOrder
. Records are ordered in descending order by FilingOrderID
. Therefore, records where FilingOrderID == 1
are preferred and marked as "Primary."
Please provide any feedback by 6/19/2020
Edited by Hubbell, Harrison Taylor