Class InferenceRequestDetails
- Namespace
- Monai.Deploy.InformaticsGateway.Api.Rest
- Assembly
- Monai.Deploy.InformaticsGateway.Api.dll
Details of an inference request.
public class InferenceRequestDetails
- Inheritance
-
InferenceRequestDetails
Examples
{
...
"details" : {
"type": "DICOM_UID",
"studies": [ ... ]
}
...
} or
{
...
"details" : {
"type": "DICOM_PATIENT_ID",
"PatientID": "..."
}
...
} or
{
...
"details" : {
"type": "ACCESSION_NUMBER",
"accessionNumber": [ ... ]
}
...
} or
{
...
"details" : {
"type": "FHIR_RESOURCE",
"resources": [ ... ]
}
...
}
Remarks
type>
is required.
PatientID>
is required if type
is DicomUid.
studies>
is required if type
is DicomPatientId.
accessionNumber>
is required if type
is AccessionNumber.
Properties
AccessionNumber
Gets or sets Access Number that is used to query the data source.
Used when Type
is AccessionNumber.
[JsonPropertyName("accessionNumber")]
public IList<string>? AccessionNumber { get; set; }
Property Value
FhirAcceptHeader
Gets the HTTP Accept Header used for sending a request.
public string FhirAcceptHeader { get; }
Property Value
FhirFormat
Gets or set the data format used when storing FHIR resources. Defaults to JSON.
[JsonPropertyName("fhirFormat")]
public FhirStorageFormat FhirFormat { get; set; }
Property Value
FhirVersion
Gets or set the data format used when storing FHIR resources. Defaults to R3.
[JsonPropertyName("fhirVersion")]
public FhirVersion FhirVersion { get; set; }
Property Value
PatientId
Gets or sets Patient ID that is used to query the data source.
Used when Type
is DicomPatientId.
[JsonPropertyName("PatientID")]
public string? PatientId { get; set; }
Property Value
Resources
Gets or sets a list of FHIR resources to be retrived.
[JsonPropertyName("resources")]
public IList<FhirResource>? Resources { get; set; }
Property Value
Studies
Gets or sets the DICOM studies to be retrieved.
Used when Type
is DicomUid.
[JsonPropertyName("studies")]
public IList<RequestedStudy>? Studies { get; set; }
Property Value
Type
Gets or sets the type of the inference request.
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
[JsonPropertyName("type")]
public InferenceRequestType Type { get; set; }