public IHttpActionResult buscarDiagnosticos(int idPaciente) { DiagnosticoService serv = new DiagnosticoService(); var lista = serv.buscarDiagnosticos(idPaciente); return(Ok(lista)); }
public IHttpActionResult grabarDiagnostico(DiagnosticoDTO param) { DiagnosticoService serv = new DiagnosticoService(); string s = serv.grabarDiagnostico(param.idCita, param.detDiagnostico, param.idDiagnostico, param.nroSesiones, param.vecesXsemana, param.fechaInicio); return(Ok()); }
public IHttpActionResult obtenerDiagnostico(int idDiagnostico) { DiagnosticoService serv = new DiagnosticoService(); var lista = serv.obtenerDiagnostico(idDiagnostico); return(Ok(lista)); }
public IHttpActionResult obtenerUltimoDiagnostico(int idPaciente) { DiagnosticoService serv = new DiagnosticoService(); var lista = serv.obtenerUltimoDiagnostico(idPaciente); return(Ok(lista)); }
public IHttpActionResult grabarAlta(DiagnosticoDTO param) { DiagnosticoService serv = new DiagnosticoService(); serv.grabarAlta(param.idDiagnostico, param.cRecomendaciones); return(Ok()); }
public IHttpActionResult grabarAmpliacionPlanTratamiento(PlanTratamientoDTO param) { DiagnosticoService serv = new DiagnosticoService(); serv.grabarAmpliacionTratamiento(param.idPlanTratamiento, param.nroSesiones); return(Ok()); }
public IHttpActionResult obtenerConsolidadoPlanTratamiento(int idDiagnostico) { DiagnosticoService serv = new DiagnosticoService(); var lista = serv.obtenerConsolidadoPlanTratamiento(idDiagnostico); return(Ok(lista)); }
public FormDiagnostico() { InitializeComponent(); persona = new Persona(); PersonaService = new PersonaServiceBD(ConfigConnection.connectionString); diagnosticoService = new DiagnosticoService(ConfigConnection.connectionString); generar = new Generar(); }
public FormRecetario() { InitializeComponent(); generar = new Generar(); diagnosticoService = new DiagnosticoService(ConfigConnection.connectionString); medicamentoService = new MedicamentoService(ConfigConnection.connectionString); posologiaService = new PosologiaService(ConfigConnection.connectionString); persona = new Persona(); PersonaService = new PersonaServiceBD(ConfigConnection.connectionString); recetarioService = new RecetarioService(ConfigConnection.connectionString); }
public void DiagnosticoNetworkAmigdalitis() { var service = new DiagnosticoService(); var request = new DiagnosticoRequest() { NombreDelArchivo = "AmigdalitisWeights", InputsValues = new double[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 } }; var response = service.Ejecute(request); Assert.AreEqual(response.Diagnostico, "Positivo"); }
public DiagnosticoController(DiagnosticoService diagService, IMapper mapper) { this.diagService = diagService; this.mapper = mapper; }