NYSETL.Engines.E5.Processor (nys_etl v0.1.0) View Source
Run for each patient case extracted from CommCare.
- case_id already present in our DB:
- update it with changes from CommCare (but ignore any new lab results)
- case_id does not exist, Person exists and can be matched by dob | last_name | first_name:
- create an IndexCase and LabResult record(s)
- case_id does not exist, Person cannot be matched:
- create a Person, IndexCase and LabResult record(s)