Exemplo n.º 1
0
        /// <summary>
        /// Adds the lab result.
        /// </summary>
        /// <param name="labResult">The lab result.</param>
        public virtual void AddLabResult( LabResult labResult)
        {
            Check.IsNotNull ( labResult, "Lab Result is required." );

            labResult.LabTest = this;
            _labResults.Add(labResult);

            NotifyItemAdded(() => LabResults, labResult);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Removes the lab result.
        /// </summary>
        /// <param name="labResult">The lab result.</param>
        public virtual void RemoveLabResult(LabResult labResult)
        {
            Check.IsNotNull(labResult, "Lab Result is required.");

            _labResults.Delete(labResult);

            NotifyItemRemoved(() => LabResults, labResult);
        }