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