Ejemplo n.º 1
0
 private static void RemoveBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign, BloodPressure bloodPressure)
 {
     vitalSign.RemoveBloodPressure(bloodPressure);
 }
Ejemplo n.º 2
0
 private static void AddBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign)
 {
     vitalSign.AddBloodPressure(
         new BloodPressure(bloodPressureDto.SystollicMeasure.GetValueOrDefault(), bloodPressureDto.DiastollicMeasure.GetValueOrDefault()));
 }
Ejemplo n.º 3
0
 private static void ChangeBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign, BloodPressure bloodPressure)
 {
     RemoveBloodPressure(bloodPressureDto, vitalSign, bloodPressure);
     AddBloodPressure(bloodPressureDto, vitalSign);
 }