reconstruct patient doctor data and system