How hmislk/hmis-analyzer-middleware works
This is a Windows desktop middleware application that relays results from clinical analyzers to the HMIS/LIMS REST API and returns a response to the analyzer. The main runtime path is the serial-port event handling and HTTP exchange in FormMain; Program launches that form. The excerpts show Dimension and SysMex handling, serial acknowledgements, and the LIMS request/response path. The README describes the broader analyzer-to-API purpose, but does not document additional runtime stages. Several protocol and communication enums are present; their use is not established by the excerpts.
Main entry points: FormMain.cs Middleware Form · Program.cs Application Entry
Components 10
Desktop Application
- Application Entry
Middleware/Program.cs - Middleware Form
Middleware/FormMain.cs
Analyzer Relay
- Serial Analyzers
Protocol Definitions
- Analyzer Types
Middleware/Analyzer.cs - ASCII Codes
Middleware/ASCII.cs - Communication Modes
Middleware/ModeOfCommunication.cs - Communication Parity
Middleware/CommunicationParameterParity.cs - Transport Types
Middleware/CommunicateProtocol.cs
External Systems
- HMIS/LIMS API
Other components
- Operator
Connections 6
- Application Entry → Middleware Form: launches
Middleware/Program.cs - Operator → Middleware Form: configures
Middleware/FormMain.cs - Serial Analyzers → Middleware Form: sends frames
Middleware/FormMain.cs - Middleware Form → Serial Analyzers: sends replies
Middleware/FormMain.cs - Middleware Form → HMIS/LIMS API: sends results
Middleware/FormMain.cs - HMIS/LIMS API → Middleware Form: returns response
Middleware/FormMain.cs