/// <summary> /// Adds triagem to the respective queue /// </summary> /// <param name="u"></param> /// <returns></returns> public void AddTriagemForMedicConsultation(Triagem t) { switch (t.LevelOfUrgency) { case Triagem.LevelsOfUrgency.Red: lv5Q.Enqueue(t); break; case Triagem.LevelsOfUrgency.Orange: lv4Q.Enqueue(t); break; case Triagem.LevelsOfUrgency.Yellow: lv3Q.Enqueue(t); break; case Triagem.LevelsOfUrgency.Green: lv2Q.Enqueue(t); break; case Triagem.LevelsOfUrgency.Blue: lv1Q.Enqueue(t); break; } }
/// <summary> /// Builder for Consulta Medica /// </summary> /// <param name="ti"></param> /// <param name="dc"></param> /// <param name="diag"></param> /// <param name="medi"></param> /// <param name="te"></param> public ConsultaMedica(Triagem ti, int dc, string diag, string medi, string te) { triageInfo = ti; doctorCode = dc; diagnosis = diag; medication = medi; tests = te; }
/// <summary> /// Builder for Consulta Medica /// </summary> /// <param name="ti"></param> /// <param name="dc"></param> /// <param name="diag"></param> /// <param name="medi"></param> /// <param name="te"></param> public ConsultaMedica(Triagem ti, Medico dc, string diag, string medi, string te, DateTime t) { triage = ti; doctor = dc; diagnosis = diag; medication = medi; tests = te; time = t; }
/// <summary> /// Builder for processo clinico /// </summary> /// <param name="tr"></param> /// <param name="da"></param> public ProcessoClinico(Triagem tr, ConsultaMedica da) { triage = tr; doctorAppointment = da; }