Merge request for dataparser into master
Implemented 3 modules
- Data Parser (Penn Han)
- Preprocessor (Andy)
- Database (Andy)
Data Parser takes in a bytestring of a message and parses it into 1 of 3 message classes. ADT^A01, ADT^A03 or ORU^R01. The selected class has a function to parse the message to populate its class attributes.
Preprocessor receives a message object and processes the object into a tensor to be fed into the model
The Database stores the message objects to keep track of admissions, blood tests and discharges.
Unittests have been written for each module