The Patient Selection API allows authorized users to retrieve patient information and generate a token for secure access.
All requests require a valid JWT token from an authenticated provider.
GET /api/patients
Response: Returns a list of patients.
GET /api/patients/search?name=John&dob=1985-01-01
Parameters:
name (string, required) - Patient's first or last namedob (date, required) - Patient's date of birth (YYYY-MM-DD)Response: Returns an array of matching patients.
GET /api/patients/{id}
Parameters:
id (integer, required) - Unique Patient IDResponse: Returns the patient record and an access token.
GET https://binsera.net/api/patients/search?name=John&dob=1985-01-01
Authorization: Bearer {doctor_or_nurse_token}
GET https://binsera.net/api/patients/123
Authorization: Bearer {doctor_or_nurse_token}
[
{
"PatientId": 123,
"FirstName": "John",
"LastName": "Doe",
"DOB": "1985-01-01"
}
]
{
"PatientId": 123,
"FirstName": "John",
"LastName": "Doe",
"DOB": "1985-01-01",
"Token": "eyJhbGciOiJIUzI1NiIsInR..."
}
If the patient is not found, the API returns:
{
"message": "Patient not found"
}
To successfully interact with the API, an application must:
By accessing the API, you agree to the following terms:
For full API terms and conditions, refer to: https://binsera.com/api-terms
This documentation is available at: https://binsera.com/g7-api-documentation