DasLab documentation
  • What is DasLab?
  • DasLab Integrations
  • DasLab for developers
  • Webhook events
  • REST API
    • Locations
    • Products
    • Appointments
    • Patients
    • Transactions
    • Samples/Results
  • HL7 for labs
  • Docspring
  • Security center / updates
  • Developer Support
  • DasLab Guides
    • DasLab for partners
    • Set-up instructions
      • Setting up a provider/app
      • Setting up as a client
        • Software setup
        • Features descriptions
        • Training for clients
      • Setting up as a lab
        • Software setup
        • Features descriptions
        • Training for labs
      • Setting up a vaccination location
      • Training for vaccination
        • Setting up as a doctor / sampling location
          • Software setup
          • Features list
          • Training for samplers
    • Downloading a report of appointments and results
    • Trainings for partners
  • Ordering a test
Powered by GitBook
On this page
  • Create a patient
  • Get a patient data

Was this helpful?

  1. REST API

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": "myemail@gmail.com", "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: "testemail@daslab.app", 
        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"
}
PreviousAppointmentsNextTransactions

Last updated 3 years ago

Was this helpful?