Patients

At least one patient is required for an appointment to be valid

Create a patient

POST https://api.daslab.app/patients

Note: You can add the patient to the appointment as you add it.

Headers

Name
Type
Description

x-api-key

string

Request Body

Name
Type
Description

data

object

{ "email": "[email protected]", "phoneNumber": "+441234567", "birthDate": "26-11-1987", "gender": "male", "addressLine1": "First line", "addressLine2": "Second line", "addressPostcode": "10000", "addressCity": "Berlin", "addressCountry": "DE", "passportNumber": "PASSPORTID", "insuranceCompany": "", "insuranceNumber": "", "notes": "", "bloodThinners": false, "covidSymptoms": true }

lastName

string

firstName

string

addToAppointment

number

The appointmentId you want to add at the same time

Get a patient data

GET https://api.daslab.app/patients/:id

Retrieve patients details, useful since little data is provided over the webhooks. All access to personal data is logged.

Path Parameters

Name
Type
Description

id

string

Patient id

Headers

Name
Type
Description

x-api-key

string

{
    id: 130447
    firstName: "TestName"
    lastName: "TestSurname"
    data: {
        email: "[email protected]", 
        phoneNumber: "+4412345678", 
        birthDate: "11-11-2011", 
        gender: "male",
        passportNumber: ""
    },
    userId: 3,
    accountOwner: false,
    createdAt: "2021-05-12T11:34:24.648Z",   
    updatedAt: "2021-05-12T11:34:24.648Z"
}

Last updated

Was this helpful?