private void TreatmentConverter(IList<EHRIntegracao.Domain.Domain.Treatment> treatment, Hospital hospital)
        {
            foreach (var t in treatment)
            {
                if (t == null)
                    continue;
                var tratmentDto = new Treatment()
                {
                    Id = t.Id,
                    CheckOutDate = t.CheckOutDate,
                    EntryDate = t.EntryDate,
                    Hospital = hospital
                };

                Treatments.Add(tratmentDto);
            }
        }
 private ITreatment _mapLuceneDocumentToData(Document doc)
 {
     var treatment = new Treatment()
     {
         Id = doc.Get("Id"),
         Hospital = new Hospital { Key = doc.Get("Hospital") },
         CheckOutDate = Convert.ToDateTime(doc.Get("CheckOutDate")),
         EntryDate = Convert.ToDateTime(doc.Get("EntryDate")),
     };
     return treatment;
 }