Class Electrocardiogram
Represents an Electrocardiogram (ECG) measurement session. This data type is based on SaMD feature and any changes to it may require additional review.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Electrocardiogram : IMessage<Electrocardiogram>, IEquatable<Electrocardiogram>, IDeepCloneable<Electrocardiogram>, IBufferMessage, IMessage
Constructors
Electrocardiogram()
Declaration
public Electrocardiogram()
Electrocardiogram(Electrocardiogram)
Declaration
public Electrocardiogram(Electrocardiogram other)
Parameters
| Type | Name | Description |
|---|---|---|
| Electrocardiogram | other |
Properties
BeatsPerMinuteAvg
Optional. Average heart rate recorded during ECG reading in beats per minute.
Declaration
public long BeatsPerMinuteAvg { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
HasBeatsPerMinuteAvg
Gets whether the "beats_per_minute_avg" field is set
Declaration
public bool HasBeatsPerMinuteAvg { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasLeadNumber
Gets whether the "lead_number" field is set
Declaration
public bool HasLeadNumber { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMillivoltsScalingFactor
Gets whether the "millivolts_scaling_factor" field is set
Declaration
public bool HasMillivoltsScalingFactor { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSamplingFrequencyHertz
Gets whether the "sampling_frequency_hertz" field is set
Declaration
public bool HasSamplingFrequencyHertz { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Interval
Required. Observed interval.
NOTE: Historical ECG data lacks timezone offsets, so start_utc_offset
and end_utc_offset will be missing or default to zero. As a result,
the civil time fields within this interval will default to UTC.
It is recommended to use physical time fields instead for accurate
time referencing.
NOTE: The start_time and end_time of the interval are equal,
representing the reading time.
Declaration
public SessionTimeInterval Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| SessionTimeInterval |
LeadNumber
Optional. The number of leads used for ECG reading.
Declaration
public int LeadNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MedicalDeviceInfo
Output only. The meta information for the compatible device used to conduct the measurement.
ECG measurements typically populate firmware_version, feature_version,
and device_model.
Declaration
public MedicalDeviceInfo MedicalDeviceInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| MedicalDeviceInfo |
MillivoltsScalingFactor
Optional. The factor by which to divide waveform samples to get voltage in millivolts: millivolts = waveform_sample / millivolts_scaling_factor.
Declaration
public int MillivoltsScalingFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ResultClassification
Optional. The result classification of the ECG reading.
Declaration
public Electrocardiogram.Types.ResultClassification ResultClassification { get; set; }
Property Value
| Type | Description |
|---|---|
| Electrocardiogram.Types.ResultClassification |
SamplingFrequencyHertz
Optional. The sampling frequency of waveform samples in hertz.
Declaration
public int SamplingFrequencyHertz { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
WaveformSamples
Optional. An array of voltage values representing lead I ECG values. Each sample represents voltage difference in ECG graph. The first value in array corresponds to the start of the reading.
Declaration
public RepeatedField<int> WaveformSamples { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<int> |