public TriageGroupTO(gov.va.medora.mdo.domain.sm.TriageGroup triageGroup) { if (triageGroup == null) { return; } id = triageGroup.Id; oplock = triageGroup.Oplock; name = triageGroup.Name; description = triageGroup.Description; vistaDiv = triageGroup.VistaDiv; if (triageGroup.Clinicians != null && triageGroup.Clinicians.Count > 0) { clinicians = new SmClinicianTO[triageGroup.Clinicians.Count]; for (int i = 0; i < triageGroup.Clinicians.Count; i++) { clinicians[i] = new SmClinicianTO(triageGroup.Clinicians[i]); } } if (triageGroup.Patients != null && triageGroup.Patients.Count > 0) { patients = new SmPatientTO[triageGroup.Patients.Count]; for (int i = 0; i < triageGroup.Patients.Count; i++) { patients[i] = new SmPatientTO(triageGroup.Patients[i]); } } }
public TriageGroupTO(gov.va.medora.mdo.domain.sm.TriageGroup triageGroup) { if (triageGroup == null) { return; } id = triageGroup.Id; oplock = triageGroup.Oplock; name = triageGroup.Name; description = triageGroup.Description; vistaDiv = triageGroup.VistaDiv; if (triageGroup.Clinicians != null && triageGroup.Clinicians.Count > 0) { clinicians = new SmClinicianTO[triageGroup.Clinicians.Count]; for (int i = 0; i < triageGroup.Clinicians.Count; i++) { clinicians[i] = new SmClinicianTO(triageGroup.Clinicians[i]); } } if (triageGroup.Patients != null && triageGroup.Patients.Count > 0) { patients = new SmPatientTO[triageGroup.Patients.Count]; for (int i = 0; i < triageGroup.Patients.Count; i++) { patients[i] = new SmPatientTO(triageGroup.Patients[i]); } } }