public void ReadDOCXFile()
 {
     ResetStream();
     ConvertToDocxIfDoc();
     InitializeRequiredProperties();
     using (_wordDocument = WordprocessingDocument.Open(_wordPackage))
     {
         var           diagnosisElement        = GetDiagnosisElement();
         var           rm2Number               = FindRM2InDocumentName();
         var           potentialDiagnoses      = FindDiagnosesFromWord();
         List <string> discoveredDiagnosesList = CopyToNewList(potentialDiagnoses);
         Patient       patient = _patientManager.FindPatientByRM2Number(rm2Number, true);
         if (patient == null)
         {
             return;
         }
         foreach (var potentialDiagnosis in potentialDiagnoses)
         {
             var diagnosis = GetPatientDiagnosesFromWord(patient, potentialDiagnosis);
             if (diagnosis != null)
             {
                 Imported.Add(diagnosis);
                 discoveredDiagnosesList.Remove(potentialDiagnosis);
             }
             GetPatientSurgeriesFromWord(patient, potentialDiagnosis);
         }
         BuildPatientGenericNotes(patient, discoveredDiagnosesList);
     }
     _stream.Close();
     _context.SaveChanges();
 }