Sie sind auf Seite 1von 2

ASTM Connector

100% ASTM Protocol


High Level Protocol: E 1394 - 97 NCCLS LIS02-A2
Low Level Protocol: E 1391 - 95 NCCLS LIS01-A2

C++ or C# Library

C++ or C# Library
Easy To Implement
Automatic Communication Control

HEDONICS Management AG, Wehntalerstrasse 249, CH-8046 Zürich, Switzerland


Phone: +41 44 372 22 33, Fax: +41 44 372 22 15, www.hedonics.ch
ASTM Connector
Example

Code example:
A query to the host to get the orders for all specimen of a patient

Code:
// create a message
CAstmMessage* pMsg = m_pAstmDriver->createMessage();

// specify the Processing ID (P for Production);


pMsg->getHeader().getProcessingID().setValue("P");

// prepare a query record


CAstmRequest* pRequest = pMsg->getRequests().createAndAdd();

// specify all tests for all specimen of the patient “My Patient”
pRequest->getStartingRange().getPatientID().SetValue(“My Patient”);
pRequest->getEndingRange ().getPatientID().SetValue(“My Patient”);
pRequest->getStartingRange().getSpecimenID().SetValue(“ALL”);
pRequest->getEndingRange ().getSpecimenID().SetValue(“ALL”);
pRequest-> getUniversalTestID().getLocalCodes().setValue (“ALL”);

// send message
pAstmDriver->sendMessage( pMsg );

Explanation:
The client does not deal with any details such as record number, field separators,
field order and record hierarchy. The fields are represented by record class members
and are named as defined in the ASTM & NCCLS LIS standard.
You concentrate on your application and generate messages that are compliant with
ASTM & NCCLS LIS standard with just about no effort.

HEDONICS Management AG, Wehntalerstrasse 249, CH-8046 Zürich, Switzerland


Phone: +41 44 372 22 33, Fax: +41 44 372 22 15, www.hedonics.ch

Das könnte Ihnen auch gefallen