Browse all tools and resources →

Read me Page help ↗

AUTOGOVERN HEALTH · FREE REFERENCE ARCHITECTURE

The EHR platform.
Governed from the start.

A detailed architecture for the clinical record, the services around it, and the decisions that keep healthcare AI accountable.

Free to read and download. No account, email or sign-in required.

Proposed reference design. AutoGovern currently provides healthcare governance metadata records and public learning; it is not an EHR and does not connect to or monitor live patient records. The report explains the additional work required.

THE PLATFORM AT A GLANCE

Clinical transactions at the center.

All connections below are proposed. Access controls apply at every boundary; AI returns through a review gate and the clinical API.

People and applicationsPatients & proxies · Clinicians & staff · Reviewers & operations
Identity and access boundaryGateway · Authentication · Contextual authorization · Service identity
Clinical EHR and authoritative dataIdentity · Encounters · Notes · Orders · Results · Medications · Care coordinationClinical database · Documents & imaging · Terminology · Protected audit
External exchangeIntegration engine
FHIR / HL7 / DICOM
Partner reconciliation
Controlled AIScoped retrieval
Approved inference
Human review → clinical API
Governance evidenceMinimized references
Risks & release decisions
Monitoring & incidents
Logical overview. Detailed boundaries, data flows, failure handling and deployment zones follow in sections 3–7.

Version 1.0 · September 7, 2026 · Free public reference architecture

This report defines a proposed electronic health record (EHR) platform across clinical operations, data, integrations, security, deployment and governance. It explains where AI can assist, what must govern it, and how AutoGovern could support the resulting evidence. It is a design reference, not a claim that AutoGovern is an EHR or that these clinical capabilities have been built.

The reference setting is a US provider organization with outpatient and inpatient care, multiple facilities, external laboratories, pharmacies, imaging providers, payers and patient access. An outpatient-only implementation can omit inpatient modules. Specialty care, local law, contracts and certification objectives require further design. Capacity figures, service targets and delivery estimates below are planning assumptions, not statutory requirements or validated production results.

1. What the EHR platform is responsible for

An EHR maintains the longitudinal patient record and supports the work of delivering care: identifying patients, documenting encounters, placing orders, receiving results, administering medication and coordinating follow-up. It also enables authorized exchange and patient access. The record combines structured clinical data with narrative documents and links to imaging. See the ONC EHR overview.

The proposed platform has three connected responsibilities:

Patients and proxies use a portal; clinicians use encounter and longitudinal-chart views; nurses use task lists and medication administration; pharmacists verify medication workflows; registration teams manage identity and appointments; health-information-management staff manage corrections and release of information. Clinical leaders, privacy/security teams, auditors and operations teams have separate oversight views. An auditor does not automatically need chart access.

Success means correct care-team access to a reliable record, safe completion of clinical tasks, traceable changes, usable patient access and demonstrable control performance. A dashboard score alone cannot establish any of these outcomes.

2. Functional architecture and clinical modules

ModuleCore responsibilities and recordsGovernance and safety requirements
Registration and identityEnterprise patient index; local identifiers; demographics; contact details; identity verification; duplicate candidatesTrained review of ambiguous matches; reversible merge process; provenance for identifier changes; no automatic AI merge
Scheduling and accessReferrals; appointments; resources; eligibility; waitlists; interpreter and accessibility needsFair access rules; avoid hidden algorithmic exclusion; consented communications; measured referral completion
Encounters and longitudinal chartVisits; problems; allergies; vitals; histories; procedures; notes; care-team assignmentsPatient/encounter context displayed throughout; author and time; amendments preserve prior signed content
Clinical ordersComputerized provider order entry; laboratory, imaging and procedure requests; order sets; cancellationCredential and scope checks; signed order state; duplicate checks; controlled order-set publishing; acknowledgement tracking
Results and clinical inboxPreliminary/final/corrected results; abnormal flags; routing; critical-result acknowledgement; follow-up tasksNamed recipient and backup; escalation on missed acknowledgement; corrected results reopen affected tasks; delivery is not clinical review
Medication managementReconciliation; prescribing; pharmacy verification; dispensing interfaces; electronic medication administration record (eMAR)Allergy and interaction checks; dose/unit validation; patient/drug verification; controlled overrides; no autonomous AI prescribing
Nursing and inpatient careAdmission/discharge/transfer; observations; handoffs; care plans; device observations; bed managementLocal escalation protocols; validated device mapping; timestamps and units; downtime medication reconciliation
Imaging and documentsImaging orders and reports; PACS/VNA links; scanned documents; attachmentsIdentity reconciliation; malware scanning; signed report versions; protect identifiers in images and metadata
Care coordinationReferrals; discharge plans; transitions; outreach; multidisciplinary tasksAssigned owner, due date and closure evidence; unresolved handoff visibility; patient preferences
Patient and proxy portalRecord access; appointments; messages; questionnaires; payments; amendment and release requestsVerified identities; explicit proxy relationships and expiry; minors/sensitive-record rules; accessible design; request tracking
Revenue cycleCoding; charges; claims; remittance; denials; payer authorization statusClinical documentation remains authoritative; coder review of suggestions; separation of clinical and financial decisions
Population health and reportingApproved registries; quality measures; operational analytics; public-health interfaces; research extractsDefined cohorts, denominator lineage and permitted purpose; separate research approvals; reconciliation to source records

