-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Spotchem™EL SE-1520 import schema #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!. I stumbled upon same problem recently with Abbott Cell-dyn Emerald 22 AL. You can connect the instrument through TCP/IP, but data sent does not adhere to ASTM E1394-97. Excerpt from the manual:
The Host Interface for the CELL-DYN Emerald 22 AL System is a specific format designed to transfer data to an external system. The system does not use the ASTM or CLIS (LIS-x) standards for communications with a host system. The format is text-oriented and is compatible with CSV format used by various Microsoft Office applications1
So I will open a PR soon with a custom IDataHandler
adapter for this other instrument!
Footnotes
-
Abbott - Afinion 2 User Manual, rev.2, 2023.pdf ↩
Description of the issue/feature this PR addresses
This PR implements an instrument interface for the Spotchem™EL SE-1520
☝️ NOTE: This instrument does not implement the ASTM protocol and sends only a single message, e.g.:
\x0224/10/29 13:08 ID# 1DC042FP [B. Plasma] Na 131 mmol/L K 9.7 mmol/L Cl 96 mmol/L \x03
Therefore, we introduced in this PR the possibility to hook into the protocol data handler with an adapter:
This makes it possible to create a valid ASTM message for the message schema lookup and data provision to SENAITE.
Current behavior before PR
Spotchem™EL SE-1520 Instrument not supported
Desired behavior after PR is merged
Spotchem™EL SE-1520 Instrument is supported
--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.