You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errors.Add("Request type is set to `FHIR_RESOURCE` but no FHIR `resources` defined.");
328
328
}
329
-
else
329
+
elseif(details.Resourcesis not null)
330
330
{
331
331
errors.AddRange(details.Resources.Where(resource =>string.IsNullOrWhiteSpace(resource.Type)).Select(resource =>"A FHIR resource type cannot be empty."));
332
332
}
@@ -341,7 +341,7 @@ private static void CheckInputMetadataWithTypDicomUid(InferenceRequestDetails de
341
341
{
342
342
errors.Add("Request type is set to `DICOM_UID` but no `studies` defined.");
343
343
}
344
-
else
344
+
elseif(details.Studiesis not null)
345
345
{
346
346
foreach(varstudyindetails.Studies)
347
347
{
@@ -358,39 +358,40 @@ private static void CheckInputMetadataWithTypDicomUid(InferenceRequestDetails de
0 commit comments