Each module has a product owner, a clinical or operational accountable owner, a data steward, a risk record and an acceptance test set. Appointment scheduling can tolerate a different outage pattern from medication administration; classify criticality by workflow rather than applying one availability target to everything.

3. Complete logical architecture

Read the architecture from users to clinical transactions to data. External exchange, AI execution and governance cross these layers only through authorized interfaces. The public education site occupies a separate, anonymous content boundary and has no connection to patient records.

Patients & proxiesPortal / mobile
Clinicians & staffClinical workspace
Reviewers & operationsGovernance workspace
Identity, device, network and application trust boundary
EdgeTLS · WAF · rate limits · API gateway · request correlation
Identity providerMFA · service identity · authorization policy
Clinical domain servicesIdentity · Encounters · Notes · Orders · Results · Medications · Tasks · Consent/permissions · Release of information · Billing
Clinical relational DB
Documents / PACS / VNA
Terminology / search
Transactional outbox → event busValidated consumers · reconciliation
Integration engineHL7 v2 · FHIR · DICOM · payer links
Controlled AI gatewayPolicy + scoped retrieval · approved model endpoints · draft + review gate
Minimized evidence export
External partners
EHR API for approved writes
GovernanceInventory → risks → evaluations → approvals → monitoring
Protected auditSecurity operations · incident response · recovery
Logical flow only; not every reconciliation and monitoring path is drawn. External exchange, AI execution and governance cross layers only through the authorized interfaces named above.

The API gateway authenticates requests and limits abuse, but domain services also authorize each record operation. The policy decision uses organization, actor, role, patient relationship, purpose, sensitivity, workflow and applicable permissions. Never trust organization or patient identifiers merely because the browser supplied them.

Start with modular services or a modular application whose transaction boundaries are explicit. Split independently scaled integrations, inference and analytics from the clinical transaction path. A separate microservice for every FHIR resource would add operational complexity without necessarily improving safety. Publish architecture decisions explaining storage boundaries, deployment choices and failure behavior.

FHIR is an exchange specification, not an authorization system. Security must surround and enforce its use. See HL7 FHIR R4 security guidance. The diagram's gateway and governance components are proposed design controls; they are not evidence that a vendor already implements them.

4. Physical deployment, capacity and trust zones

Use separate production and nonproduction accounts/projects, credentials, encryption keys, networks and storage. Nonproduction starts with synthetic records; any authorized use of real data needs its own reviewed controls. A deployment environment label alone is not isolation.

ZoneComponentsBoundary and operational decision
Public contentFree guides, architecture report, static assetsAnonymous content only; no chart, tenant evidence or clinical credentials; public cache allowed
Edge and accessLoad balancer, web application firewall, identity integration, portal and clinical front endsTLS termination with protected downstream transport; session protections; no PHI in URLs or public caches
Clinical applicationDomain services, authorization enforcement, terminology adaptersPrivate service connectivity; workload identities; narrowly scoped service permissions; monitored egress
Clinical dataHighly available relational cluster, encrypted document storage, PACS/VNA, searchNo internet database access; tenant/organization isolation where shared; distinct backup and administration roles
IntegrationPartner adapters, message broker, outbox workers, quarantine/replay queuesPartner-specific credentials and contracts; schema validation; retry and reconciliation; controlled outbound destinations
AI processingApproved inference endpoints, scoped retrieval, evaluation runner, model/prompt registryIsolated egress; no arbitrary model fallback; approved retention/training behavior; no direct database writes
Governance/securityEvidence references, policy versions, monitoring aggregates, protected audit, incident toolingSeparate reviewer permissions; minimize patient linkage; restrict exports; clinical detail stays in authorized systems
Recovery/administrationBackup vault, restore environment, key management, privileged accessSeparate administration; time-limited access; tested restore; regional placement follows approved data flows

Within the selected region, spread critical application instances and database replicas across independent availability zones. Cross-region recovery is an explicit design decision based on agreements, latency and failure analysis. Managed hosting and a BAA do not by themselves prove the deployment is appropriately configured. Review the exact cloud services and business-associate arrangements using HHS cloud guidance.

