patientBirthdateFamilyGet
Search for Patient resources based on a combination of patient birthdate and family name.
/patient/[birthdate]&[family]
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json,application/xml"\
"//patient/[birthdate]&[family]?birthdate=&family="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PatientApi;
import java.io.File;
import java.util.*;
public class PatientApiExample {
public static void main(String[] args) {
PatientApi apiInstance = new PatientApi();
String birthdate = birthdate_example; // String | Patient date of birth. For more information on format, go to Patient Birthdate.
String family = family_example; // String | Patient family (last) name.
try {
Patient result = apiInstance.patientBirthdateFamilyGet(birthdate, family);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PatientApi#patientBirthdateFamilyGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.PatientApi;
public class PatientApiExample {
public static void main(String[] args) {
PatientApi apiInstance = new PatientApi();
String birthdate = birthdate_example; // String | Patient date of birth. For more information on format, go to Patient Birthdate.
String family = family_example; // String | Patient family (last) name.
try {
Patient result = apiInstance.patientBirthdateFamilyGet(birthdate, family);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PatientApi#patientBirthdateFamilyGet");
e.printStackTrace();
}
}
}
String *birthdate = birthdate_example; // Patient date of birth. For more information on format, go to Patient Birthdate. (optional)
String *family = family_example; // Patient family (last) name. (optional)
PatientApi *apiInstance = [[PatientApi alloc] init];
[apiInstance patientBirthdateFamilyGetWith:birthdate
family:family
completionHandler: ^(Patient output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var Patient = require('patient');
var api = new Patient.PatientApi()
var opts = {
'birthdate': birthdate_example, // {{String}} Patient date of birth. For more information on format, go to Patient Birthdate.
'family': family_example // {{String}} Patient family (last) name.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.patientBirthdateFamilyGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class patientBirthdateFamilyGetExample
{
public void main()
{
var apiInstance = new PatientApi();
var birthdate = birthdate_example; // String | Patient date of birth. For more information on format, go to Patient Birthdate. (optional)
var family = family_example; // String | Patient family (last) name. (optional)
try
{
Patient result = apiInstance.patientBirthdateFamilyGet(birthdate, family);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling PatientApi.patientBirthdateFamilyGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiPatientApi();
$birthdate = birthdate_example; // String | Patient date of birth. For more information on format, go to Patient Birthdate.
$family = family_example; // String | Patient family (last) name.
try {
$result = $api_instance->patientBirthdateFamilyGet($birthdate, $family);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PatientApi->patientBirthdateFamilyGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PatientApi;
my $api_instance = WWW::SwaggerClient::PatientApi->new();
my $birthdate = birthdate_example; # String | Patient date of birth. For more information on format, go to Patient Birthdate.
my $family = family_example; # String | Patient family (last) name.
eval {
my $result = $api_instance->patientBirthdateFamilyGet(birthdate => $birthdate, family => $family);
print Dumper($result);
};
if ($@) {
warn "Exception when calling PatientApi->patientBirthdateFamilyGet: $@\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.PatientApi()
birthdate = birthdate_example # String | Patient date of birth. For more information on format, go to Patient Birthdate. (optional)
family = family_example # String | Patient family (last) name. (optional)
try:
api_response = api_instance.patient_birthdate_family_get(birthdate=birthdate, family=family)
pprint(api_response)
except ApiException as e:
print("Exception when calling PatientApi->patientBirthdateFamilyGet: %s\n" % e)
Parameters
Query parameters
| Name | Description |
|---|---|
| birthdate |
String
Patient date of birth. For more information on format, go to <a href="http://hl7.org/fhir/us/core/STU5.0.1/SearchParameter-us-core-patient-birthdate.html">Patient Birthdate</a>.
|
| family |
String
Patient family (last) name.
|