General use of the hospitalMCDRequest ATL COM module

 
The HospitalMCDRequestManager is an ATL COM module which provides methods to generate a Minimal Clinical Dataset (MCD) that basically defines the required input to a DRG grouper.

The MCD is printed or a XML infoset is produced which can be electronically transported to the recipient. In the latter case the MCD optionally can be signed and/or encrypted.

To produce such an infoset, firstly an instance of the IHospitalMCDRequest interface is retrieved by the property IHospitalMCDRequestManager::GetHospitalMCDRequest. Thereafter the relevant DRG, all diagnosis and procedures are set The transport/routing information is set by the IHospitalMCDRequest::SetTransport method.

After all information is set the MCD can be generated and printed according to the standardized MCD form by using the IHospitalMCDRequestManager::Print method. Alternatively, a file with a hospitalMCDRequest XML infoset is generated by the IHospitalMCDRequestManager::GetXML method.

 
To get a staring point with the hospitalMCDRequest module there is a Visual Basic code snippet provided that can be used for generating/printing a MCD.