Initial abstraction of PatientExport

Change-Id: I69636367896544f4bdd719fcee20b52de1585887
Signed-off-by: Jeremy Ho <jujaga@gmail.com>