Black-Box Segmentation of Electronic Medical Records