For initial sizing, assume 500,000 registered patients, 2,000 concurrent staff sessions and a 300-request/second clinical peak; load-test at twice the estimated peak. These are example inputs, not a benchmark. Measure writes, chart query mix, attachment sizes, imaging storage, interface bursts and AI concurrency separately. Autoscale stateless readers and workers, bound inference concurrency, and protect the database with connection budgets. Shed optional AI and analytics load before essential clinical workflows. Recalculate capacity with the actual site's activity and recovery requirements.

5. Data architecture, identity and record integrity

The relational clinical store is authoritative for transactional state. Documents and imaging live in purpose-built stores with controlled references. Search indexes, caches, analytics tables and vector stores are derived copies; they must enforce the source permissions and have defined refresh and deletion behavior. Do not treat an embedding as de-identified data.

Domain entityIllustrative FHIR R4 exchange representationIntegrity rule
Patient and identifiersPatient; RelatedPersonStable internal identity; identifier issuer; controlled merges and proxy relationships
Provider, organization and locationPractitioner; PractitionerRole; Organization; LocationEffective dates, credentials, organization scope and service role
Encounter and care teamEncounter; CareTeamPatient, facility, episode, participants and encounter status
Clinical factCondition; AllergyIntolerance; Observation; ProcedureSource, clinical time, recorded time, units, certainty/status and version
Order and resultServiceRequest; Specimen; DiagnosticReport; ObservationOrder/specimen/result linkage; preliminary, corrected and final states
Medication workflowMedicationRequest; MedicationDispense; MedicationAdministration; MedicationStatementPreserve distinction between ordered, dispensed, given and reported medication
Note and attachmentComposition; DocumentReference; BinaryDraft/signed/amended states; author; attachment integrity and access
Care coordinationCarePlan; Goal; Task; AppointmentAssignee, due time, acceptance, completion and unresolved handoff
Permissions and lineageConsent; Provenance; AuditEventLegal/policy interpretation outside the resource; separate change lineage and access records

These are exchange mappings, not a requirement to use FHIR JSON as the entire database schema. Fix the supported profiles and terminology versions with each partner. Maintain terminology mappings for codes and units, preserving original values when normalizing; uncertain mappings enter a steward queue instead of becoming clinical facts.

For every clinical change, record the actor, source system, patient/encounter, previous version, clinical event time and recorded time. Use optimistic concurrency to reject stale edits and database transactions for linked state changes. Signing freezes that version; corrections create an attributable amendment. Record imported facts as imported, including their source and uncertainty. A confident AI summary cannot upgrade an uncertain source into a confirmed diagnosis.

Identity merges need a preview of affected charts, dual verification for high-risk cases, merge history and a tested unmerge process. Quarantine ambiguous incoming identifiers. AuditEvent records security-relevant activity; Provenance records the origin and transformation of information. See FHIR AuditEvent and FHIR Provenance.

6. Interoperability and reliable exchange

The integration engine translates partner formats into validated domain commands. It must not write directly around clinical business rules. Separate transport receipt, technical acceptance, clinical acceptance and workflow completion in both storage and dashboards.

InterfaceIntended useRequired implementation agreement
HL7 v2Admission/discharge/transfer, orders, observations and results with existing systemsMessage versions, local fields, identifiers, ACK behavior, corrections, ordering and retry handling
FHIR APIsResource exchange, patient access and approved applicationsR4 baseline where suitable; exact profiles, capability statement, search/paging, version support and authorization
SMART App LaunchAuthorized EHR-connected applicationsSupported launch version, redirect URIs, scoped access, patient context and token handling
CDS HooksWorkflow-triggered decision-support responsesSupported hooks, data supplied, response latency, card interpretation and safe failure behavior
DICOM / DICOMwebImaging storage, query and retrievalConformance statements, study/series identity, transfer support and protected access
Payer and pharmacy adaptersEligibility, claims, remittance and prescribing exchangesApplicable transaction/version, licensed network/vendor, reconciliation and error responsibility
Devices and public-health systemsObservations, registries and reportingDevice identity, units, provenance, jurisdiction/program requirements and correction handling

Reference specifications: SMART App Launch, CDS Hooks and DICOM web services specification. FHIR R4 is a proposed compatibility baseline here, not a claim that it is the latest release or sufficient for every certification objective.

Write the clinical transaction and an outbox event atomically. Publish asynchronously with stable event IDs, schema versions, correlation IDs and source versions. Consumers deduplicate and tolerate at-least-once delivery. Partition ordering where needed by patient/order; do not assume global ordering. Define retry budgets, dead-letter handling, replay authorization and reconciliation totals. A duplicate order replay must not create a second prescription or lab request.

