getDocument
/allData/{mrn}
Usage and SDK Samples
curl -X GET "https://localhost:9092/csp/user/allData/{mrn}?startdate=&enddate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AllDataApi;
import java.io.File;
import java.util.*;
public class AllDataApiExample {
public static void main(String[] args) {
AllDataApi apiInstance = new AllDataApi();
String mrn = mrn_example; // String |
String startdate = startdate_example; // String |
String enddate = enddate_example; // String |
try {
apiInstance.getDocument(mrn, startdate, enddate);
} catch (ApiException e) {
System.err.println("Exception when calling AllDataApi#getDocument");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AllDataApi;
public class AllDataApiExample {
public static void main(String[] args) {
AllDataApi apiInstance = new AllDataApi();
String mrn = mrn_example; // String |
String startdate = startdate_example; // String |
String enddate = enddate_example; // String |
try {
apiInstance.getDocument(mrn, startdate, enddate);
} catch (ApiException e) {
System.err.println("Exception when calling AllDataApi#getDocument");
e.printStackTrace();
}
}
}
String *mrn = mrn_example; //
String *startdate = startdate_example; // (optional)
String *enddate = enddate_example; // (optional)
AllDataApi *apiInstance = [[AllDataApi alloc] init];
[apiInstance getDocumentWith:mrn
startdate:startdate
enddate:enddate
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var CoreClinicalDataSet = require('core_clinical_data_set');
var api = new CoreClinicalDataSet.AllDataApi()
var mrn = mrn_example; // {String}
var opts = {
'startdate': startdate_example, // {String}
'enddate': enddate_example // {String}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.getDocument(mrn, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getDocumentExample
{
public void main()
{
var apiInstance = new AllDataApi();
var mrn = mrn_example; // String |
var startdate = startdate_example; // String | (optional)
var enddate = enddate_example; // String | (optional)
try
{
apiInstance.getDocument(mrn, startdate, enddate);
}
catch (Exception e)
{
Debug.Print("Exception when calling AllDataApi.getDocument: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\AllDataApi();
$mrn = mrn_example; // String |
$startdate = startdate_example; // String |
$enddate = enddate_example; // String |
try {
$api_instance->getDocument($mrn, $startdate, $enddate);
} catch (Exception $e) {
echo 'Exception when calling AllDataApi->getDocument: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AllDataApi;
my $api_instance = WWW::SwaggerClient::AllDataApi->new();
my $mrn = mrn_example; # String |
my $startdate = startdate_example; # String |
my $enddate = enddate_example; # String |
eval {
$api_instance->getDocument(mrn => $mrn, startdate => $startdate, enddate => $enddate);
};
if ($@) {
warn "Exception when calling AllDataApi->getDocument: $@\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.AllDataApi()
mrn = mrn_example # String |
startdate = startdate_example # String | (optional)
enddate = enddate_example # String | (optional)
try:
api_instance.get_document(mrn, startdate=startdate, enddate=enddate)
except ApiException as e:
print("Exception when calling AllDataApi->getDocument: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
mrn* |
String
Required
|
Query parameters
Name | Description |
---|---|
startdate |
String
|
enddate |
String
|