public IList <PatientHistoryData> GetAllHistory(Guid id)
 {
     return(PatientHistory.ToJavaScriptHistory(_eventStoreRepository.All(id)));
 }