Platform
One dataset.
The entry form, its rules, its computed values, its reports and the boundary around identifiable data all read the same dataset.
Real lines, from the NELA dataset.
Read by
- The entry form
- Its validation
- The reports
- The boundary around identifiable data
One dataset, five readers.
1
The entry form
The entry form reads the dataset.
"kind": "number",
"type": "Number",2
Its validation
Validation runs as the clinician types, from the dataset’s own rules.
"level": "warn",
"op": "outsideRangeValue",3
Its computed values
Values such as age on arrival are computed from other fields.
yearsBetween(root.date_of_birth, root.admission_datetime)4
The reports
Dashboards, saved reports, metrics and pages built from your datasets.
"kind": "number",
"title": "Pulse rate",5
The boundary around identifiable data
Fields that identify a person are flagged in the dataset, not guessed at afterwards.
"pidProtected": trueType in the form. The dataset answers.
On the left, lines from the NELA dataset, quoted from the file, with every stretch left out marked by an ellipsis. On the right, the things that read it. Change a value and the lines that read it are marked, with their line numbers beside the field. A rule that fires turns amber.
JSON schema: nela-v12.json (EmLap v12), excerpt
{"admission_datetime": {"kind": "datetime","rules": [{"level": "critical","message": "Admission date and time is required","op": "required","type": "builtin"},{"level": "critical","message": "Admission date must be on or after 1 April 2025","op": "gte","other": "2025-04-01","type": "builtin"},{"level": "critical","message": "Admission date must be before 1 April 2026","op": "lt","other": "2026-04-01","type": "builtin"},{"level": "error","message": "Admission date cannot be in the future","op": "notFutureDate","type": "builtin"}],…},…"date_of_birth": {"kind": "date","rules": [{"level": "error","message": "Date of Birth is required","op": "required","type": "builtin"},{"level": "error","message": "Date of Birth must be on or before today","op": "notFutureDate","type": "builtin"},{"expression": "!root.admission_datetime || yearsBetween(root.date_of_birth, root.admission_datetime) >= 18","level": "error","message": "Patient must be 18 years or older on arrival","type": "expr"},…],"title": "Date of Birth","ui": {"type": "Date","props": {"suffix": {"expression": "yearsBetween(root.date_of_birth, root.admission_datetime) != null ? 'Age on arrival: ' + yearsBetween(root.date_of_birth, root.admission_datetime) + ' years' : ''","type": "expr"}}},"pidProtected": true},…"pulse_rate": {"kind": "number","rules": [{"level": "error","message": "Pulse is required","op": "required","type": "builtin"},{"level": "error","max": 200,"message": "Pulse must be between 10 and 200 bpm","min": 10,"op": "rangeValue","type": "builtin"},{"level": "warn","max": 145,"message": "BPM is usually between 55 and 145.","min": 55,"op": "outsideRangeValue","type": "builtin"},…],"title": "Pulse rate","ui": {"type": "Number","props": {"inputAffixes": {"suffix": {"text": "bpm"}},…}}},…}
Entry form
Age on arrival: 77 years
Read by lines 40 to 41, 46 to 47, 51, 53, 63.
Age on arrival is computed by line 63.
Read by lines 7 to 8, 13 to 15, 20 to 22, 27 to 28.
WarningBPM is usually between 55 and 145.
Read by lines 76 to 77, 82 to 85, 90 to 93.
Firing now: lines 90 to 93.
Report
A chart of the pulse field, drawn from records as they arrive.
Drawn from the number field declared on line 72.
Identifiable fields
Fields flagged pidProtected stay out of what the assistant is given.
What the team sees
- Date of birth
- 1948-06-02
- Pulse rate
- 38 bpm
What the assistant is given
- Date of birth
- withheld
- Pulse rate
- 38 bpm
Flagged in this dataset, and withheld from the assistant
- date_of_birth
- forename
- local_patient_id
- nhs_number
- postcode
- surname
Read by line 68.
The excerpt was checked with the Crown dataset validator, which reported it valid. The values you type are not stored. The 140 pulse readings in the chart are illustrative.
Delta
Data collection. Team members create and edit records against the dataset.
Each record gets a record number. Access follows organisation, workspace and team.
- Create and edit records
- A record number for each record
- Access by organisation, workspace and team
- Validation as the clinician types
Records, as they arrive
- R-2620Unit K, Complete
- R-2197Unit I, Complete
- R-2076Unit I, Complete
- R-2648Unit G, Needs review
- R-2815Unit D, Complete
- R-2701Unit K, Complete
Records by value
Pulse
Dashboards, saved reports, metrics and pages built from your datasets.
Reports can be published for people who do not sign in. Ask for a dashboard in plain English.
- Dashboards and saved reports
- Metrics and pages
- Published for people who do not sign in
Ask, without the identifiers.
Ask a question in plain English and get an answer from your own records, within your permissions. Every AI answer streams as it is produced.
Your question
In plain English
Say what you want to know about your records.
The boundary
Identifiable fields stay out
Identifiable fields, as flagged in the dataset, stay out of model prompts, tool results and logs.
The answer
From your own records
Within your permissions, and streamed as it is produced.
Guarded in the database.
Organisation, workspace and team boundaries are enforced by row-level security in the database itself.
A route that forgets a check cannot hand over data, because the database applies the rule as the calling user.
Who is asking
- R-3831Team A, our organisationReturnedWithheld by the database
- R-3299Team A, our organisationReturnedWithheld by the database
- R-3199Team A, our organisationReturnedWithheld by the database
- R-3073Team A, our organisationReturnedWithheld by the database
- R-3210Team A, our organisationReturnedWithheld by the database
- R-3457Team B, our organisationReturnedWithheld by the database
- R-3069Team B, our organisationReturnedWithheld by the database
- R-3876Team B, our organisationReturnedWithheld by the database
- R-3559Team B, our organisationReturnedWithheld by the database
- R-3621Team C, other organisationReturnedWithheld by the database
- R-3691Team C, other organisationReturnedWithheld by the database
- R-3332Team C, other organisationReturnedWithheld by the database
5 of 12 records are returned. A route that forgets a check still cannot hand over the rest.
Bring us your dataset.
Tell us what you collect today.
