Overview
The PatientRecordUpdated event signals that patient health information has been modified, ensuring all systems maintain data consistency and audit trails are complete.
Event Schema
Schema Definition
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "PatientRecordUpdated", "type": "object", "required": ["eventId", "eventType", "timestamp", "version", "data"], "properties": { "eventId": { "type": "string", "format": "uuid" }, "eventType": { "type": "string", "const": "PatientRecordUpdated" }, "timestamp": { "type": "string", "format": "date-time" }, "version": { "type": "string" }, "data": { "type": "object", "required": ["patientId", "mrn", "updateType", "updatedBy"], "properties": { "patientId": { "type": "string", "description": "Internal patient identifier" }, "mrn": { "type": "string", "description": "Medical Record Number" }, "updateType": { "type": "string", "enum": ["demographics", "allergy", "medication", "problem", "encounter", "immunization"] }, "resourceType": { "type": "string", "description": "FHIR resource type" }, "resourceId": { "type": "string" }, "updatedBy": { "type": "string", "description": "Provider or user ID who made the update" }, "facilityId": { "type": "string" } } } }}PHI Considerations
This event contains Protected Health Information (PHI):
- Must be encrypted in transit (TLS 1.2+)
- Access logged for HIPAA audit
- Minimum necessary access enforced
- Retention per state/federal requirements
12 properties
eventIdstring<uuid>
requiredeventTypestringconstant:
requiredPatientRecordUpdatedtimestampstring<date-time>
requiredversionstring
requireddataobject
required