Message Version Java UPOC

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Message Version Java UPOC

  • Creator
    Topic
  • #50500

    Hi,

    I am writing a Java UPOC.

    How do I get a message version number from message in java UPOC.

    (my requirement is to getVersion number from the hl7 message.example: 2.2,2.3,2.4 etc).

    Thanks,

    Jay

Viewing 0 reply threads
  • Author
    Replies
    • #66334
      garry r fisher
      Participant

        Hi Jay,

        The same principle applies whether you are using Tcl or Java.

        1. Get the message,

        2. Split message into segments

        3. Get the first segment (MSH)

        4. Split the segment into fields

        5. Get the version number field(sorry don’t do much HL7 nowadays so can’t remember field no.)

        Hope this helps.

        Garry

    Viewing 0 reply threads
    • The forum ‘Cloverleaf’ is closed to new topics and replies.