Clinical record import
Import hospital stays and clinical events into an EnaResearch study from a CSV file or a FHIR R4 Bundle, with a check run first and row-level errors.
- Admin panel
Instead of entering clinical records one by one, the study team can import them from a CSV file or a FHIR R4 Bundle. Every row goes through the same rules as manual entry. You always check the file first: invalid rows are not saved and are listed by line number.
Required role
- A team member with participant management permission, in a study with a clinical record scope.
Import
Open the study → Participants → Import clinical records.
Choose the Format (CSV or FHIR) and upload the File or paste the Content.
Click Check. The summary says, for example, "18 of 20 rows are valid", and Import errors lists each invalid row with its line number.
Click Import N rows to save the valid rows. Fix invalid rows and upload them again.
A file can have at most 5000 rows. Participants are identified by their pseudonym (for example P001); identity data is not read.
CSV columns
| Column | Content |
|---|---|
participant | Pseudonym, e.g. P001 (required) |
record | episode (hospital stay) or event (required) |
type | For stays inpatient or day_case; for events the event type, e.g. surgery |
start | ISO 8601 with time zone (required) |
end | ISO 8601 with time zone |
precision, name, status, timezone, source_ref, code_system, code_value | Optional |
FHIR R4 Bundle
- Encounter becomes a hospital stay. Only inpatient (IMP, ACUTE, NONAC) and short-stay (SS) encounters with status finished or in-progress are imported.
- Procedure becomes a clinical event; the type comes from the
https://enaresearch.com/fhir/event-typecoding. - The participant comes from
subject.identifier.value(the pseudonym). - Times need at least day precision (YYYY-MM-DD). Other resource types are not supported.
Fictional example
participant,record,type,start,end,name
P001,episode,inpatient,2026-03-02T08:00:00+01:00,2026-03-06T11:00:00+01:00,
P001,event,surgery,2026-03-03T09:30:00+01:00,2026-03-03T12:10:00+01:00,Sample operationEvery import is written to the audit log as a clinical record import.
Related articles
Can't find what you need?
Our support team can help, from setting up a study to exporting a dataset. Please include your organization code.
Clinical records
Record hospital stays and clinical events such as surgery, procedures and complications per EnaResearch participant, with history and entered-in-error marking.
Variables
Define EnaResearch variables without code: metric summaries in a window, time to threshold, length of stay, event duration and time between two moments.