An event envelope should carry organization, opaque resource reference, event type, version and time; keep payloads minimal. Even opaque patient-linked metadata may remain sensitive. Monitor oldest unprocessed event, missing acknowledgements and mismatched counts. Exercise partner downtime, delayed corrections, duplicate messages and out-of-order results before go-live.

7. End-to-end clinical workflows and AI insertion points

Registration through completed care

  1. Registration verifies identity and resolves potential duplicates; creates or selects the patient and encounter.
  2. The clinician reviews allergies, medications, history and current observations with source dates visible.
  3. An optional scribe produces a clearly labeled draft. The clinician compares it with the encounter, corrects it and signs the final note.
  4. The clinician places orders through controlled EHR workflows. Clinical rules validate required context, units and permissions.
  5. External services acknowledge orders and return results; the EHR validates patient/order matching and records result status.
  6. The responsible care team receives results, acknowledges review and completes follow-up. Critical-result escalation operates independently of optional AI.
  7. Discharge/referral tasks transfer responsibility explicitly. The portal exposes permitted information under the applicable release policy.
  8. Coding, quality reporting and governance consume approved records or minimized evidence; none silently rewrites the clinical history.

Order-to-result failure handling

Clinician -> EHR: signed order with patient, encounter and version
EHR -> DB + outbox: atomic order and delivery event
Worker -> Laboratory: stable order identifier; retry safely
Laboratory -> Integration: receipt/acceptance or rejection
Integration -> EHR: validated result + status + source version
EHR -> Inbox: named recipient + backup + due/escalation policy
Care team -> EHR: acknowledgement + follow-up task/outcome
Corrected result -> EHR: new version; notify and reopen affected work

A timeout means delivery is uncertain, not that it failed. Reconcile with the laboratory before resubmission can create duplicate work. An unmatched result enters a staffed resolution queue; it is never attached to the closest-looking patient by an AI guess. Dashboard status distinguishes “received,” “reviewed,” “patient informed” and “follow-up complete.”

AI scribe sequence

Clinician -> Workflow: confirm encounter and approved recording process
Workflow -> Policy service: verify user, purpose, data and approved AI release
Policy service -> AI gateway: scoped, short-lived request authorization
AI gateway -> Approved provider: authorized audio/text; configured retention
Provider -> EHR draft area: draft note + model/prompt/source references
Clinician -> EHR: inspect, edit and sign through normal clinical controls
EHR -> Protected evidence: version, reviewer and outcome references
Operations -> Retention process: apply audio/draft retention and verify outcome

If the AI service fails, the clinician uses ordinary documentation. If the patient changes or source data changes materially, invalidate the draft's approval context. A signed note records actual authorship/review; it must not falsely imply that a clinician personally observed AI-invented facts.

8. Where AI fits: care delivery and governance assistance

Use AI only when a bounded task has an owner, a measured benefit, a risk assessment and a safe alternative. Begin with low-autonomy assistance. The following are proposed use cases, not enabled integrations in AutoGovern.

AI useInput and outputHuman authorityEvidence and monitoring
Ambient documentationAuthorized encounter audio/text to draft noteClinician verifies and signsUnsupported statements, omissions, editing burden, deletion outcome
Chart summarizationScoped chart facts to source-linked summaryClinician checks relevant source recordsFactual consistency, missing critical facts, stale sources, subgroup coverage
Coding assistanceSigned documentation to suggested codesQualified coder accepts or rejectsUnsupported coding, correction rate, audit results and denial trends
Administrative patient assistantApproved service information to bounded answers and handoffService team owns content and escalationOut-of-scope advice, handoff success, accessibility, leakage tests
Predictive clinical supportValidated features to risk estimate and explanationClinical team determines appropriate actionSensitivity/specificity, calibration, predictive values, drift and subgroup uncertainty
Imaging assistanceApproved image series to candidate findingsCredentialed specialist interpretsRelevant local/device validation, missed findings, workflow delays and version tracking
Governance evidence assistantAuthorized policies/test summaries to suggested control mappingsControl owner validates source supportCitation accuracy, missing requirements, reviewer rejection and evidence freshness
Governance triage assistantMinimized alerts to incident/risk suggestionsClinical/privacy/security owner decides severity and actionFalse alerts, missed incidents, time to review, unresolved queues
Change-impact assistantModel/configuration diff to suggested retestsRelease authority approves required gatesMissed affected workflows, test coverage and reopened risks

AI can help prepare a risk assessment, explain a policy, find inconsistent evidence or draft an incident timeline. It cannot provide independent proof that its own output is correct, decide legal applicability conclusively, certify HIPAA compliance or close a material finding solely on its own recommendation. An AI detector's silence is not evidence that no PHI was disclosed.

