Hi Derek,
The Message#initQuickstart method may be what you are looking for
http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/AbstractMessage.html#initQuickstart%28java.lang.String,%20java.lang.String,%20java.lang.String%29
Cheers,
James
On Wed, Jul 25, 2012 at 10:38 AM, Derek Mahar <derek.ma...@intelerad.com>wrote:
> Does HAPI have some facility to set default field values for required
> fields within message segments? For example, does it provide a way to set
> MSH-1 to "|" and MSH-2 to "^~\\&" by default?
>
> Thank you,
>
> Derek
>
> --
> Derek Mahar
> Senior Software Developer
> Intelerad Medical Systems Incorporated
> 895 de la Gauchetiere W. Suite 400
> Montreal, QC, Canada, H3B 4G1
> Tel: 514.931.6222 x7754
> Fax: 514.931.4653
> derek.ma...@intelerad.com
> www.intelerad.com
>
>
>
> This email or any attachments may contain confidential or legally
> privileged information intended for the sole use of the addressees. Any
> use, redistribution, disclosure, or reproduction of this information,
> except as intended, is prohibited. If you received this email in error,
> please notify the sender and remove all copies of the message, including
> any attachments.
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel