private void NextCard()
 {
     try
     {
         SelectedCard = ActiveVisitationCards[indexOfCard];
     }
     catch (Exception e)
     {
         SelectedCard = ActiveVisitationCards[0];
     }
     ChangeSelectedCardInList();
     _selectedCard.NoteReceived = false;
     IsNotDialogMode            = true;
     NotificationRaiser();
 }
 private void ShowAcuteCards()
 {
     AcuteVisitationCards.Add(new VisitationOverviewViewModel()
     {
         Cpr           = "1709904353",
         ReferralCause = "Højre og venstre hånds fingre, der sover i hvile, kan vanskeligt holde ved bilrat med begge hænder",
         Diagnose      = "Syndroma canalis carpi bilateralis",
         TreatmentType = "CTS - nerveledningsundersøgelse",
         Date          = "26. Maj 2017",
         Time          = "09:30"
     });
     ShowAcuteNotification = false;
     ChangeAcuteListState();
     SelectedCard = AcuteVisitationCards[1];
 }
 private void MinimizeCard()
 {
     SelectedCard   = null;
     CardIsClosed   = false;
     IsCardSelected = false;
 }