Skip to content

Messages

Carlos edited this page Jan 7, 2016 · 5 revisions
  • The components of the layer WiFIS Easy Connect generate or receive Ensemble messages with a specific format described in the tables below.
  • The Business Services of WiFIS Easy Connect send a WiFIS.Msg.GenericReq to the Business Process and expect a synchronous response type WIFIS.BS.s1.WSResposta.
  • The Business Operations of WiFIS Easy Connect should receive the HL7 message to send as a WiFIS.Msg.GenericReq and return a synchronous response back from the center as the destination WIFIS.BS.s1.WSResposta.

WiFIS.Msg.GenericReq

Field Details
Origen Field MSH.4 message origin.
Extracted by Business Service WiFIS when the message has been received.
Format: [EP|UP].Centre
Destino Field MSH.6 message destination
Extracted by "Business Service WiFIS* when the message has been received.
Format: [EP|UP].Centre
Servicio Service WiFIS called: eConsultes, Cites, Laboratori, ConsultaDades, etc.
Tipo Web Service calling method
Operation to perform (DemanarNova, Cancelar, etc.)
DatosXML HL7 XML message received or to send
URL URL to invoke the Web service to send a message to the destination
It is filled before passing to the Business Operation, this way you can call multiple destinations centers using the same Business Operation
SAMLTicket SAML ticket to use in a WiFIS webservice invocation.

WiFIS.BS.s1.WSResposta

  • Synchronous Reply Message that allows report errors in the reception of the message.
  • The Field LlistaMissatges is a list of type WiFIS.BS.s1.WSMissatge.

Each element can contain an error in the following format:

Field Details
Codi WiFIS error code (WIFIS_INVALID, etc.)
Descripcio String with the description of the error

  • Els components de la capa WiFIS Easy Connect generen o reben missatges de Ensemble que tenen un format específic descrit en les taules especificades a continuació.
  • Els Business Services de WiFIS Easy Connect envien al Business Process de Ensemble un WiFIS.Msg.GenericReq, i esperen una resposta síncrona de tipus WIFIS.BS.s1.WSResposta.
  • Els Business Operations de WiFIS Easy Connect han de rebre el missatge HL7 a enviar com un WiFIS.Msg.GenericReq, i retornen la resposta síncrona del centre de destinació com WIFIS.BS.s1.WSResposta.

WiFIS.Msg.GenericReq

Camp Detalls
Origen El camp MSH.4 d'Origen del missatge.
Extret per Business Service WiFIS quan rep el missatge.
Format: [EP|UP].Centre
Destino El camp MSH.6 destinació del missatge.
Extret per Business Service WiFIS quan rep el missatge.
Format: [EP|UP].Centre
Servicio Servei WiFIS invocat: eConsultes, Cites, Laboratori, ConsultaDades, etc.
Tipo Mètode del servei web invocat
És la operació a realitzar (DemanarNova, Cancelar, etc.)
DatosXML Missatge XML de HL7 rebut o a enviar
URL La URL del servei web a invocar per enviar un missatge a la destinació
S'ompla abans de passar-ho al Business Operation, d'aquesta forma es pot cridar a diversos centres destinacions utilitzant el mateix Business Operation
SAMLTicket Tiquet SAML que es desitja utilitzar en la trucada a un webservice WiFIS.

WiFIS.Msg.GenericReq

  • Missatge de resposta síncrona que permet informar d'errors que ocorren en la recepció del missatge.
  • El camp LlistaMissatges és una llista de tipus WIFIS.BS.s1.WSMissatge.

Cada element permet contenir un error amb el següent format:

Camp Detalls
Codi Codi d'error WiFIS (WIFIS_INVALID, etc.)
Descripcio Cadena de text que descriu l'error