Beispiel #1
0
        /// <summary>
        /// Descripción: Obtiene informacion de los examene por Id Establecimiento.
        /// Author: Terceros.
        /// Fecha Creacion: 01/01/2017
        /// Fecha Modificación: 02/02/2017.
        /// Modificación: Se agregaron comentarios.
        /// </summary>
        /// <param name="idLaboratorio"></param>
        /// <returns></returns>
        public List <ExamenLaboratorio> GetExamenesByLaboratorio(int idLaboratorio)
        {
            var objCommand = GetSqlCommand("pNLS_ExamenByLaboratorioId");

            InputParameterAdd.Int(objCommand, "idLaboratorio", idLaboratorio);

            return(ExamenLaboratorioConvertTo.Examenes(Execute(objCommand)));
        }
Beispiel #2
0
        /// <summary>
        /// Descripción: Obtiene información de los examenes por Codigo de Examen y establecimiento.
        /// Author: Terceros.
        /// Fecha Creacion: 01/01/2017
        /// Fecha Modificación: 02/02/2017.
        /// Modificación: Se agregaron comentarios.
        /// </summary>
        /// <param name="idExamen"></param>
        /// <param name="idLaboratorio"></param>
        /// <returns></returns>
        public ExamenLaboratorio GetExamenLaboratorioById(Guid idExamen, int idLaboratorio)
        {
            var objCommand = GetSqlCommand("pNLS_ExamenLaboratorioById");

            InputParameterAdd.Guid(objCommand, "idExamen", idExamen);
            InputParameterAdd.Int(objCommand, "idLaboratorio", idLaboratorio);

            return(ExamenLaboratorioConvertTo.ExamenLaboratorio(Execute(objCommand)));
        }