Announcement

Collapse
No announcement yet.

Mirth process each node.

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

  • Mirth process each node.

    Let's say that I have a Web Service returns a XML that contains several Table nodes like this:

    <Table diffgr:id="Table1" msdata:rowOrder="0">
    <SE_EventoID>1</SE_EventoID>
    <SE_SistemaExternoID>1</SE_SistemaExternoID>
    <Dop_ID>317497</Dop_ID>
    <SE_Sentido>Saida</SE_Sentido>
    <SE_DestinoID>CPC</SE_DestinoID>
    <SE_Exames>CR;G;K</SE_Exames>
    <SE_Evento>RequisicaoInserir</SE_Evento>
    <SE_DtCriacao>2010-04-29T10:52:37.03+01:00</SE_DtCriacao>
    </Table>
    <Table diffgr:id="Table2" msdata:rowOrder="1">
    <SE_EventoID>2</SE_EventoID>
    <SE_SistemaExternoID>1</SE_SistemaExternoID>
    <Dop_ID>317498</Dop_ID>
    <SE_Sentido>Saida</SE_Sentido>
    <SE_DestinoID>CPC</SE_DestinoID>
    <SE_Exames>FAMIC</SE_Exames>
    <SE_Evento>RequisicaoInserir</SE_Evento>
    <SE_DtCriacao>2010-04-29T10:52:37.64+01:00</SE_DtCriacao>
    </Table>
    I need to call another webservice for each existing Table node and I just can't get my head around this. I would like to call another WS passing DOP_ID of the first node, create an HL7 file, and then call that same WS passing DOP_ID of the second node and so on. In theory how could I do this? Is there someway to "trigger" a certain channel and pass a XML? This way, for each node I would trigger it and in that channel I would call the other WS.
    Last edited by andresilva3; 10-13-2014, 08:34 AM.

  • #2
    Bump.

    Comment

    Working...
    X