Announcement

Collapse
No announcement yet.

PV1 segments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PV1 segments

    Is there a way to add the PV1 segments to a message before it is processed.

    Example hl7 message comes in and it does not contain PV1 segments

    Pre-process message add PV1 segments, finish processing message then write file to database/folder

    Thanks

  • #2
    Re: PV1 segments

    Yes, you can add segments to a message in a transformer.

    I will have to check on the exact syntax, but basically you will append/insert a node into the "msg" variable.

    The msg variable is an XML dom object. By inserting a PV1 child and the desired fields, Mirth will encode this back out to HL7 (ER7). This value will be available in the "message.encodedData" variable.

    -Chris
    Chris Lang

    Comment


    • #3
      Re: PV1 segments

      Let me know if you can find the syntax cause i am having a hard time figuring it out.

      Thanks in advanced

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