|
20 | 20 | using System.ComponentModel.DataAnnotations.Schema;
|
21 | 21 | using System.Linq;
|
22 | 22 | using FellowOakDicom;
|
23 |
| -using Monai.Deploy.InformaticsGateway.Api.Storage; |
24 |
| -using Monai.Deploy.InformaticsGateway.Common; |
25 |
| -using Newtonsoft.Json; |
26 |
| - |
27 |
| -namespace Monai.Deploy.InformaticsGateway.Api |
28 |
| -{ |
29 |
| - public class Hl7ApplicationConfigEntity : MongoDBEntityBase |
30 |
| - { |
31 |
| - /// <summary> |
32 |
| - /// Gets or sets the name of a Hl7 application entity. |
33 |
| - /// This value must be unique. |
34 |
| - /// </summary> |
35 |
| - [Key, Column(Order = 0)] |
36 |
| - public string Name { get; set; } = default!; |
37 |
| - |
38 |
| - /// <summary> |
39 |
| - /// Gets or sets the sending identifier. |
40 |
| - /// </summary> |
41 |
| - [JsonProperty("sending_identifier")] |
42 |
| - public StringKeyValuePair SendingId { get; set; } = new(); |
43 |
| - |
44 |
| - /// <summary> |
45 |
| - /// Gets or sets the data link. |
46 |
| - /// Value is either PatientId or StudyInstanceUid |
47 |
| - /// </summary> |
48 |
| - [JsonProperty("data_link")] |
49 |
| - public DataKeyValuePair DataLink { get; set; } = new(); |
50 |
| - |
51 |
| - /// <summary> |
52 |
| - /// Gets or sets the data mapping. |
53 |
| - /// Value is a DICOM Tag |
54 |
| - /// </summary> |
55 |
| - [JsonProperty("data_mapping")] |
56 |
| - public List<StringKeyValuePair> DataMapping { get; set; } = new(); |
57 |
| - |
58 |
| - /// <summary> |
59 |
| - /// Optional list of data input plug-in type names to be executed by the <see cref="IInputHL7DataPlugInEngine"/>. |
60 |
| - /// </summary> |
61 |
| - public List<string> PlugInAssemblies { get; set; } = default!; |
62 |
| - |
| 23 | +using Monai.Deploy.InformaticsGateway.Api.Storage; |
| 24 | +using Monai.Deploy.InformaticsGateway.Common; |
| 25 | +using Newtonsoft.Json; |
| 26 | + |
| 27 | +namespace Monai.Deploy.InformaticsGateway.Api |
| 28 | +{ |
| 29 | + public class Hl7ApplicationConfigEntity : MongoDBEntityBase |
| 30 | + { |
| 31 | + /// <summary> |
| 32 | + /// Gets or sets the name of a Hl7 application entity. |
| 33 | + /// This value must be unique. |
| 34 | + /// </summary> |
| 35 | + [Key, Column(Order = 0)] |
| 36 | + public string Name { get; set; } = default!; |
| 37 | + |
| 38 | + /// <summary> |
| 39 | + /// Gets or sets the sending identifier. |
| 40 | + /// </summary> |
| 41 | + [JsonProperty("sending_identifier")] |
| 42 | + public StringKeyValuePair SendingId { get; set; } = new(); |
| 43 | + |
| 44 | + /// <summary> |
| 45 | + /// Gets or sets the data link. |
| 46 | + /// Value is either PatientId or StudyInstanceUid |
| 47 | + /// </summary> |
| 48 | + [JsonProperty("data_link")] |
| 49 | + public DataKeyValuePair DataLink { get; set; } = new(); |
| 50 | + |
| 51 | + /// <summary> |
| 52 | + /// Gets or sets the data mapping. |
| 53 | + /// Value is a DICOM Tag |
| 54 | + /// </summary> |
| 55 | + [JsonProperty("data_mapping")] |
| 56 | + public List<StringKeyValuePair> DataMapping { get; set; } = new(); |
| 57 | + |
| 58 | + /// <summary> |
| 59 | + /// Optional list of data input plug-in type names to be executed by the <see cref="IInputHL7DataPlugInEngine"/>. |
| 60 | + /// </summary> |
| 61 | + public List<string> PlugInAssemblies { get; set; } = default!; |
| 62 | + |
63 | 63 | public DateTime LastModified { get; set; } = DateTime.UtcNow;
|
64 | 64 |
|
65 | 65 | public IEnumerable<string> Validate()
|
|
0 commit comments