Test data

Here you can find information about the test data that is available in COSMIC when you use Cambio Open Services. Each API has its own section where you will find details about the data in the message, and one or more example messages.

APIs

List of APIs available using Cambio Open Services
Chemistry Lab Reports
Journal Notes
Diagnosis
Contacts
Patient

Chemistry Lab Reports

Chemistry Lab Reports contains all lab reports for a given patient and for a given time period. A description of the contents can be found here.
Cambio Open Services APIs is fetching the data from COSMIC. The available patient ids and date intervals for testing the service is found below.
Remember that when using certain APIs (APIs found in the Patient's API product for example) authorisation must be done using BankID. More information about this is found here

Response message number 1.
Response message number 2.
Response message number 3.
Response message number 4.

Response message number 1
This is a simple response with one result.
Patient: Ulla Alm, 19861106-2384
Start action date: 2017-05-01T00:00:00
End action date: 2017-05-19T23:00:00
This will give all responses where the time of the request for a test is in the given date interval.
Chemistry Lab Response number 1


Response message number 2
In this response we've added a number of special characters in the name of the unit and in the commentary fields.
Patient: Ulla Alm, 19861106-2384
Start action date: 2017-05-20T00:00:00
End action date: 2017-05-22T23:00:00
This will give all responses where the time of the request for a test is in the given date interval.
Chemistry Lab Response number 2


Response message number 3
In this response we've added a result that is outside the reference interval.
Patient: Ulla Alm, 19861106-2384
Start action date: 2017-05-23T00:00:00
End action date: 2017-05-25T23:00:00
This will give all responses where the time of the request for a test is in the given date interval.
Chemistry Lab Response number 3


Response message number 4
Now we have combined all the previous responses into one response containing all results.
Patient: Ulla Alm, 19861106-2384
Start action date: 2017-05-01T00:00:00
End action date: 2017-05-25T23:00:00
This will give all responses where the time of the request for a test is in the given date interval.
Chemistry Lab Response number 4

Back to top of page


Journal Notes

The Journal Notes API delivers all journal notes registered for a given patient.
A description of the contents can be found here

Cambio Open Services APIs is fetching the data from COSMIC. The available patient ids and date intervals for testing the service is found below.

Response
This is a simple response containing multiple journal notes
Patient: Ulla Alm, 19861106-2384
Journal Notes
Back to top of page



Diagnosis

Using the Diagnosis API you will get all diagnosises for a given patient.
A description of the contents can be found here

Cambio Open Services APIs is fetching the data from COSMIC. The available patient ids and date intervals for testing the service is found below.

Response
This is a simple response contaning multiple diagnoses
Patient: Ulla Alm, 19861106-2384
Diagnoses
Back to top of page



Contacts

Using the Contacts API will give you all contacts of a given patient.
A description of the contents can be found here

Cambio Open Services APIs is fetching the data from COSMIC. The available patient ids and date intervals for testing the service is found below.

Response
This is a simple response containing multiple contacts
Patient: Ulla Alm, 19861106-2384
Contacts
Back to top of page



Patients

By using the Patient API you will get all demographic data of a given patient.
A description of the contents can be found here

Cambio Open Services APIs is fetching the data from COSMIC. The available patient ids and date intervals for testing the service is found below.

Response
This is a simple response containing demographic data for a given patient.
Patient: Ulla Alm, 19861106-2384
Patient
Back to top of page