From
bafyreic3bi3rzz2evftppae562myynm73peofgj767lcl4ojmewagzywmy
indexed 2026-11-01 20:25 UTC
View this version
To
bafyreifb37axvz3dlnsqw77squ7ht3k67pebwxcphyrlgmnmbb734w52hm
indexed 2026-11-12 03:24 UTC
View this version
Compatibility
breaking 1 breaking change, 0 non-breaking changes.
Breaking changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "health.hats.audit.breakGlass:body.resourceType", sort: "const", value: "AuditEvent" }
Migration guidance
Constraint changes
- ConstraintAdded ConstraintAdded { vertex_id: "health.hats.audit.breakGlass:body.resourceType", sort: "const", value: "AuditEvent" }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "A break-glass record: clinician DID, institution, reason, sections, and window. Written by the institution node that requested emergency access, into its own repo in the patient's health.hats.audit.log space; signed by the clinician, with a transparency receipt. The coordinator logs the same decision before granting and never writes into spaces.",5
"description": "A break-glass claim, or its end: a FHIR R4 AuditEvent, type DICOM 110113 (Security Alert), subtype 110127 (Emergency Override Started) naming the clinician's role and the reason code, or 110138 (Emergency Override Stopped) citing the claim. Signed by whoever broke the glass and recorded in the patient's health.hats.audit.log space before reading, and in their own; the patient's managing app admits them only on a claim it finds there, for the policy's window from the claim's time. The coordinator isn't a signatory.",66
"key": "tid",77
"record": {88
"properties": {99
"prev": {1010
"ref": "health.hats.defs#prev",1111
"type": "ref"1212
},1313
"resourceType": {14
"description": "FHIR resource type of the body. Which FHIR resource carries a break-glass record is not yet decided.",14
"const": "AuditEvent",15
"description": "FHIR resource type.",1516
"type": "string"1617
},1718
"signatures": {1819
"ref": "health.hats.defs#signatures",1920
"type": "ref"2021
}2122
},2223
"required": [2324
"resourceType"2425
],2526
"type": "object"2627
},2728
"type": "record"2829
}2930
},3031
"id": "health.hats.audit.breakGlass",3132
"lexicon": 13233
}