armandomusto / Rotem-analyser

0 stars 0 forks source link

Data Interface #2

Open ghentt opened 8 years ago

ghentt commented 8 years ago

Data generator that mimics the data transmission stream of a rotem analyser The analyser sends out the results when told to or and the end of a measurement. If we have to be connected to the analyser for testing it will be nightmare as its behind a firewall. The settings I have on the analyser are to set the port to 2708 and the IP address of the receiving computer ie my computer.. The analyser reads the data in its database and sends it according to the specification. It converts the Jpeg pictures called temograms to hexadecimal values of a base64 encoded image and sends them. I did pay a local programmer to help with this listeningport code to run on my PC and it did work. My working relationship with him did not work out as he was up to no good which was disappointing but it is code I paid a lot of money for. It may not be any good but something to look at. If you send the data out according to the protocol the listening port software will read it and display which is what the textbox output.txt is. I am hoping that we can have more than one analyser ( is it called threads) sending at one time.and the have a unique ID number 4125 so we know which analyser. The previous guy had home ( port 8080 ) and lab set up (port 2078) presumably so he could test on the same machine. He did not want to create a Rotem generator but its a product in its self for hospitals testing interfaces. I can capture more graphics for variety. The data and images will go into a SQL but one that is self contained in the program as hospitals hate random installs of MS SQL. I can discuss that later once the interface is running. It may take a few emails to get going but this is a neat project. I. program to mimic analyser and send results.

Interface program to sit waiting for result to come Results to go into database Results in database can be export with graphics to powerpoint or to a lab LIS by HL7 messaging. ( maybe dreaming)

Tony

textbox output.txt ROTEM® XMLv2 Functional Specification (2).pdf ROTEM interface.docx

armandomusto commented 8 years ago

If I got the point, you want to create a Rotem Random Data Generator that saves data into a SQL database (self-contained, no installation). This generator should create an output like the one created by Rotem device ( data contained in textbox.output.txt) in a random way. We should mimic the Rotem device working.

1) It is not clear what do you need it? What do you have to do? 2) The generator should send data though an IP address to be read from your ListeningPort2 application? 3) Do you need two different application Generator and Collector that store data into a SQL database?

ghentt commented 8 years ago

The idea in the first instance is to send the data stream as the Rotem would with de identified results as the Rotem would with real patients. We then build an an interface that read those results as if it is coming from a Rotem and place them in SQL database (self-contained, no installation) for validation and reporting. So the first part means we have a test bed to send the results instead of being connected to the rotem for live testing.

armandomusto commented 8 years ago

Ticket #3 created for this request, please add your comments there about this specific topic. if you can describe exactly what the simulator should do.