FDA oversight depends on software function and intended use; clinical AI is not uniformly a device or uniformly exempt. Record the assessment for each function using the FDA clinical decision-support guidance. For applicable certified health IT, review predictive decision-support transparency and intervention risk-management responsibilities; these requirements do not apply identically to every AI tool. See ONC HTI-1 and the decision-support intervention criteria.

9. AI technical architecture and action controls

Maintain a release manifest linking intended use, provider endpoint, model version, prompt/template digest, retrieval corpus/version, tool schemas, evaluation set, approval conditions and expiry. Provider aliases that can change behavior require change detection and a re-evaluation policy. Test fallback providers separately; never route health data to an unapproved endpoint just to maintain availability.

The controlled execution path is:

  1. Authenticate the human or workload. Resolve organization, patient and encounter on the server.
  2. Check the approved use, role, purpose, permissions and current release manifest. Reject unapproved combinations before retrieval.
  3. Retrieve only authorized records. Apply filtering before search and recheck access when fetching results. Include source dates, conflicting facts and missing-data indicators.
  4. Treat chart text, attachments, retrieved documents and model responses as untrusted content. They cannot change authorization, select a new recipient or expand tool permissions.
  5. Send the approved minimum input to the approved endpoint. Bound context size, time, spend and concurrency. Avoid raw PHI in general traces, analytics and crash reports.
  6. Validate output structure and permitted actions. Grounded citations assist review but do not prove factual correctness. Present uncertainty and distinguish source facts from generated inference.
  7. Require the specified human review. For writes, bind approval to the exact action, argument digest, organization, patient, encounter, source version and expiry.
  8. Recheck authorization and source version at execution; use an idempotency key. Execute through the clinical API, record the actual result, and reconcile uncertain outcomes before retrying.
  9. Store minimized decision evidence and protected clinical provenance. Apply the retention schedule to inputs, outputs, audio, caches, embeddings and provider copies.

Do not let a language model construct arbitrary SQL, choose tenant scope, acquire credentials or call unrestricted network destinations. The model never holds broad clinical database write access. Stop controls disable the relevant AI release, tools and queued actions while leaving the ordinary clinical workflow available. Test that revocation reaches workers and cached approvals; a UI toggle alone is insufficient.

10. Governing the EHR: accountability and lifecycle gates

An executive sponsor funds the program and resolves cross-functional priorities. The clinical safety lead owns patient-risk acceptance. The platform owner owns service delivery. Privacy, security, data stewardship and release management retain defined decisions; an AI committee does not replace these responsibilities.

Decision or activityAccountable roleResponsible delivery roleConsulted / informed
Clinical workflow and risk acceptanceClinical safety lead / designated clinical executiveClinical informatics and service ownerPractitioners, nursing, patient representatives
Data purpose, disclosure and rightsPrivacy officerData steward and health-information-management teamLegal, patient services, security
Security risk treatmentSecurity officerSecurity engineering and operationsPlatform owner, privacy, affected service owners
Clinical data quality and terminologyDesignated clinical data ownerData stewardship and integration teamClinical users and analytics owners
Vendor/service approvalProcurement authorityVendor managerPrivacy, security, clinical owner and legal
AI evaluation acceptanceDesignated clinical or operational ownerEvaluation team independent of model changes where practicableSafety, security, equity and intended users
Technical production releaseRelease authorityPlatform/release engineeringRequired clinical, privacy and security signatories
Incident coordinationNamed incident commanderResponse teamClinical safety, privacy/legal, communications and executives
Independent assuranceAudit leadInternal audit / approved external reviewersControl owners; executives receive findings

Name actual people and delegates, not only departments. Keep one accountable role per decision; cross-functional approval is represented by distinct required sign-offs. The author of a material change cannot be its only reviewer.

GateWork and evidence requiredDecision
IntakeIntended use, scope, affected population, owner, autonomy and dependenciesRegister, reject or request clarification
Applicability and designData flow, threat model, clinical hazard analysis, vendor scope, applicable obligationsApprove design conditions or hold
VerificationFunctional/access tests, local AI evaluation, subgroup coverage, failure and recovery testsAccept evidence or remediate
Supervised pilotTrained users, limited setting, consent/notice process as applicable, monitoring and fallback rehearsalApprove bounded pilot with expiry
ProductionPilot outcomes, unresolved risks, required sign-offs, exact release manifestApprove specified release and restrictions
Ongoing reviewFresh monitoring, incidents, vendor changes, control tests, benefit and burdenContinue, restrict, suspend or require retest
Change and retirementImpact analysis, re-evaluation, migration/export, access removal and retention evidenceApprove change or controlled retirement

