How nhsisl/londonfhirservice works
London FHIR Service exposes FHIR patient data and management APIs, with a core layer for access checks, record retrieval, comparison, and operational telemetry. The principal request path is a client calling the STU3 structured-record endpoint, which delegates through coordination to patient orchestration and its provider/access dependencies. Background comparison and Manage API capabilities are represented from the tree, but their runtime wiring was not sampled; those links are marked unverified. The README provides no further product detail.
Main entry points: Stu3PatientOrchestrationService.cs Patient orchestration · PatientController.cs STU3 patient endpoint · CompareQueueOrchestrationService.cs Compare queue orchestration · FhirRecords FHIR record service
Components 23
FHIR API
- STU3 patient endpoint
LondonFhirService.Api/Controllers/STU3/PatientController.cs - FHIR JSON formatters
LondonFhirService.Api/Formatters - Correlation middleware
LondonFhirService.Api/Middlewares/CorrelationMiddleware.cs
Core services
- Patient coordination
LondonFhirService.Core/Services/Coordinations/Patients/STU3 - Patient orchestration
LondonFhirService.Core/Services/Orchestrations/Patients/STU3/Stu3PatientOrchestrationService.cs - STU3 patient service
LondonFhirService.Core/Services/Foundations/Patients/STU3 - Provider service
LondonFhirService.Core/Services/Foundations/Providers - Consumer access
LondonFhirService.Core/Services/Foundations/ConsumerAccesses - Security broker
LondonFhirService.Core/Brokers/Securities - SQL storage broker
LondonFhirService.Core/Brokers/Storages/Sql/StorageBroker.FhirRecord.cs
Record comparison
- Comparison worker
LondonFhirService.Api/Workers/ComparisonWorker.cs - Compare queue orchestration
LondonFhirService.Core/Services/Orchestrations/CompareQueue/CompareQueueOrchestrationService.cs - Comparison orchestration
LondonFhirService.Core/Services/Orchestrations/Comparisons/ComparisonOrchestrationService.cs - Resource matching
LondonFhirService.Core/Services/Processings/ResourceMatchings - Record differences
LondonFhirService.Core/Services/Foundations/FhirRecordDifferences - FHIR record service
LondonFhirService.Core/Services/Foundations/FhirRecords
Management API
- Manage client
LondonFhirService.Manage.Client/src/App.tsx - Management controllers
LondonFhirService.Manage/Controllers
Operations
- Audit and metrics
LondonFhirService.Api/Dispatchers/AuditAndMetricsDispatcher.cs - Audit metric storage
LondonFhirService.Core/Brokers/AuditAndMetrics/AuditAndMetricStorageBroker.Audits.cs - Audit metric purge
LondonFhirService.Api/Workers/AuditAndMetricPurgeWorker.cs
Other components
- FHIR client
- FHIR provider
Connections 19
- FHIR client → STU3 patient endpoint: requests structured data
LondonFhirService.Api/Controllers/STU3/PatientController.cs - STU3 patient endpoint → Patient coordination: delegates request
LondonFhirService.Api/Controllers/STU3/PatientController.cs - Patient coordination → Patient orchestration: coordinates
- Patient orchestration → STU3 patient service: retrieves record
LondonFhirService.Core/Services/Orchestrations/Patients/STU3/Stu3PatientOrchestrationService.cs - Patient orchestration → Provider service: uses providers
LondonFhirService.Core/Services/Orchestrations/Patients/STU3/Stu3PatientOrchestrationService.cs - Patient orchestration → Consumer access: checks access
LondonFhirService.Core/Services/Orchestrations/Patients/STU3/Stu3PatientOrchestrationService.cs - Patient orchestration → Security broker: gets current user
LondonFhirService.Core/Services/Orchestrations/Patients/STU3/Stu3PatientOrchestrationService.cs - FHIR provider → STU3 patient service: serves FHIR data
- Comparison worker → Compare queue orchestration: processes queue
- Compare queue orchestration → FHIR record service: claims records
LondonFhirService.Core/Services/Orchestrations/CompareQueue/CompareQueueOrchestrationService.cs - Compare queue orchestration → Record differences: records differences
LondonFhirService.Core/Services/Orchestrations/CompareQueue/CompareQueueOrchestrationService.cs - Comparison orchestration → Resource matching: gets matcher
LondonFhirService.Core/Services/Orchestrations/Comparisons/ComparisonOrchestrationService.cs - FHIR record service → SQL storage broker: persists records
- Manage client → Management controllers: calls management API
- Management controllers → FHIR record service: manages records
- Audit and metrics → Audit metric storage: stores telemetry
- Audit metric purge → Audit metric storage: purges telemetry
- FHIR JSON formatters → STU3 patient endpoint: formats FHIR JSON
- Correlation middleware → STU3 patient endpoint: provides correlation