-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ClinicalTrialDetails.cs
38 lines (32 loc) · 1.67 KB
/
ClinicalTrialDetails.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.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.Health.Insights.ClinicalMatching
{
/// <summary> A description of a clinical trial. </summary>
public partial class ClinicalTrialDetails
{
/// <summary> Initializes a new instance of ClinicalTrialDetails. </summary>
/// <param name="id"> A given identifier for the clinical trial. Has to be unique within a list of clinical trials. </param>
/// <param name="metadata"> Trial data which is of interest to the potential participant. </param>
/// <exception cref="ArgumentNullException"> <paramref name="id"/> or <paramref name="metadata"/> is null. </exception>
public ClinicalTrialDetails(string id, ClinicalTrialMetadata metadata)
{
Argument.AssertNotNull(id, nameof(id));
Argument.AssertNotNull(metadata, nameof(metadata));
Id = id;
Metadata = metadata;
}
/// <summary> A given identifier for the clinical trial. Has to be unique within a list of clinical trials. </summary>
public string Id { get; }
/// <summary> The eligibility criteria of the clinical trial (inclusion and exclusion), given as text. </summary>
public string EligibilityCriteriaText { get; set; }
/// <summary> Demographic criteria for a clinical trial. </summary>
public ClinicalTrialDemographics Demographics { get; set; }
/// <summary> Trial data which is of interest to the potential participant. </summary>
public ClinicalTrialMetadata Metadata { get; }
}
}