Use NIST's AI RMF Playbook as a voluntary organizing resource. The specific gates above are this architecture's proposed operating model, not a claim that following them establishes compliance.

11. HIPAA, PHI, PII and access governance

Determine obligations from the organization, relationship, information and purpose. HIPAA covers defined entities and business associates; not all consumer health information is HIPAA PHI. PII is broader. Document scope and assign a privacy/legal reviewer using HHS covered-entity guidance.

The Security Rule calls for administrative, physical and technical safeguards for ePHI. Conduct and maintain a risk analysis covering the actual environment, including AI vendors and derived data. The engineering controls below are proposed implementation choices, not a substitute for that analysis. See the HHS Security Rule summary.

Assess 42 CFR Part 2 where covered substance-use-disorder records are involved, plus relevant state privacy, minors/proxy, consumer-health and research requirements. Do not label all behavioral-health data “Part 2.” See the HHS Part 2 rule overview. Reconcile access controls with applicable patient access and information-sharing obligations; legal review should identify supported restrictions rather than blanket blocking.

12. Monitoring: operational health, clinical safety and AI risk

Every signal needs an owner, source, denominator, freshness limit, threshold, severity and response. Separate service health from patient outcomes and legal compliance. The examples below are design proposals; clinical leaders must set thresholds using validated local risk and workflow evidence.

SignalMeasurement and coverageInitial response
Critical-result follow-upUnacknowledged critical results / critical results requiring acknowledgement; age and recipient coverageApply clinical escalation protocol and contact backup; investigate routing
Order integrityDuplicate/unmatched/rejected orders and results / exchanged messagesQuarantine ambiguity; staffed reconciliation; examine replay logic
Access anomaliesUnexpected exports, emergency access and denied cross-scope attempts; monitored sources/expected sourcesSecurity/privacy triage; preserve evidence; restrict affected access when appropriate
AI factual qualityUnsupported statements and clinically important omissions / independently reviewed outputsClinical review; restrict affected release if required; investigate version and input pattern
Predictive performanceSensitivity, specificity, calibration, predictive values and subgroup sample sizesCompare validated baseline; assess uncertainty, prevalence and clinical impact
Human oversightReviewed outputs / outputs requiring review; edits, overrides and queue ageInvestigate bypasses and review burden; stop unsafe automation
Data/model driftFeature missingness, population changes, provider/model/prompt/corpus changesRevalidate affected use; do not equate drift alone with harm or safety
Monitoring coverageConnected sources/expected sources; last collection; missing intervalsMark unknown/stale; repair collection; assess whether continued use is permitted
Service resilienceClinical success/latency, replication lag, oldest queue item, restore test outcomeIncident response based on workflow criticality; protect essential care
Benefit and equityTime saved, errors corrected, patient experience and access outcomes by relevant groupsReassess usefulness, burden and distribution of benefit

Example engineering objectives: 99.95% monthly availability for an agreed clinical API boundary; p95 chart-summary retrieval under two seconds excluding external AI; an alert if a five-minute telemetry feed is stale for fifteen minutes. These are illustrative targets that require load testing and site approval. Define measurement windows and exclusions explicitly. Clinical result escalation times must follow the care setting's approved protocol, not these infrastructure examples.

A monitoring record should include workflow ID, release ID, metric definition, interval, numerator, denominator, source coverage, last successful ingestion, threshold version, reviewer and disposition. Aggregates can still identify small patient groups; apply disclosure controls. Never show a green status when telemetry is disconnected or evaluation coverage is unknown.

13. Incident response, downtime and recovery

Maintain a common incident process with clinical, security and privacy branches. A wrong-patient recommendation may require immediate clinical correction even when no breach occurred; a disclosure can require privacy response even when the application remains available.

  1. Record discovery time and affected service/version. Route potential patient harm to the clinical team immediately.
  2. Contain through the care-safe runbook: disable an AI release or destination, revoke compromised access, isolate a component and activate ordinary clinical workflows.
  3. Preserve authorized logs, source versions, actions and affected-record references in restricted incident systems. Keep patient details out of public guides and general-purpose governance notes.
  4. Determine actual scope and outcomes. Reconcile queued actions and uncertain external transactions before restarting workers.
  5. Privacy/legal owners assess notification duties, recipients and deadlines. HIPAA breach assessment considers information, recipient, acquisition/viewing and mitigation; individual notice, when required, must be without unreasonable delay and no later than 60 days after discovery. Other duties differ. See HHS breach guidance.
  6. Correct patient records through amendments and clinical review; notify affected care teams as appropriate. Address root cause, retest and obtain restart approval.
  7. Verify closure with evidence and update training, controls and the risk register.

