Architecture
Healthcare System Observability Tied to Clinical Workflows
Dashboards full of CPU graphs do not tell you that discharge summaries stopped reaching primary care offices an hour ago. We design observability around the workflows clinicians and patients depend on, without turning telemetry into another PHI store.
At a glance
- Standards & integrations
- Interface engines (Mirth Connect, Rhapsody, Cloverleaf) metrics and logsFHIR server metrics and Subscription statusMessage brokers (Kafka, Service Bus, SQS)Cloud provider monitoring (CloudWatch, Azure Monitor, Cloud Monitoring)SIEM platforms for security-relevant eventsPaging and incident management tools
- Typical deliverables
Critical user journey map with SLIs and SLOs
Error budget policy agreed by engineering and product
OpenTelemetry instrumentation and collector configuration
PHI-safe telemetry standard with redaction rules
System observability: overview
Monitoring answers questions you already knew to ask: is the server up, is the disk full. Observability lets you answer new ones during an incident: why are lab results for one facility delayed, which dependency is adding latency to medication reconciliation, did yesterday's release change anything for patients on the night shift. In distributed healthcare systems, where a single clinical action crosses an EHR, an interface engine, several services, and a partner API, that capability decides whether an incident takes ten minutes or ten hours to diagnose.
We build on OpenTelemetry so traces, metrics, and logs share context and are not locked to one vendor. Trace context propagates across HTTP, message brokers, and, where possible, interface engine hops, so a result can be followed from ORU receipt to clinician inbox. On top of that we define service level objectives in workflow terms, such as the share of finalized critical results delivered within a set number of minutes, and use error budgets to decide when reliability work outranks feature work.
Healthcare telemetry carries a specific risk: it is very easy to log PHI. Request bodies, HL7 segments, FHIR resources, and exception messages routinely contain names, dates of birth, and diagnoses. Once in a logging vendor, that data has its own retention, access, and BAA questions. We design PHI-safe telemetry from the start, with allow-listed attributes, redaction in the collector, identifiers instead of content, and a separate, access-controlled audit trail for actual PHI access.
Engineering challenges in system observability
01PHI leaking into logs and traces
Debug logging of full HL7 messages or FHIR payloads, exception messages containing patient names, and span attributes with MRNs turn the observability stack into an uncontrolled copy of clinical data.
02Silent integration failures
An interface stops sending, a subscription errors out, or a queue fills slowly. Infrastructure dashboards stay green because nothing crashed; the missing data is only noticed by clinicians.
03No end-to-end view
Each team sees its own service. When a referral takes hours to appear, nobody can see which of eight hops added the delay, because trace context stops at the broker or interface engine.
04Alert fatigue
Hundreds of threshold alerts on CPU, memory, and individual errors page on-call engineers at night for issues with no user impact, while real degradations go unnoticed in the noise.
05Reliability targets nobody owns
Uptime commitments exist in contracts but are not translated into measurable objectives, so teams have no shared signal for when to slow releases and fix reliability.
Technical capabilities
What our system observability work covers
OpenTelemetry instrumentation
We instrument services with OpenTelemetry SDKs and auto-instrumentation, propagate W3C trace context through HTTP and message headers, and run collectors that route telemetry to your chosen backends.
Workflow-level SLOs and error budgets
We define service level indicators that reflect clinical and patient experience, such as result delivery latency, appointment booking success, or FHIR API availability, and set objectives with error budget policies agreed by engineering and product.
Interface and feed monitoring
Expected-volume baselines per feed, hour, and day of week, queue depth and age alerts, acknowledgment tracking for HL7, and status checks for FHIR Subscriptions detect integration problems that never throw errors.
PHI-safe telemetry pipelines
Attribute allow-lists, collector-level redaction processors, hashing or tokenizing identifiers where correlation is needed, and automated scanning for PHI patterns in telemetry.
Alerting on symptoms, not causes
Alerts fire on SLO burn rates and user-facing symptoms, with cause-level signals kept for dashboards and diagnosis. Each alert links to a runbook.
Synthetic and business monitoring
Synthetic transactions exercise login, booking, and API flows with test patients, and business metrics such as daily admissions processed are compared with expected ranges.
Incident practice and review
Incident roles, communication templates, and blameless post-incident reviews turn outages into tracked improvements.
Software architecture
Reference architecture for system observability
Instrumented services and integration points emit telemetry through collectors that enforce PHI rules before data reaches storage and analysis tools.
- Instrumentation
- OpenTelemetry SDKs
- Auto-instrumentation
- Interface engine hooks
- Synthetic probes
- Collection
- OTel Collector
- Redaction processors
- Sampling
- Attribute allow-lists
- Storage
- Metrics store
- Trace store
- Log store
- Separate audit store
- Analysis and response
- SLO dashboards
- Burn-rate alerts
- On-call paging
- Runbooks
Technology stack for system observability
- Instrumentation
- OpenTelemetryW3C Trace ContextMicrometereBPF-based agents
- Open-source backends
- PrometheusGrafanaTempoLokiJaeger
- Commercial platforms
- DatadogNew RelicDynatraceSplunk ObservabilityAzure Monitor
- SLO tooling
- SlothOpenSLONobl9Grafana SLO
- Incident response
- PagerDutyOpsgenieincident.ioStatuspage
Security & compliance
Security and compliance considerations for system observability
What regulations require
- If telemetry sent to an observability vendor contains PHI, that vendor is maintaining PHI on your behalf and a Business Associate Agreement is required under 45 CFR 164.502(e); designing telemetry to exclude PHI reduces that exposure.
- 45 CFR 164.312(b) requires audit controls that record and examine activity in systems containing ePHI; operational telemetry does not replace this requirement and should be kept distinct from the audit trail.
- HIPAA documentation requirements at 45 CFR 164.316(b)(2)(i) require retaining required policies and documentation for six years, which affects how incident records and security activity reviews are kept.
Recommended engineering practices
- Allow-list telemetry attributes and redact in the collector, so a developer's debug statement cannot ship PHI to a vendor.
- Use opaque internal identifiers or keyed hashes in traces instead of MRNs, names, or dates of birth.
- Restrict access to raw logs and traces by role, and set retention to the minimum operationally useful period.
- Scan telemetry streams for PHI patterns and alert on matches as a security finding.
- Only send telemetry to vendors with BAAs and HIPAA-eligible services if there is any chance PHI may appear.
Regulatory summaries are educational, not legal advice. HIPAA compliance is an organizational program; software can support safeguards but cannot by itself make an organization compliant. Systems that handle PHI need their own risk analysis, vendor evaluation, and Business Associate Agreements before deployment.
Integration capabilities
Integrations we engineer for system observability
- Interface engines (Mirth Connect, Rhapsody, Cloverleaf) metrics and logs
- FHIR server metrics and Subscription status
- Message brokers (Kafka, Service Bus, SQS)
- Cloud provider monitoring (CloudWatch, Azure Monitor, Cloud Monitoring)
- SIEM platforms for security-relevant events
- Paging and incident management tools
- Status pages for customers and internal users
Engineering methodology
How we approach system observability
- 1
Map critical user journeys
With clinical and product stakeholders we identify the workflows whose failure matters most and how success is measured for each.
- 2
Define SLIs, SLOs, and policies
We set indicators and objectives per journey, along with error budget policies that spell out what happens when budgets are spent.
- 3
Instrument and propagate context
Services, brokers, and integration points are instrumented with OpenTelemetry, with PHI rules enforced in collectors from the start.
- 4
Rebuild alerting
Noisy threshold alerts are replaced with burn-rate and symptom alerts, each with an owner and runbook.
- 5
Practice and refine
Game days and post-incident reviews test detection and response, and SLOs are adjusted as real data accumulates.
Business use cases
Where system observability delivers value
Critical result delivery SLO
A lab platform measures time from result finalization to clinician notification and alerts when the burn rate threatens the monthly objective.
Detecting a stalled ADT feed
Volume baselines flag that admissions from one facility dropped to zero on a weekday morning, catching a failed interface before census reports go out wrong.
Removing PHI from logs
A telemetry audit finds full HL7 messages in debug logs; collector redaction and allow-lists remove them, and existing logs are purged under retention policy.
Tracing a slow referral flow
End-to-end traces across portal, services, and partner API show a single retry loop adding minutes to each referral submission.
Technical comparison
| Aspect | Traditional monitoring | Observability with SLOs |
|---|---|---|
| Primary signal | Host and resource thresholds | User-facing workflow indicators |
| Integration failures | Detected when processes crash | Detected by volume, age, and acknowledgment anomalies |
| Diagnosis across hops | Manual log correlation | Distributed traces with shared context |
| Alerting | Many static thresholds | Burn-rate alerts against error budgets |
| Release decisions | Based on opinion | Guided by remaining error budget |
| PHI handling | Often logs full payloads | Allow-listed attributes and collector redaction |
Typical deliverables
What a system observability engagement produces
- Critical user journey map with SLIs and SLOs
- Error budget policy agreed by engineering and product
- OpenTelemetry instrumentation and collector configuration
- PHI-safe telemetry standard with redaction rules
- Interface and feed monitoring dashboards
- Burn-rate alerting with linked runbooks
- Incident response and post-incident review templates
PHI-safe observability checklist
- Telemetry attributes are allow-listed, not block-listed
- Collectors redact known PHI fields before export
- Traces use internal identifiers, not MRNs or names
- Observability vendors with any PHI exposure are under a BAA
- Audit trail for PHI access is separate from operational logs
- Log retention is defined and enforced
- Every page-worthy alert has a runbook and owner
Cost and timeline factors
What shapes system observability cost and timeline
- Number of services and integration points to instrument
- Existing monitoring tools and whether to consolidate
- Amount of PHI currently in logs that must be remediated
- Number of critical journeys needing SLOs
- Telemetry volume and retention requirements
- On-call maturity and incident process
Typical timeline
Defining SLOs and instrumenting the most critical journeys typically takes several weeks. Broad OpenTelemetry coverage, PHI remediation, and alerting redesign across a larger estate usually take a quarter or more.
Read the cost guideSystem observability FAQs
Why use OpenTelemetry for healthcare observability?
OpenTelemetry is a vendor-neutral standard for traces, metrics, and logs, so instrumentation does not need rewriting if you change backends. Its collector lets you enforce redaction and sampling centrally before data leaves your environment, which matters for PHI. Shared trace context also makes it possible to follow a clinical transaction across services, brokers, and APIs.
What are good SLOs for a clinical system?
Good SLOs describe outcomes users notice. Examples include the share of critical results delivered to clinicians within a defined number of minutes, FHIR API requests succeeding within a latency target, or appointment bookings completing successfully. Set targets from measured performance and clinical input, and pair each with an error budget policy that says what happens when the budget runs out.
How do you keep PHI out of logs and traces?
Design for it rather than cleaning up later. Allow-list the attributes services may emit, redact in the OpenTelemetry collector, use internal identifiers or keyed hashes instead of patient identifiers, and never log full HL7 or FHIR payloads in production. Scan telemetry for PHI patterns and treat matches as security findings.
How do you detect an interface that stops sending messages?
Track expected message volume per feed by hour and day of week, and alert when actual volume falls well below the baseline. Add queue depth and message age alerts, HL7 acknowledgment tracking, and status checks for FHIR Subscriptions. Periodic reconciliation against the source system catches gaps that volume checks miss.
Related engineering topics
- Healthcare DevOps EngineeringCI/CD pipelines, infrastructure as code, release engineering, and change management that let healthcare teams ship frequently without surprising clinical operations.Read more
- System ScalabilityCapacity planning, caching, partitioning, and load shedding for healthcare systems facing Monday-morning clinic peaks, enrollment surges, and bulk data jobs.Read more
- Event-Driven ArchitectureBrokers, event contracts, ordering, and idempotency for HL7 v2 and FHIR event streams, so out-of-order and duplicate clinical messages are handled by design.Read more
- Healthcare Software MaintenanceOngoing support, patching, monitoring, and incremental improvement for healthcare applications and integrations that clinicians rely on every day.Read more
- Security ArchitectureZero trust, identity-centric access, STRIDE threat modeling, encryption, and audit design that support HIPAA safeguards without relying on a network perimeter.Read more
- Disaster RecoveryRTO and RPO tiers tied to clinical impact, ransomware-resilient backups, tested failover, and downtime procedures aligned with the HIPAA contingency plan standard.Read more
Discuss your healthcare engineering project
Tell us about the system, the integrations it depends on, and the constraints you are working within. A senior engineer will review it and reply with questions, not a sales script.