-
Notifications
You must be signed in to change notification settings - Fork 67
/
Measurement.cs
38 lines (27 loc) · 1.19 KB
/
Measurement.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -------------------------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace Microsoft.Health.Fhir.Ingest.Data
{
public class Measurement : IMeasurement
{
public Measurement()
{
Properties = new List<MeasurementProperty>();
}
public string Type { get; set; }
public DateTime OccurrenceTimeUtc { get; set; }
public DateTime? IngestionTimeUtc { get; set; }
public string DeviceId { get; set; }
public string PatientId { get; set; }
public string EncounterId { get; set; }
public string CorrelationId { get; set; }
#pragma warning disable CA2227
public IList<MeasurementProperty> Properties { get; set; }
#pragma warning restore CA2227
IEnumerable<MeasurementProperty> IMeasurement.Properties => Properties;
}
}