Test data in COS Sandbox
We have populated the COS Sandbox with synthetic, yet realistic, test data. Our goal is to provide relevant test data for each available API in COS Sandbox. To support this, five general test patients are available in the Sandbox environment for testing and validating API functionality.
The following criteria were considered when creating the test data:
Realistic data: A typical number of standard entries in a patient’s medical record.
Minimum and maximum values: Explore threshold values.
Special characters: For example, Å, Ä, Ö to see that character encoding works as intended.
If your company proceeds with a certification with Cambio, additional test patients and specific test data will be created and tailored to your company’s needs.
Good to Know: General COSMIC Structure
COSMIC is built around a defined set of structured clinical terms that describe everything from patient measurements and care contacts to diagnoses and medications. These terms form the foundation for how information is stored and interpreted across the system. Each term has a consistent meaning and structure, ensuring that all modules reference and interpret data in the same way.
COSMIC consists of interconnected modules, each responsible for a specific part of the clinical workflow. While each module focuses on its own domain, they operate on shared patient data and reference the same underlying information models and terminology. This shared foundation enables data entered in one module to be reused across other relevant parts of the system, ensuring consistency, reducing duplication, and supporting a unified view of patient information.
COSMIC terminology is aligned with established clinical coding systems, most commonly SNOMED CT, to support interoperability. When making or consuming API requests, it is therefore important to consider which coding systems and versions are used to ensure that clinical meaning is preserved across systems.
Available Test Data
Four of the general test patients provided are adults and contain identical data. The last of the test patients is a child and therefore includes age‑appropriate variations to the data. The test data is presented in the same categories as the APIs in link Explore APIs.
NOTE! Additional test records may be created by other Sandbox users. However, the predefined test data outlined below will remain intact and accessible.
NOTE! When extracting test data, ensure that the date filter spans from 2022-01-01 to the current date to guarantee that all data described below is captured.
Test Patients
Richard Lindeskog - 19460907-3277
Bianca Fredriksson - 19800107-2381
Lars Björk - 19490214-2696
Kim Sundström - 19770220-2396
Leah Nordberg(CHILD) - 20210317-2389
Test Doctor
Evelina Eklind - Username : UTBLakare13
Test Units
Medicinavdelning 1 *
HSA_Identitet - SE162321000024-0016318
HSA_Vårdgivare - SE162321000024-0001
HSA_Vårdenhet - SE162321000024-0016313
Medicinmottagning 3
HSA_Identitet - SE162321000024-0016322
HSA_Vårdgivare - SE162321000024-0001
HSA_Vårdenhet - SE162321000024-0016313
Barnmottagningen
HSA_Identitet - SE162321000024-0016301
HSA_Vårdgivare - SE162321000024-0001
HSA_Vårdenhet - SE162321000024-0016340
*Test patients are currently located at Medicinavdelning 1
Administration APIs
Bed overview
The following patients have been admitted at Medicinavdelning 1 :
Richard Lindeskog 19460907-3277 in room 1 bed 1
Bianca Fredriksson 19800107-2381 in room 2 bed 1
Lars Björk 19490214-2696 in room 3 bed 1
Kim Sundström 19770220-2396 in room 3 bed 2
Leah Nordberg(BARN) 20210317-2389 in room 3 bed 3

Test patients in the COSMIC-window Enhetsöversikt at Medicinavdelning 1 in the COS Sandbox.
Booked Appointment
All patients have times booked with Doctor Evelina Eklind
CHILD – Barnmottagning
2027-02-25 (connected to referral from Medicinavdelning 1)
2027-06-09
2027-12-09
ADULT - Medicinmottagning 3 (Planned appointment times vary for patients but dates are the same)
2027-02-28 (connected to referral from Medicinavdelning 1)
2027-06-30
2027-12-04
2028- 05-31

Booked times for test patients presented in the COSMIC-window Paitentöversikt in the COS Sandbox.
Care Contacts
Patients have an ongoing contact(vårdtillfälle) at the Medicinavdelning 1 until they are discharged. Patients also have planned/booked care contacts that coincide with their booked appointments.

Care contacts for test patient Lindeskog presented in the COSMIC-window Kontaktöversikt in the COS Sandbox.
Invoice
Data not available.
Patient Information
Each of the test patients above has a personnummer, a first and last name, a unique address, and a phone number.

Patient information for test patient Nordberg presented in the COSMIC-window Patientkort in the COS Sandbox.
Payment notice
Data not available
Video meeting
Data not available
Emergency APIs
National Early Warning Score (NEWS)
3 NEWS2 entries have been made for each of the 5 patients.
Richard Lindeskog - Score = 1
Bianca Fredriksson - Score = 0
Lars Björk - Score = 2
Kim Sundström - Score = 0
Leah Nordberg (CHILD) - Score = 0
Vital Signs
The following vitals (Kliniska Parametrar) have been entered for each of the five patients.
NEWS2, Respiratory rate, Sp02(pox), Blood pressure, Pulse, AVCPU, Temperature, Weight, Height, BMI

Vital parameters for a Child test patient presented in the COSMIC-window Paitentöversikt in the COS Sandbox.
Medical Record APIs
Attention Signal
All of the patients have been registered to have an allergy(överkänslighet) to Latex and an ongoing MRSA infection.

Important information for test patient Nordberg presented in the COSMIC-window Uppmärksamhetssignal in the COS Sandbox.
Chemistry lab results
All five patients have had the same tests done.
Test : P-Kalium (P‑Potassium)
Result : 3,9 mmol/L - "Kalium inom referensintervallet."
Test : P-Natrium (P‑Sodium)
Result : 140 mmol/L - "Natrium inom referensintervallet."

Chemistry lab results presented in the COSMIC-window Svar provbunden in the COS Sandbox.
Diagnosis
The primary diagnosis for each test patient is R104X : Abdominal pain, unspecified (R104X, Buksmärtor UNS).

Recent diagnosises for a test patient presented in the COSMIC-window Paitentöversikt in the COS Sandbox.
Journal notes
The following clinical visit note(Besöksanteckning) is available in each test patient medical record.
Vårdkontakts uppgifter - Aktuellt – "Inkommer akut med tilltagande buksmärta sedan cirka 6 timmar. Började som molande värk och har sedan ökat i intensitet. VAS 8."
Status - Allmäntillstånd – "smärtpåverkad"
Status - Buk – Avföring – Typ 3 – som en korv med sprikor på dess yta
Sammanfattande bedömning – Bedömning – "Smärtlindring intravenöst. Prover tagna, inväntar provsvar"
Diagnos och åtgärdskod – Huvuddiagnos: R104X, Buksmärtor UNS
Planering – "Akut buköversikt"

Short besöksanteckning presented in the patient Journal in the COS Sandbox.
Medical Perscriptions
ADULT test patients
Felodipin STADA, 10mg – 1 depottablet x 1 tv – Administered at the unit/department
Enalapril Krka, 10mg – 1 tablett x 1 tv – Administered at the unit/department
Simvastatin Krka, 20 mg – 0 tablett+ 0 tablett + 1 tablett + 0 tablett tv – Administered at the unit/department
Sertralin Bluefish, 50mg – 1 tablett x 1 tv – Administered at the unit/department
Ringer-Acetat Baxter Viaflo – 1000 ml vb tv – Administered at the unit/department
Alvedon, 500 mg – 2 tabbletter vb tv, max8/d – Administered at the unit/department
Gaviscon – 10-20 ml vb tv – Prescription
CHILD test patient
Ipren, 60 mg – 1 suppositorium x 3 tv - Prescription
Alvedon, 125 mg – 1 suppositorium x 4 tv - Prescription
Ondansetron orala dispersa 2 mg – 1 tablett vb – Administered at the unit/department

Test patient perscriptions presented in the COSMIC-window läkemedelslistan in the COS Sandbox.
Radiology
ADULT test patients
Test : Abdominal overview (acute abdomen) | Fluoroscopy (Buköversikt (akut buk) | Genomlysning)
Results : "Buköversikt genomförd. Översiktlig gasfördelning utan tydliga tecken på perforation. Ingen säker stas eller avvikande tarmluftsnivåer. Klinisk korrelation rekommenderas."
CHILD
Test : Abdominal ultrasound | Ultrasound (Ulj buk | Ultraljud)
Result : "Ultraljud av buken visar normala förhållanden. Lever, gallvägar, pankreas, mjälte och njurar bedöms utan anmärkningsvärda fynd. Ingen fri vätska eller tecken till dilatation av tarm. Bilden är sammantaget förenlig med normal buköversikt vid ultraljud."

Radiology results presented in the COSMIC-window Radiologisvar in the COS Sandbox.
Referral
ADULT test patient
Private referral to Medicinavdelning 1 that has been accepted and is ongoing.
Consultation referral to Medicinmottagning 3 has been answered, an appointment has been booked and connected to this referral.
CHILD test patient
Private referral to Medicinavdelning 1 that has been accepted and is ongoing
Consultation referral to Barnmottagningen that has accepted, an appointment has been booked and connected to this referral.

Consultation referrals sent from Medicinavdelning 1, private referrals not pictured.