DRG Assignment Software & Services
[ Home | Products | Services | Tech Support | Tech Blog ]
[ DRG FAQ | Upload Files to Us | Free Downloads | Contact Us ]

Version 33 with ICD10 support is here! Released Oct 20th, 2015 (see tech blog New site)
Download This File as a PDF
Linux at work
This page is for GNU-Linux and UNIX programmers.
Every year the US Federal government releases a new DRG version. The earliest version we sell through our on-line store is Version 10, which we call "f10" for Federal Version 10.
The official release is on October 1st every year and we usually release our implementation of the algorithm by October 15th every year.
Please specify which version you need for any of our products. Our software is backwardly compatible, so if you buy the version 20 grouper, that module can handle versions 10 through 20, assuming that you have purchased the appropriate masks file.
NOTE: We have support for versions 2 through 9, but demand is low enough that we do not clutter up our on-line store with them. You can purchase support for versions 2 through 9, but only by contacting us directly.
VersionReleasedRetired VersionReleasedRetired VersionReleasedRetired
f33 Oct 1, 2015 Sep 30, 2016 f25 Oct 1, 2007 Sep 30, 2008 f17 Oct 1, 1999 Sep 30, 2000
f32 Oct 1, 2014 Sep 30, 2015 f24 Oct 1, 2006 Sep 30, 2007 f16 Oct 1, 1998 Sep 30, 1999
f31 Oct 1, 2013 Sep 30, 2014 f23 Oct 1, 2005 Sep 30, 2006 f15 Oct 1, 1997 Sep 30, 1998
f30 Oct 1, 2012 Sep 30, 2013 f22 Oct 1, 2004 Sep 30, 2005 f14 Oct 1, 1996 Sep 30, 1997
f29 Oct 1, 2011 Sep 30, 2012 f21 Oct 1, 2003 Sep 30, 2004 f13 Oct 1, 1995 Sep 30, 1996
f28 Oct 1, 2010 Sep 30, 2011 f20 Oct 1, 2002 Sep 30, 2003 f12 Oct 1, 1994 Sep 30, 1995
f27 Oct 1, 2009 Sep 30, 2010 f19 Oct 1, 2001 Sep 30, 2002 f11 Oct 1, 1993 Sep 30, 1994
f26 Oct 1, 2008 Sep 30, 2009 f18 Oct 1, 2000 Sep 30, 2001 f10 Oct 1, 1992 Sep 30, 1993
[Top of Page]
All prices are in U.S. Dollars
UNIX Programmer Tools (prices are for in-house use only; other licenses are negotiable)
32 bit Linux Perl-callable shared object Call our grouper from a Perl application
64 bit Linux Perl-callable shared object Call our grouper from a Perl application
32-bit PHP-callable shared object Call our grouper from a 32-bit PHP application
64-bit PHP-callable shared object Call our grouper from a 64-bit PHP application
32-bit C-callable shared object Integratable into a 32-bit C or C++ application as a .so
64-bit C-callable shared object Integratable into a 64-bit C or C++ application as a .so
ICL Upgrade Upgrade for M+H proprietary 4GL environment

View Cart        Check out now
DRG Masks file A binary Masks file for a particular version
ICD9cm short file 34 character descriptions for ICD9cm codes $25

View Cart        Check out now
[Top of Page]
In the non-Microsoft realm, we run GNU-Linux of the following varieties in-house: Slackware, Red Hat and Debian. We also run FreeBSD in-house.
In order to support non-Linux UNIXoid operating systems, we rent time from a porting lab which allows us port our software to many different platforms.
[Top of Page]
All of our UNIX progam-callable groupers share a single Application Program Interface (API). For Perl and PHP, all the parameters are strings. For C and C++, the last two parameters are short integers. In all cases, all the outputs are strings.
The Inputs are as follows:
  1. DRG version number
  2. Path to the masks file or files
  3. Discharge disposition
  4. Patient age on admission
  5. Patient sex (1=male, 2=female)
  6. String of contiguous, left-justified, blank-padded ICD9cm DX codes
  7. String of contiguous, left-justified, blank-padded ICD9cm Surgery (aka Procedure) codes
  8. Length of each ICD9cm DX code
  9. Length of each ICD9cm Surgery (aka Procedure) code
The Outputs are as follows:
  1. Grouper Return Code (what error, if any, arose during grouping)
  2. Major Diagnostic Category of assigned DRG
  3. DRG assigned to this patient encounter
  4. DRG version number used to assign this DRG
  5. The Weight of this DRG (a normalized prediction of resource consumption)
  6. The Geometric Mean Length-of-stay for this DRG
  7. PorM flag: P if this is a "procedure" or "surgery" DRG, M if a "medical" DRG
  8. DRG Description: the official name of this DRG
[Top of Page]
Through the magic of SWIG, a wrapper-generator, we are able to access our C-callable object through Perl on many platforms. You install the shared object in the appropriate location, you 'use' our mhdrg.pm package and voila! you can assign DRGs in a Perl script. Thanks to the DBI package for accessing databases and Perl's many powerful features for handling text or parsing binary data, our module makes assigning DRGs to records in databases or in export files rather easy. Click here to see a sample Perl script that calls our grouper.
[Top of Page]
SWIG (see above) also allows us to create a PHP module which assigns DRGs so that you, in turn, can add DRG assignment to your PHP applications. Click here to see a sample PHP document that calls our grouper.
[Top of Page]
We also have a shared object that runs under most x86 Linux distributions and can be used with C programs such as the SAS environment.
[Top of Page]
Our grouper is an ANSI C program which can be compiled by almost any valid ANSI C compiler. We have compiled our grouper under every one of our supported platforms with little or no modification. Click here to see a sample ANSI C program that calls our grouper.
[Top of Page]
Our parent company, M+H Consulting, has its very own 4th Generation Language (4GL), as part of a Rapid Application Development (RAD) environment. That ALGOL-style, line-oriented, block-structured language is called Interactive Computer Language, or ICL. Naturally, ICL has an embedded grouper in it, which needs to be updated every year. Our clients who have ICL applications and who want current grouping buy this upgrade.
[Top of Page]
If you want to embed our grouper in a product you will be selling on the market, then you need to negotiate a custom license agreement. Please contact us for details.
[Top of Page]
As of October, 2009, we have a shiny new on-line shopping cart. We strongly recommend that you use it, if you can. You can use the shopping cart by clicking on the big blue buttons above.
If you use the on-line shopping cart, you get your software immediately and directly.
If you do not use the shopping cart, your order will have to be filled manually, which takes time, and will be emailed to you, which often leads to interference by spam filters and firewalls.
You can use the on-line shopping cart if you have a company credit card; we use Paypal to process on-line purchases, but Paypay does not require you to have or use a Paypal account.
If your company works on a purchase order basis, you may want to fax us a purchase order to (203) 826-2214, containing the same product information as the form below. If you would like to order on-line, but are sure that you cannot use our on-line shopping cart, please fill in the form below and submit it.
(If you are reading the PDF version of this document, then please consider copying the form and pasting it into a email or printing it out and faxing it or mailing it.)
Grouper Product Order Form
All fields are required
Your Name
ZIP Code
PO Number
If you don't get an email acknowledgement from us within 2 business days, there may have been some technical problem so please let us know at grouper@drggroupers.net.
[Top of Page]

[ Home | Feedback | Top of Page | Site Map ]
© 2002-2015, M+H Consulting LLC, all rights reserved    (updated: Fri Mar 30 2007)
Valid HTML 4.01!