-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Overhaul #9
base: main
Are you sure you want to change the base?
API Overhaul #9
Conversation
Fixed minor typo.
I think this branch is almost ready to merge. It needs a bit more testing to ensure that the existing UniversaLIS functions still work with the new modifications, but once that's done, I think it's ready. Any additional improvements can be added separately. |
I've done a bit of an overhaul this week, moving the database management functions to the REST-LIS process and having UniversaLIS communicate with that process via the REST API to fetch pending requests and store result reports. |
I'm switching communications over from an external database server to a REST API backed by an internal SQLite database. This includes a lot of minor improvements to the code base, too. The LIS still communicates with analyzers via serial ports and TCP sockets, but from now on, test orders will be sent to the LIS through the web API and stored in its internal database. Then the orders will be sent to the analyzer, the test will be run, the results will be stored in the internal database, and then those results will be available through the web API.
I'll be leaving this open while I add the rest of the endpoints (no pun intended) and workflow. At the moment, only GET requests to the
/reports/patients
,/reports/patients/{id}
, and/requests/patients
endpoints and POST, PUT, and DELETE requests to the/requests/patients
endpoint are supported, but a lot of progress has been made recently and more will be added soon.Next steps:
In the meantime, feel free to leave any feedback here.