-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRedcapFormat.cs
More file actions
42 lines (38 loc) · 769 Bytes
/
RedcapFormat.cs
File metadata and controls
42 lines (38 loc) · 769 Bytes
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
39
40
41
42
using System.ComponentModel.DataAnnotations;
namespace Redcap.Models;
/// <summary>
/// Specifies the format of data
///
/// Format, 0 = json
/// Format, 1 = csv [default]
/// Format, 2 = xml
/// Format, 3 = odm
/// </summary>
///
public enum RedcapFormat
{
/// <summary>
/// Default Javascript Notation
/// </summary>
///
[Display(Name = "json")]
json = 0,
/// <summary>
/// Comma Seperated Values
/// </summary>
///
[Display(Name = "csv")]
csv = 1,
/// <summary>
/// Extensible Markup Language
/// </summary>
///
[Display(Name = "xml")]
xml = 2,
/// <summary>
/// CDISC ODM XML format (ODM version 1.3.1)
/// </summary>
///
[Display(Name = "odm")]
odm = 3
}