Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions app/ferroehr/src/storage/slim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,15 +436,14 @@ mod tests {
typed * 10 > rows,
"only {typed} of {rows} rows hold a typed value"
);
// The CKM examples carry 625 archetype roots below the root, 19 of
// them with an id the recasing does not give back, their own roots,
// and 270 entries.
// The CKM examples move 630 archetype headers below the root and
// carry 267 entries.
assert!(
archetyped >= 600,
archetyped >= 630,
"only {archetyped} archetype headers moved"
);
assert!(
language >= 270 && encoding >= 270,
language >= 267 && encoding >= 267,
"{language} languages, {encoding} encodings"
);
// Every entry names its subject, and every history and event its time.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The synthetic demo dataset now fills every viewer page. One seed (`scripts/sandbox/reseed.sh` and its manifest) loads it into the hosted sandbox every night and into the browser journeys' stack, through the public API alone. It writes patient `PERSON`s with their record subjects, the provider organisation, care teams, a system client and the `ROLE`s that grant, representations, care relationships, the access policy in two versions with a justified and an emergency access between them, EHR access settings, a restriction of processing, a research objection, an access delay, retention periods with something due, attested versions, ADL 1.4 archetypes and a cohort query. On the sandbox, two more demo logins join `ferroehr`: `ferroehr-clinician` and `ferroehr-proxy`. In the journeys' lane, versions are signed with ML-DSA-65+Ed25519 under a committed test key, and the access log is sealed into a signed checkpoint that verifies. The sandbox and development postures admit the access-control grants the dataset writes; the production defaults are unchanged.
26 changes: 24 additions & 2 deletions corpus/templates/ckm/eprescription-fhir.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@
],
"name": {
"_type": "DV_TEXT",
"value": "at0002"
"value": "Tree"
}
},
"name": {
Expand Down Expand Up @@ -1014,7 +1014,7 @@
],
"name": {
"_type": "DV_TEXT",
"value": "at0005"
"value": "Dose amount description"
}
},
"subject": {
Expand All @@ -1024,6 +1024,28 @@
],
"context": {
"_type": "EVENT_CONTEXT",
"other_context": {
"_type": "ITEM_TREE",
"archetype_node_id": "at0001",
"items": [
{
"_type": "ELEMENT",
"archetype_node_id": "at0008",
"name": {
"_type": "DV_TEXT",
"value": "Prescription identifier"
},
"value": {
"_type": "DV_IDENTIFIER",
"id": "example-id"
}
}
],
"name": {
"_type": "DV_TEXT",
"value": "Tree"
}
},
"setting": {
"_type": "DV_CODED_TEXT",
"defining_code": {
Expand Down
Loading
Loading