A Structure for Extracting Data from Healthcare Records