/// <summary>
 /// Processes the dataser record.
 /// </summary>
 /// <param name="item">The item.</param>
 private void ProcessDataserRecord(DataTypeDetailsViewModel item)
 {
     if (item.Entry.ContentType.Name.EqualsIgnoreCase("Inpatient Discharge"))
     {
         EventAggregator.GetEvent <ProcessDrgMdsDatasetInfoEvent>().Publish(item.Entry);
     }
 }
 /// <summary>
 /// Deletes the record.
 /// </summary>
 /// <param name="obj">The object.</param>
 private void DeleteRecord(DataTypeDetailsViewModel obj)
 {
     EventAggregator.GetEvent <DeleteEntryEvent>().Publish(new DeleteEntryEventArg()
     {
         Dataset        = obj.Entry,
         ShowUserPrompt = true
     });
 }
Пример #3
0
        /// <summary>
        /// Called when [navigated to].
        /// </summary>
        /// <param name="navigationContext">The navigation context.</param>
        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            var hash = int.Parse(navigationContext.Parameters["hash"]);

            Record = (DataTypeDetailsViewModel)Parameters.request(hash);
        }
Пример #4
0
 /// <summary>
 /// Displays the record.
 /// </summary>
 /// <param name="data">The data.</param>
 private void DisplayRecord(DataTypeDetailsViewModel data)
 {
     Record = data;
 }