At this level
health.hats · 2- health.hats.defs defs Definitions shared across HATS records: the amendment chain and attestations (Record Integrity).
- health.hats.inbox space A person's inbox, one per protection level: notices to them, each a FHIR R4 Communication citing the record it's about by CID, such as a request, an answer, a revocation, an ask, or a break-glass claim. Anyone may write; its owner and their delegates in force may read. Notices go to n; free text a notice cites, such as a request's or an emergency's stated reason, goes to r.
- health.hats.audit.breakGlass record 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
- health.hats.audit.log space The access ledger, one per protection level: requests and their answers, delegations, stays' ends, answers to asks, break-glass claims, the passes the patient's managing app approved, reads, and legal disclosure records. Anyone may write their own account of what they did; the patient and their delegates in force may read. The patient's managing app decides each access from it; the coordinator never reads it.
- health.hats.fhir.adverseEvent record A FHIR R4 AdverseEvent resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.allergyIntolerance record A FHIR R4 AllergyIntolerance resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.auditEvent record A FHIR R4 AuditEvent resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.carePlan record A FHIR R4 CarePlan resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.clinicalImpression record A FHIR R4 ClinicalImpression resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.communication record A FHIR R4 Communication resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.composition record A FHIR R4 Composition resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.condition record A FHIR R4 Condition resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.consent record A FHIR R4 Consent resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.deviceUseStatement record A FHIR R4 DeviceUseStatement resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.diagnosticReport record A FHIR R4 DiagnosticReport resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.documentReference record A FHIR R4 DocumentReference resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.encounter record A FHIR R4 Encounter resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.flag record A FHIR R4 Flag resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.immunization record A FHIR R4 Immunization resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.immunizationRecommendation record A FHIR R4 ImmunizationRecommendation resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.location record A FHIR R4 Location resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.measureReport record A FHIR R4 MeasureReport resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.medicationAdministration record A FHIR R4 MedicationAdministration resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.medicationDispense record A FHIR R4 MedicationDispense resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.medicationRequest record A FHIR R4 MedicationRequest resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.medicationStatement record A FHIR R4 MedicationStatement resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.observation record A FHIR R4 Observation resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.organization record A FHIR R4 Organization resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case. An institution's own description of itself, one per account: its NUCC taxonomy type, its endpoints, and its contacts.
- health.hats.fhir.patient record A FHIR R4 Patient resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.practitionerRole record A FHIR R4 PractitionerRole resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case. Published by an institution, one per person who works there, keyed by that person's DID: a patient's managing app reads a role by key. Forwards are contained Endpoints (docs/institution/people.md#when-someone-leaves).
- health.hats.fhir.procedure record A FHIR R4 Procedure resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.provenance record A FHIR R4 Provenance resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.serviceRequest record A FHIR R4 ServiceRequest resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.fhir.task record A FHIR R4 Task resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.
- health.hats.institution.endRole procedure An administrator ends someone's role at their institution, when the person didn't choose to go, or records a leaving by revoking the credential. The node writes the ended PractitionerRole, pointing its forward where the administrator says, and a Provenance naming the administrator. Authenticated as the administrator (service auth), who must hold institution.administrator there.
- health.hats.institution.leaveRole procedure A clinician leaves an institution: their role there ends now. It's their own act, honored at once, since giving up a role only removes access; an administrator revokes the role credential after. The institution's node writes the ended PractitionerRole and a Provenance naming the clinician. Authenticated as the clinician (service auth).
- health.hats.institution.pneumatic.alert space Clinical alerts routed between departments or institutions, acknowledged by a Communication in response. Authority is the institution's DID; the skey is the partner institution's DID, or a unit or care team within one institution.
- health.hats.institution.pneumatic.bedRequest space Bed availability and capacity coordination, with no PHI: Location status, MeasureReport capacity, and the ask as a Task. Authority is the institution's DID; the skey is the partner institution's DID, or a unit or care team within one institution.
- health.hats.institution.pneumatic.handoff space On-call or care handoffs: the outgoing clinician's Communication and the incoming clinician's response. Authority is the institution's DID; the skey is the partner institution's DID, or a unit or care team within one institution.
- health.hats.institution.pneumatic.incident space Incident and emergency coordination: patient-safety events (AdverseEvent) and emergency alerts (Communication). Authority is the institution's DID; the skey is the partner institution's DID, or a unit or care team within one institution.
- health.hats.institution.public space Referrals, transfers, and consults between two institutions: the requester's ServiceRequest and the receiver's Task. Authority is the requesting institution's DID; the skey is the partner institution's DID.
- health.hats.institution.sharingGrant record A patient-signed pre-authorization of a sharing class: a FHIR R4 Consent (scope patient-privacy) under the HATS profile. Stored in the patient's health.hats.audit.log space; read by the patient's managing app when it answers checkUserAccess.
- health.hats.records.advanceDirectives space IPS section 42348-3: advance directives. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.alerts space IPS section 104605-1: alerts. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.allergies space IPS section 48765-2: allergies and intolerances. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.consent space Clinical consents (to treatment, to procedures). Access and sharing grants live in health.hats.audit.log, not here. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.encounters space Encounter notes and discharge summaries. ER write-back lands here. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.functionalStatus space IPS section 47420-5: functional status. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.immunizations space IPS section 11369-6: immunizations. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.medicalDevices space IPS section 46264-8: medical devices. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.medications space IPS section 10160-0: medication summary. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.pastProblems space IPS section 11348-0: history of past problems. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.patient space The subject of the IPS document (FHIR Patient); required by Patient/$summary, so it opens with any emergency access. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.patientStory space IPS section 81338-6: patient story. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records. IPS allows any resource here; only DocumentReference is declared, since collections may not be a wildcard.
- health.hats.records.planOfCare space IPS section 18776-5: plan of care. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.pregnancy space IPS section 10162-6: history of pregnancy. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.problems space IPS section 11450-4: problems. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.procedures space IPS section 47519-4: history of procedures. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.results space IPS section 30954-2: results. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.socialHistory space IPS section 29762-2: social history. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.
- health.hats.records.vitalSigns space IPS section 8716-3: vital signs. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records.