瀏覽代碼

sampleTime 长度

datasub12_fetal_heart_rate_0
H Vs 3 月之前
父節點
當前提交
cf5a68219d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 2
- 2
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs 查看文件

@@ -254,7 +254,7 @@ namespace HealthMonitor.Service.Resolver
PersonId = commonPHR!.PersonId,
Serialno = heartRate.Serialno,
HeartRate = fetalHeartRate,
SampleTime = sampleTime,
SampleTime = sampleTime.Length > 10 ? sampleTime.Substring(0, 10) : sampleTime,
IsAbnormal = isAbnormal,
StatStartTime = filteredPhr.OrderBy(i => i.LastUpdate).First().LastUpdate,
StatEndTime = filteredPhr.OrderBy(i => i.LastUpdate).Last().LastUpdate,
@@ -438,7 +438,7 @@ namespace HealthMonitor.Service.Resolver
PersonId = commonPHR!.PersonId,
Serialno = heartRate.Serialno,
HeartRate = fetalHeartRate,
SampleTime = sampleTime,
SampleTime = sampleTime.Length > 10 ? sampleTime.Substring(0, 10) : sampleTime,
IsAbnormal = isAbnormal,
StatStartTime = commonPHR.StatStartTime,
StatEndTime = commonPHR.StatEndTime,


Loading…
取消
儲存