diagnosticReportCategoryDateGet
Search for DiagnosticReport resources based on a combination of category and date. For more information on the syntax used for searches, go to Searching.
/DiagnosticReport/[category]&[date]
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json,application/xml"\
"//DiagnosticReport/[category]&[date]?date=&category (code)="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DiagnosticReportApi;
import java.io.File;
import java.util.*;
public class DiagnosticReportApiExample {
public static void main(String[] args) {
DiagnosticReportApi apiInstance = new DiagnosticReportApi();
String date = date_example; // String | The clinically relevant time of the report.
String category (code) = category (code)_example; // String | Which diagnostic discipline/department created the report.
try {
DiagnosticReport result = apiInstance.diagnosticReportCategoryDateGet(date, category (code));
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagnosticReportApi#diagnosticReportCategoryDateGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DiagnosticReportApi;
public class DiagnosticReportApiExample {
public static void main(String[] args) {
DiagnosticReportApi apiInstance = new DiagnosticReportApi();
String date = date_example; // String | The clinically relevant time of the report.
String category (code) = category (code)_example; // String | Which diagnostic discipline/department created the report.
try {
DiagnosticReport result = apiInstance.diagnosticReportCategoryDateGet(date, category (code));
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagnosticReportApi#diagnosticReportCategoryDateGet");
e.printStackTrace();
}
}
}
String *date = date_example; // The clinically relevant time of the report. (optional)
String *category (code) = category (code)_example; // Which diagnostic discipline/department created the report. (optional)
DiagnosticReportApi *apiInstance = [[DiagnosticReportApi alloc] init];
[apiInstance diagnosticReportCategoryDateGetWith:date
category (code):category (code)
completionHandler: ^(DiagnosticReport output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var DiagnosticReportForLaboratoryResultsReporting = require('diagnostic_report_for_laboratory_results_reporting');
var api = new DiagnosticReportForLaboratoryResultsReporting.DiagnosticReportApi()
var opts = {
'date': date_example, // {{String}} The clinically relevant time of the report.
'category (code)': category (code)_example // {{String}} Which diagnostic discipline/department created the report.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.diagnosticReportCategoryDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class diagnosticReportCategoryDateGetExample
{
public void main()
{
var apiInstance = new DiagnosticReportApi();
var date = date_example; // String | The clinically relevant time of the report. (optional)
var category (code) = category (code)_example; // String | Which diagnostic discipline/department created the report. (optional)
try
{
DiagnosticReport result = apiInstance.diagnosticReportCategoryDateGet(date, category (code));
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DiagnosticReportApi.diagnosticReportCategoryDateGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiDiagnosticReportApi();
$date = date_example; // String | The clinically relevant time of the report.
$category (code) = category (code)_example; // String | Which diagnostic discipline/department created the report.
try {
$result = $api_instance->diagnosticReportCategoryDateGet($date, $category (code));
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DiagnosticReportApi->diagnosticReportCategoryDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DiagnosticReportApi;
my $api_instance = WWW::SwaggerClient::DiagnosticReportApi->new();
my $date = date_example; # String | The clinically relevant time of the report.
my $category (code) = category (code)_example; # String | Which diagnostic discipline/department created the report.
eval {
my $result = $api_instance->diagnosticReportCategoryDateGet(date => $date, category (code) => $category (code));
print Dumper($result);
};
if ($@) {
warn "Exception when calling DiagnosticReportApi->diagnosticReportCategoryDateGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DiagnosticReportApi()
date = date_example # String | The clinically relevant time of the report. (optional)
category (code) = category (code)_example # String | Which diagnostic discipline/department created the report. (optional)
try:
api_response = api_instance.diagnostic_report_category_date_get(date=date, category (code)=category (code))
pprint(api_response)
except ApiException as e:
print("Exception when calling DiagnosticReportApi->diagnosticReportCategoryDateGet: %s\n" % e)
Parameters
| Name | Description |
|---|---|
| date |
String
The clinically relevant time of the report.
|
| category (code) |
String
Which diagnostic discipline/department created the report.
|