Define recovery objectives by workflow. An illustrative design target is RPO of five minutes and RTO of one hour for the core clinical database during a major recovery event; this is not an acceptable interruption for every bedside task. Medication administration and urgent care need immediately usable downtime procedures, current authorized fallback information and reconciliation when service returns. Validate achievable RPO/RTO with measured restores and clinical drills.

Protect immutable or otherwise strongly protected backups from application administrators and ransomware. Test restoration of database, documents, identity dependencies, keys, broker offsets and audit linkage together. Multi-zone replication is not a backup. Exercise loss of identity provider, network, region, terminology service, laboratory interface and AI vendor separately. Record who can declare downtime and who verifies safe return to normal care.

14. Risk register and acceptance evidence

RiskPreventive/detective controlsEvidence needed before affected use
Wrong-patient record associationIdentity review, context binding, duplicate quarantineAmbiguous match and merge/unmerge tests
Missed critical resultNamed routing, acknowledgement and escalationEnd-to-end delay, absence and corrected-result drills
Medication/order errorSigned workflow, unit checks, constrained permissionsClinician-reviewed order and administration scenarios
Cross-organization disclosureServer authorization, scoped retrieval and storage isolationNegative tests across APIs, exports, caches and search
PHI sent to unapproved AI vendorEndpoint allowlist, service approval, controlled egressEgress tests including fallback and support paths
Hallucinated or omitted clinical factSource-linked drafts, clinician review, local evaluationIndependent error review with denominators and severity
Prompt injection or unsafe tool callUntrusted-content boundaries, tool allowlist, bound approvalAdversarial retrieval/action tests and replay rejection
Subgroup harmRepresentative evaluation and uncertainty reportingAdequate sample review or explicit restricted scope
Silent version changeRelease manifest, change detection, re-evaluationProvider alias/change exercise and rollback test
Audit loss or alterationProtected logging, separate permissions, integrity checksTamper, collector outage and investigation reconstruction tests
Unrecoverable outageProtected backups, downtime procedures, restore rehearsalsMeasured restore and clinical reconciliation results
Incomplete deletion or retentionData-copy inventory, legal holds, provider deletion processVerified outcome across caches, vectors, backups and vendors
Unsafe monitoring gapSource inventory and freshness checksDisconnected-feed simulation and unknown-status handling
Automation bias or excessive burdenUsable review, training, override and escalationObserved user testing and pilot workload outcomes

Record severity, likelihood, exposure, treatment owner, due date, residual risk, decision authority and next review for each risk. A passed control test reduces a specific uncertainty; it does not make the whole platform compliant. Retain failed tests and restricted-use decisions, not only favorable evidence.

Before production, require integration reconciliation, access/isolation verification, threat and clinical hazard review, representative clinical evaluation, usability/accessibility testing, vendor/data-use approval, load/restore tests, training, monitoring coverage and a rehearsed stop/fallback procedure. Require evidence tied to the exact release and intended setting. Unresolved severe patient-safety risks cannot be hidden by averaging scores.

15. How AutoGovern fits and how much must change

AutoGovern's current healthcare workspace stores governance metadata: workflow profiles, data-flow/vendor references, risks, control evidence references, cases and review/export records. The free public healthcare guide provides how-tos and templates. Existing platform governance features can support related inventory and policy work, but their presence does not establish clinical integration or HIPAA readiness.

CapabilityCurrent stateProposed change and magnitude
Public EHR architecture and healthcare educationThis report and public guideSmall content/navigation extension; no clinical data or schema required
Healthcare governance recordsMetadata workspace availableExtend structured clinical AI use cases, release manifests, hazard records and linked evaluations; medium
Evidence from EHRs and vendorsReferences entered by users; no live EHR connector in healthcare workspaceTenant-scoped adapters, ingestion authentication, minimization, reconciliation and provenance; large
Runtime monitoringHealthcare workspace does not monitor live PHI/EHR activityVersioned metric ingestion, coverage/freshness, thresholds, review queues and alert delivery; large
Clinical action enforcementHealthcare review/export is not clinical deployment authorizationIntegrate authorization, approval binding, controlled clinical API execution and revocation; very large and safety-critical
PHI-bearing storage/processingNot established as an approved PHI environmentOperational/security/legal readiness plus service-specific contracts, tested isolation, retention and incident capability; large
Full EHRNot implementedClinical product, integrations, migration, 24/7 operations, validation and applicable certification; a separate major program

The recommended product direction is a governance companion to an established EHR, with clinical records remaining in the EHR. AutoGovern receives minimized metadata and evidence references under reviewed permissions. It can organize decisions and expose missing evidence; the clinical system remains responsible for clinical transaction enforcement. Even metadata-only integration needs a privacy review because identifiers and small aggregates may reveal patient information.

