Advertisement
ravinator

Untitled

Oct 30th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.80 KB | None | 0 0
  1. Scripts scripts = GetUniqueScriptsSorted(message.Patient.Scripts);
  2.  
  3.             foreach (var script in scripts.ScriptsA)
  4.             {
  5.                 model.LipidMedications.LipidMedicationsA.Add(
  6.                     new LipidMedication
  7.                     {
  8.                         FullDrugName = script.FullDrugName,
  9.                         Directions = script.Directions,
  10.                         PrescriberGivenName = script.PrescriberGivenName,
  11.                         PrecriberLastName = script.PrescriberLastName,
  12.                         PrescriberID = script.PrescriberID,
  13.                         OrignalScriptNumber = script.OriginalScriptNumber,
  14.                         Selected = false
  15.                     });
  16.             }
  17.  
  18.             model.PSProgramModel.Patient.Scripts.ScriptsA.Clear();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement