Sfoglia il codice sorgente

sampleTime 长度

datasub12_fetal_heart_rate_0
H Vs 3 mesi fa
parent
commit
cf5a68219d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 2
- 2
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs Vedi File

@@ -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…
Annulla
Salva