Test Data for TakeCare
It is applicable when using Leyr credentials, as described in the EHR configuration guide.
If you'd like to use your own credentials or are going live, please refer to our TakeCare EHR setup guide.
Patients
When creating the patient with POST
/patients, TakeCare requires a valid Swedish SSN as external_id
. It can be any test ID from the list https://swedish.identityinfo.net/personalidentitynumber/testdata, but we have observed that some of the "younger" SSNs might fail. We recommend using a test ID with a birth date from the 70s or 80s, for example: 197110021834
Otherwise, if you don't feel like creating a patient, you can use the following patient_id
for further testing.
patient_id |
---|
191212121212 |
197110021834 |
194010126672 |
195003042222 |
194912062306 |
195008121856 |
198702072391 |
Other Data for Testing
We have a full available test environment with TakeCare. Feel free to explore any combinations of data returned by the endpoints in the API documentation! Should you need any working combinations, we have discovered the following have the most data available, and are a good starting point for testing:
care_unit_id | resource_id | patient_id |
---|---|---|
10 | 10-991890000019 (LΓ€kare Ehn (lΓ€k)) | 197110021834 |
- Start by calling
GET
/care-units to get care units available for testing. - You can then use resource
id
returned from theGET
/resources endpoint, or healthcare serviceid
returned from theGET
/healthcare-services endpoint, when testingGET
/timeslots. - Try getting patient via
GET
/patients/{patient_id} endpoint using one of the test patient IDs above, or create a new patient viaPOST
/patients on your own. - You can use found timeslots, together with patient created with the
POST
/patients endpoint, to testPOST
/appointments.
Happy coding! π