How adiltruong/openemr-base-clean works
OpenEMR is an electronic health record and medical-practice management application. Its central workflow is practice staff working with patient records and encounters, then using those records for scheduling, clinical documentation, and billing. Separate capabilities expose health data through FHIR and CCDA exchange, provide clinical decision support, and support patient-portal access. The graph reflects README capabilities and the supplied tree; only the FHIR Coverage, authorization, and selected internal behaviors have sampled source excerpts, so other subsystem wiring is intentionally not asserted.
Main entry points: FhirCoverageRestController.php Coverage controller · index.php OpenEMR web entry · main.php Patient workspace · dispatch.php REST dispatcher
Components 20
Clinical workflow
- OpenEMR web entry
index.php - Patient workspace
interface/main/tabs/main.php - Clinical forms
interface/forms - Patient portal
portal/patient
Practice operations
- Scheduling
interface/main/calendar/index.php - Billing
interface/billing/billing_process.php - Insurance records
interface
Health data exchange
- REST dispatcher
apis/dispatch.php - FHIR routes
apis/routes/_rest_routes_fhir_r4_us_core_3_1_0.inc.php - Coverage controller
src/RestControllers/FHIR/FhirCoverageRestController.php - Coverage service
src/Services/FHIR/FhirCoverageService.php - Authorization server
src/RestControllers/AuthorizationController.php - CCDA gateway
ccdaservice/ccda_gateway.php - CCDA generator
ccdaservice/oe-blue-button-generate/lib/engine.js
Clinical services
- Application database
config/database.php - Clinical decision review
src/ClinicalDecisionRules/Interface/Controller/ControllerReview.php - Session storage
src/Common/Session/Storage/ReadAndCloseNativeSessionStorage.php - Database query helpers
src/Common/Database/DatabaseQueryTrait.php
Other components
- Practice staff
- Patient
Connections 13
- Practice staff → OpenEMR web entry: accesses
- Patient → Patient portal: accesses
- OpenEMR web entry → Patient workspace: opens workspace
- Patient workspace → Clinical forms: opens forms
- Practice staff → Scheduling: schedules visits
- Practice staff → Billing: processes claims
- REST dispatcher → FHIR routes: dispatches routes
- FHIR routes → Coverage controller: routes requests
- Coverage controller → Coverage service: queries coverage
- Coverage service → Insurance records: uses records
- Coverage controller → REST dispatcher: returns bundle
- Practice staff → Clinical decision review: reviews rules
- CCDA gateway → CCDA generator: generates documents