Not if you are generating a whole lot of them very quickly (inside a for loop)
Sent from my BlackBerry® wireless handheld

-----Original Message-----
From: "Tony Kennedy" <[EMAIL PROTECTED]>

Date: Fri, 20 Jul 2007 15:48:13 
To:<[email protected]>
Subject: Re: [HAPI-devel] How generate MessageControl ID MSH-10


You can get the current time in seconds and convert that to a string.
It will always be unique.

Tony

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Piero
Sent: Friday, July 13, 2007 3:04 PM
To: [email protected]
Subject: [HAPI-devel] How generate MessageControl ID MSH-10


how I'can generate a unique message contro id (MSH-10) for my HL7
messages
from class Java.
Regards

Piero

-- 
View this message in context:
http://www.nabble.com/How-generate-MessageControl-ID-MSH-10-tf4076362.ht
ml#a11585682
Sent from the hl7api-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to