Procedure

Procedure

procedureCodeDateGet

Search for Procedure resources based on a combination of code and date.


/Procedure/[code]&[date]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/[code]&[date]?date=&code="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedureCodeDateGet(date, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureCodeDateGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedureCodeDateGet(date, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureCodeDateGet");
            e.printStackTrace();
        }
    }
}
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *code = code_example; // A code to identify a procedure. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedureCodeDateGetWith:date
    code:code
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'code': code_example // {{String}} A code to identify a procedure.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedureCodeDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedureCodeDateGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var code = code_example;  // String | A code to identify a procedure. (optional) 

            try
            {
                Procedure result = apiInstance.procedureCodeDateGet(date, code);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedureCodeDateGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$date = date_example; // String | When the procedure occurred or is occurring.
$code = code_example; // String | A code to identify a procedure.

try {
    $result = $api_instance->procedureCodeDateGet($date, $code);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedureCodeDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $date = date_example; # String | When the procedure occurred or is occurring.
my $code = code_example; # String | A code to identify a procedure.

eval { 
    my $result = $api_instance->procedureCodeDateGet(date => $date, code => $code);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedureCodeDateGet: $@\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.ProcedureApi()
date = date_example # String | When the procedure occurred or is occurring. (optional)
code = code_example # String | A code to identify a procedure. (optional)

try: 
    api_response = api_instance.procedure_code_date_get(date=date, code=code)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedureCodeDateGet: %s\n" % e)

Parameters

Query parameters
Name Description
date
String
When the procedure occurred or is occurring.
code
String
A code to identify a procedure.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedureGet

Get a Procedure resource based on the resource ID, or search by ID, patient ID, date, status, or code.


/Procedure/

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/?_id=&patient ID=&date=&status=&code="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String id = id_example; // String | Resource ID.
        String patient ID = patient ID_example; // String | Patient ID.
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedureGet(id, patient ID, date, status, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String id = id_example; // String | Resource ID.
        String patient ID = patient ID_example; // String | Patient ID.
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedureGet(id, patient ID, date, status, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // Resource ID. (optional)
String *patient ID = patient ID_example; // Patient ID. (optional)
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *status = status_example; // Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)
String *code = code_example; // A code to identify a procedure. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedureGetWith:id
    patient ID:patient ID
    date:date
    status:status
    code:code
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'id': id_example, // {{String}} Resource ID.
  'patient ID': patient ID_example, // {{String}} Patient ID.
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'status': status_example, // {{String}} Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
  'code': code_example // {{String}} A code to identify a procedure.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedureGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedureGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var id = id_example;  // String | Resource ID. (optional) 
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var status = status_example;  // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional) 
            var code = code_example;  // String | A code to identify a procedure. (optional) 

            try
            {
                Procedure result = apiInstance.procedureGet(id, patient ID, date, status, code);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedureGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$id = id_example; // String | Resource ID.
$patient ID = patient ID_example; // String | Patient ID.
$date = date_example; // String | When the procedure occurred or is occurring.
$status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
$code = code_example; // String | A code to identify a procedure.

try {
    $result = $api_instance->procedureGet($id, $patient ID, $date, $status, $code);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedureGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $id = id_example; # String | Resource ID.
my $patient ID = patient ID_example; # String | Patient ID.
my $date = date_example; # String | When the procedure occurred or is occurring.
my $status = status_example; # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
my $code = code_example; # String | A code to identify a procedure.

eval { 
    my $result = $api_instance->procedureGet(id => $id, patient ID => $patient ID, date => $date, status => $status, code => $code);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedureGet: $@\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.ProcedureApi()
id = id_example # String | Resource ID. (optional)
patient ID = patient ID_example # String | Patient ID. (optional)
date = date_example # String | When the procedure occurred or is occurring. (optional)
status = status_example # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)
code = code_example # String | A code to identify a procedure. (optional)

try: 
    api_response = api_instance.procedure_get(id=id, patient ID=patient ID, date=date, status=status, code=code)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedureGet: %s\n" % e)

Parameters

Query parameters
Name Description
_id
String
Resource ID.
patient ID
String
Patient ID.
date
String
When the procedure occurred or is occurring.
status
String
Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
code
String
A code to identify a procedure.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedurePatientCodeDateGet

Search for Procedure resources based on a combination of patient ID, code, and date.


/Procedure/[patient]&[code]&[date]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/[patient]&[code]&[date]?date=&code=&patient ID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String code = code_example; // String | A code to identify a procedure.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientCodeDateGet(date, code, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientCodeDateGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String code = code_example; // String | A code to identify a procedure.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientCodeDateGet(date, code, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientCodeDateGet");
            e.printStackTrace();
        }
    }
}
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *code = code_example; // A code to identify a procedure. (optional)
String *patient ID = patient ID_example; // Patient ID. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedurePatientCodeDateGetWith:date
    code:code
    patient ID:patient ID
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'code': code_example, // {{String}} A code to identify a procedure.
  'patient ID': patient ID_example // {{String}} Patient ID.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedurePatientCodeDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedurePatientCodeDateGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var code = code_example;  // String | A code to identify a procedure. (optional) 
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 

            try
            {
                Procedure result = apiInstance.procedurePatientCodeDateGet(date, code, patient ID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedurePatientCodeDateGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$date = date_example; // String | When the procedure occurred or is occurring.
$code = code_example; // String | A code to identify a procedure.
$patient ID = patient ID_example; // String | Patient ID.

try {
    $result = $api_instance->procedurePatientCodeDateGet($date, $code, $patient ID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedurePatientCodeDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $date = date_example; # String | When the procedure occurred or is occurring.
my $code = code_example; # String | A code to identify a procedure.
my $patient ID = patient ID_example; # String | Patient ID.

eval { 
    my $result = $api_instance->procedurePatientCodeDateGet(date => $date, code => $code, patient ID => $patient ID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedurePatientCodeDateGet: $@\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.ProcedureApi()
date = date_example # String | When the procedure occurred or is occurring. (optional)
code = code_example # String | A code to identify a procedure. (optional)
patient ID = patient ID_example # String | Patient ID. (optional)

try: 
    api_response = api_instance.procedure_patient_code_date_get(date=date, code=code, patient ID=patient ID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedurePatientCodeDateGet: %s\n" % e)

Parameters

Query parameters
Name Description
date
String
When the procedure occurred or is occurring.
code
String
A code to identify a procedure.
patient ID
String
Patient ID.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedurePatientCodeGet

Search for Procedure resources based on a combination of patient ID and code.


/Procedure[patient]&[code]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure[patient]&[code]?patient ID=&code="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String patient ID = patient ID_example; // String | Patient ID.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedurePatientCodeGet(patient ID, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientCodeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String patient ID = patient ID_example; // String | Patient ID.
        String code = code_example; // String | A code to identify a procedure.
        try {
            Procedure result = apiInstance.procedurePatientCodeGet(patient ID, code);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientCodeGet");
            e.printStackTrace();
        }
    }
}
String *patient ID = patient ID_example; // Patient ID. (optional)
String *code = code_example; // A code to identify a procedure. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedurePatientCodeGetWith:patient ID
    code:code
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'patient ID': patient ID_example, // {{String}} Patient ID.
  'code': code_example // {{String}} A code to identify a procedure.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedurePatientCodeGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedurePatientCodeGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 
            var code = code_example;  // String | A code to identify a procedure. (optional) 

            try
            {
                Procedure result = apiInstance.procedurePatientCodeGet(patient ID, code);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedurePatientCodeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$patient ID = patient ID_example; // String | Patient ID.
$code = code_example; // String | A code to identify a procedure.

try {
    $result = $api_instance->procedurePatientCodeGet($patient ID, $code);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedurePatientCodeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $patient ID = patient ID_example; # String | Patient ID.
my $code = code_example; # String | A code to identify a procedure.

eval { 
    my $result = $api_instance->procedurePatientCodeGet(patient ID => $patient ID, code => $code);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedurePatientCodeGet: $@\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.ProcedureApi()
patient ID = patient ID_example # String | Patient ID. (optional)
code = code_example # String | A code to identify a procedure. (optional)

try: 
    api_response = api_instance.procedure_patient_code_get(patient ID=patient ID, code=code)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedurePatientCodeGet: %s\n" % e)

Parameters

Query parameters
Name Description
patient ID
String
Patient ID.
code
String
A code to identify a procedure.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedurePatientDateGet

Search for Procedure resources based on a combination of patient ID and date.


/Procedure/[patient]&[date]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/[patient]&[date]?date=&patient ID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientDateGet(date, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientDateGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientDateGet(date, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientDateGet");
            e.printStackTrace();
        }
    }
}
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *patient ID = patient ID_example; // Patient ID. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedurePatientDateGetWith:date
    patient ID:patient ID
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'patient ID': patient ID_example // {{String}} Patient ID.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedurePatientDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedurePatientDateGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 

            try
            {
                Procedure result = apiInstance.procedurePatientDateGet(date, patient ID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedurePatientDateGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$date = date_example; // String | When the procedure occurred or is occurring.
$patient ID = patient ID_example; // String | Patient ID.

try {
    $result = $api_instance->procedurePatientDateGet($date, $patient ID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedurePatientDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $date = date_example; # String | When the procedure occurred or is occurring.
my $patient ID = patient ID_example; # String | Patient ID.

eval { 
    my $result = $api_instance->procedurePatientDateGet(date => $date, patient ID => $patient ID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedurePatientDateGet: $@\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.ProcedureApi()
date = date_example # String | When the procedure occurred or is occurring. (optional)
patient ID = patient ID_example # String | Patient ID. (optional)

try: 
    api_response = api_instance.procedure_patient_date_get(date=date, patient ID=patient ID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedurePatientDateGet: %s\n" % e)

Parameters

Query parameters
Name Description
date
String
When the procedure occurred or is occurring.
patient ID
String
Patient ID.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedurePatientStatusDateGet

Search for Procedure resources based on a combination of patient ID, status, and date.


/Procedure/[patient]&[status]&[date]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/[patient]&[status]&[date]?date=&status=&patient ID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientStatusDateGet(date, status, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientStatusDateGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        String patient ID = patient ID_example; // String | Patient ID.
        try {
            Procedure result = apiInstance.procedurePatientStatusDateGet(date, status, patient ID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientStatusDateGet");
            e.printStackTrace();
        }
    }
}
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *status = status_example; // Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)
String *patient ID = patient ID_example; // Patient ID. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedurePatientStatusDateGetWith:date
    status:status
    patient ID:patient ID
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'status': status_example, // {{String}} Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
  'patient ID': patient ID_example // {{String}} Patient ID.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedurePatientStatusDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedurePatientStatusDateGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var status = status_example;  // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional) 
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 

            try
            {
                Procedure result = apiInstance.procedurePatientStatusDateGet(date, status, patient ID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedurePatientStatusDateGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$date = date_example; // String | When the procedure occurred or is occurring.
$status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
$patient ID = patient ID_example; // String | Patient ID.

try {
    $result = $api_instance->procedurePatientStatusDateGet($date, $status, $patient ID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedurePatientStatusDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $date = date_example; # String | When the procedure occurred or is occurring.
my $status = status_example; # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
my $patient ID = patient ID_example; # String | Patient ID.

eval { 
    my $result = $api_instance->procedurePatientStatusDateGet(date => $date, status => $status, patient ID => $patient ID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedurePatientStatusDateGet: $@\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.ProcedureApi()
date = date_example # String | When the procedure occurred or is occurring. (optional)
status = status_example # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)
patient ID = patient ID_example # String | Patient ID. (optional)

try: 
    api_response = api_instance.procedure_patient_status_date_get(date=date, status=status, patient ID=patient ID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedurePatientStatusDateGet: %s\n" % e)

Parameters

Query parameters
Name Description
date
String
When the procedure occurred or is occurring.
status
String
Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
patient ID
String
Patient ID.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedurePatientStatusGet

Search for Procedure resources based on a combination of patient ID and status.


/Procedure[patient]&[status]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure[patient]&[status]?patient ID=&status="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String patient ID = patient ID_example; // String | Patient ID.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        try {
            Procedure result = apiInstance.procedurePatientStatusGet(patient ID, status);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientStatusGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String patient ID = patient ID_example; // String | Patient ID.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        try {
            Procedure result = apiInstance.procedurePatientStatusGet(patient ID, status);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedurePatientStatusGet");
            e.printStackTrace();
        }
    }
}
String *patient ID = patient ID_example; // Patient ID. (optional)
String *status = status_example; // Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedurePatientStatusGetWith:patient ID
    status:status
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'patient ID': patient ID_example, // {{String}} Patient ID.
  'status': status_example // {{String}} Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedurePatientStatusGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedurePatientStatusGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var patient ID = patient ID_example;  // String | Patient ID. (optional) 
            var status = status_example;  // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional) 

            try
            {
                Procedure result = apiInstance.procedurePatientStatusGet(patient ID, status);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedurePatientStatusGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$patient ID = patient ID_example; // String | Patient ID.
$status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

try {
    $result = $api_instance->procedurePatientStatusGet($patient ID, $status);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedurePatientStatusGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $patient ID = patient ID_example; # String | Patient ID.
my $status = status_example; # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

eval { 
    my $result = $api_instance->procedurePatientStatusGet(patient ID => $patient ID, status => $status);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedurePatientStatusGet: $@\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.ProcedureApi()
patient ID = patient ID_example # String | Patient ID. (optional)
status = status_example # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)

try: 
    api_response = api_instance.procedure_patient_status_get(patient ID=patient ID, status=status)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedurePatientStatusGet: %s\n" % e)

Parameters

Query parameters
Name Description
patient ID
String
Patient ID.
status
String
Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate


procedureStatusDateGet

Search for Procedure resources based on a combination of status and date.


/Procedure/[status]&[date]

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json,application/xml"\
"//Procedure/[status]&[date]?date=&status="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProcedureApi;

import java.io.File;
import java.util.*;

public class ProcedureApiExample {

    public static void main(String[] args) {
        
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        try {
            Procedure result = apiInstance.procedureStatusDateGet(date, status);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureStatusDateGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProcedureApi;

public class ProcedureApiExample {

    public static void main(String[] args) {
        ProcedureApi apiInstance = new ProcedureApi();
        String date = date_example; // String | When the procedure occurred or is occurring.
        String status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
        try {
            Procedure result = apiInstance.procedureStatusDateGet(date, status);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProcedureApi#procedureStatusDateGet");
            e.printStackTrace();
        }
    }
}
String *date = date_example; // When the procedure occurred or is occurring. (optional)
String *status = status_example; // Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)

ProcedureApi *apiInstance = [[ProcedureApi alloc] init];

[apiInstance procedureStatusDateGetWith:date
    status:status
              completionHandler: ^(Procedure output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Procedure = require('procedure');

var api = new Procedure.ProcedureApi()
var opts = { 
  'date': date_example, // {{String}} When the procedure occurred or is occurring.
  'status': status_example // {{String}} Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.procedureStatusDateGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class procedureStatusDateGetExample
    {
        public void main()
        {

            var apiInstance = new ProcedureApi();
            var date = date_example;  // String | When the procedure occurred or is occurring. (optional) 
            var status = status_example;  // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional) 

            try
            {
                Procedure result = apiInstance.procedureStatusDateGet(date, status);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProcedureApi.procedureStatusDateGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProcedureApi();
$date = date_example; // String | When the procedure occurred or is occurring.
$status = status_example; // String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

try {
    $result = $api_instance->procedureStatusDateGet($date, $status);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProcedureApi->procedureStatusDateGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProcedureApi;

my $api_instance = WWW::SwaggerClient::ProcedureApi->new();
my $date = date_example; # String | When the procedure occurred or is occurring.
my $status = status_example; # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

eval { 
    my $result = $api_instance->procedureStatusDateGet(date => $date, status => $status);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProcedureApi->procedureStatusDateGet: $@\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.ProcedureApi()
date = date_example # String | When the procedure occurred or is occurring. (optional)
status = status_example # String | Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown. (optional)

try: 
    api_response = api_instance.procedure_status_date_get(date=date, status=status)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProcedureApi->procedureStatusDateGet: %s\n" % e)

Parameters

Query parameters
Name Description
date
String
When the procedure occurred or is occurring.
status
String
Procedure status. Values include reparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, and unknown.

Responses

Status: 200 - Successful operation

Status: 400 - Bad request. The error was encountered when parsing the content into the appropriate FHIR resource.

Status: 401 - Unauthorized. Possible causes
  • a token failed authorization
  • a user could not be found

Status: 403 - Forbidden. Possible causes
  • a code or query parameter was not supported
  • a code may have had no valid equivalent in the EHR
  • a user does not have enough permissions to perform a certain action
  • a query was invalid, for example a search token value ended in an escape character

Status: 404 - Resource not found. Possible causes
  • an operation was not supported
  • the FHIR resource was not implemented by the product adapter
  • the FHIR resource was not found
  • the service was unable to generate the FHIR resource possibly because a required element was not provided
  • the specified patient could not be found in the EHR
  • the paging information that was sent to the product was not correct indicating that the request for the page could not be honored

Status: 405 - Method not allowed. Possible cause
  • resource does not exist

Status: 412 - Precondition failed. Possible causes
  • certain precondition checks failed, for example a version mismatch
  • an update could not be processed as the If-Match tag didn't match the version

Status: 413 - Request entity too large. Possible cause
  • a request could not be honored because it was too expensive for the server to execute, for example a search that would return a million records

Status: 422 - Unprocessable entity. Possible cause
  • an exception was thrown upon violated constraint, for example missing or invalid element for resource or if an update on a resource did not happen

Status: 429 - Too many requests. Possible causes
  • too many concurrent FHIR requests

Status: 500 - Internal server error. Possible causes
  • the system was missing configuration information, for example if a URL to a service was missing or a security group was not found for the user
  • none of the available exceptions are appropriate