GithubHelp home page GithubHelp logo

cgm-m1-pro-parser's Introduction

CGM-M1-Pro-Parser

CGM M1 Pro has the option to search by certain criteria. The results of these searches can be exported to text files. Unfortunately (like most things in the software), this functionality hasn't been updated for about 2 decades. The lists don't share a common format, they don't even share the same line width. This makes working with lists outside of CGM M1 Pro basically impossible (perhaps this is by design). This parser fills the gap and enables exporting to a sane format.

A Word of Caution

If at all possible, please avoid using CGM M1 Pro. It is an abysmal product.

Dependencies

The script requires numpy and pandas for the set operation option.

Usage

For now, the best way to use the parser is via command line

./CGMParser.py input.txt -o output.csv

this creates a list of patient IDs found in the input file. Using the optional -a flag, it is possible to extract all meta information for each patient record. The actual text, while parsed, is not currently exported.

Testing

Some simple test input can be found in the test_input folder. Unit tests are planned but not yet implemented.

cgm-m1-pro-parser's People

Contributors

poddus avatar

Watchers

James Cloos avatar  avatar

cgm-m1-pro-parser's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.