Skip to content

Latest commit

 

History

History
125 lines (88 loc) · 4.38 KB

PatientPresenceApi.md

File metadata and controls

125 lines (88 loc) · 4.38 KB

DocPlanner\Client\PatientPresenceApi

All URIs are relative to https://www.{domain}/api/v3/integration

Method HTTP request Description
markPatientAbsence DELETE /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/bookings/{booking_id}/presence/patient
markPatientPresence POST /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/bookings/{booking_id}/presence/patient

markPatientAbsence

markPatientAbsence($facility_id, $doctor_id, $address_id, $booking_id)

Mark the absence of the patient on the visit

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new DocPlanner\Client\Api\PatientPresenceApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$booking_id = "booking_id_example"; // string | ID of the Booking

try {
    $apiInstance->markPatientAbsence($facility_id, $doctor_id, $address_id, $booking_id);
} catch (Exception $e) {
    echo 'Exception when calling PatientPresenceApi->markPatientAbsence: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
facility_id string ID of the Facility
doctor_id string ID of a doctor in a facility
address_id string ID of a doctor`s address in a facility
booking_id string ID of the Booking

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.error+docplanner+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

markPatientPresence

markPatientPresence($facility_id, $doctor_id, $address_id, $booking_id)

Mark the presence of the patient on the visit

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new DocPlanner\Client\Api\PatientPresenceApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
$booking_id = "booking_id_example"; // string | ID of the Booking

try {
    $apiInstance->markPatientPresence($facility_id, $doctor_id, $address_id, $booking_id);
} catch (Exception $e) {
    echo 'Exception when calling PatientPresenceApi->markPatientPresence: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
facility_id string ID of the Facility
doctor_id string ID of a doctor in a facility
address_id string ID of a doctor`s address in a facility
booking_id string ID of the Booking

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.error+docplanner+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]