A proposed governance model adds: ClinicalUseCase, DataFlow, VendorService, ClinicalHazard, EvaluationRun, ApprovedRelease, MonitoringPlan, MetricObservation, IncidentReference and ReviewDecision. Connect each record to organization, owner, version, evidence reference and lifecycle status. Approval binds a digest of the reviewed release and becomes stale when material inputs change. Model this separately from patient clinical tables; never infer production authorization from a generic “reviewed” badge.

16. Delivery roadmap, effort and decision points

These are rough planning estimates for a governance companion, not quotations or a delivery commitment. Assume two application engineers, one integration engineer, part-time design/QA/security and sustained clinical/privacy reviewers, an accessible partner sandbox and timely contracting. Workstreams overlap; calendar durations must not be added as though all work is sequential. Vendor access, evidence quality and organizational readiness can dominate the schedule.

StageIndicative effortDeliverable and exit condition
Public reference and educationSmall, daysAnonymous architecture, detailed report and navigation; this content release
Discovery and partner design2–4 weeksOne EHR/vendor, scoped use case, contract/data flow and interface specification
Structured AI governance extension4–8 weeksVersioned use cases, evaluation references and release-specific decisions with isolation tests
Synthetic integration and monitoring6–10 weeksAuthenticated metadata connector, reconciled events and visible coverage; no real patient pilot yet
Limited PHI-bearing pilot readiness6–12 additional weeks depending on gapsApproved environment/contracts, clinical validation, trained users and tested response/fallback
Controlled production expansion4–8 weeks after pilot evidenceVerified monitoring, independent acceptance and support handover for the approved scope

A practical initial planning envelope is roughly 4–7 months for one controlled integration pilot if access and readiness work proceed in parallel. Re-estimate after discovery. A full EHR would likely require a dedicated multidisciplinary program over multiple years; no credible fixed budget follows from the current repository alone. Buying/integrating a suitable clinical system should be compared with building one before funding a replacement.

Budget separately for partner API access, integration/vendor licenses, cloud and recovery capacity, AI inference, terminology/licensing, independent security/clinical evaluation, training, migration and ongoing support. Use actual vendor quotes and staffing rates. Do not multiply a generic token price by patient count and call it total cost.

17. How to apply this architecture in your organization

  1. Choose a bounded workflow. Start with one site and one use, such as reviewed scribe drafts. Identify the clinical decision and forbidden actions.
  2. Draw the current system and data flow. Name the actual EHR, identity provider, integration engine, AI endpoint, storage, support systems and recipients. Replace every generic box in the diagram.
  3. Assign owners and applicable obligations. Complete the decision table with people, delegates, contracts and jurisdiction-specific reviews.
  4. Define evidence before building. Specify clinical acceptance measures, access tests, source coverage, fallback and release conditions.
  5. Build in a synthetic sandbox. Validate identity, permissions, duplicate events, stale approvals, unsafe prompts and vendor outages.
  6. Review a constrained pilot. Record the exact release, setting, trained users, review expiry and who can stop it. Conduct the separate clinical and operational approvals.
  7. Monitor and reassess. Review outcomes and missing telemetry; reopen decisions after material changes or incidents. Expand only within evidenced scope.

Use the free healthcare AI governance guide for step-by-step how-tos and the starter templates for initial records. In AutoGovern, open Governance → Healthcare Governance → choose an organization → create a workflow, then use Data flows, Vendors & BAAs, Risk register, Controls & evidence, Cases, and Review & export. These paths manage metadata today; they do not deploy or monitor a clinical AI service.

18. Architecture handover and decisions still required

Before implementation procurement or clinical approval, produce a site-specific pack: context/container/deployment diagrams; interface contracts and message examples; clinical workflow/state diagrams; schema and terminology mappings; threat model and hazard log; access/permissions matrix; vendor/data-use inventory; evaluation protocol; release manifest; monitoring/incident runbooks; recovery plan; migration reconciliation and cutover plan; and operating/support responsibilities.

Migration must map and reconcile patients, identifiers, allergies, medications, problems, open orders, pending results, documents and historical provenance. Run rehearsals with count and clinical-semantic reconciliation, define a cutover/freeze strategy and rollback boundary, and preserve authorized historical access. Do not declare migration complete solely because row counts match.

Open decisions include the actual EHR and partner interfaces; facilities and specialty scope; patient population; data-sharing jurisdictions; proxy/minor rules; certification and device applicability; approved vendors; achievable latency/recovery targets; evidence retention; support staffing; and acceptable residual clinical risk. Record each decision with its owner and deadline. This report defines the complete reference structure; those site-specific decisions are required to turn it into an executable production design.

Download complete report (.md)Open healthcare AI how-tos →Back to contents ↑