HL7

Español · English

Declaración de conformidad HL7 y ASTM

Última actualización: 9 de octubre de 2026.

1. Introducción

NUBIX Lab, el sistema de información de laboratorio clínico (LIS) en la nube de Theia, S.A.P.I. de C.V., recibe los resultados de los analizadores del laboratorio a través de NUBIX OS 2, un agente que se instala en un equipo de la red del laboratorio. Esta declaración describe los protocolos y mensajes que admite esa interfaz: HL7 v2 sobre MLLP, ASTM y otros formatos de texto.

2. Arquitectura

  • Cada analizador se da de alta en NUBIX Lab con su formato, su forma de conexión (TCP o FTP) y un puerto. NUBIX OS 2 abre ese puerto en la red del laboratorio y el analizador se conecta a él.
  • NUBIX OS 2 separa cada mensaje, responde el acuse de recibo que exige el protocolo y reenvía el mensaje íntegro a NUBIX Lab por HTTPS. La interpretación del mensaje ocurre en la nube, por lo que un analizador nuevo normalmente solo requiere darlo de alta en NUBIX Lab.
  • Si no hay conexión a internet, NUBIX OS 2 guarda los mensajes y los reintenta durante 24 horas.
  • NUBIX Lab asocia cada resultado con la muestra o la orden por su código, lo valida contra los intervalos de referencia del laboratorio y recalcula el indicador de anormalidad.

3. HL7 v2 sobre MLLP

AspectoComportamiento
VersiónHL7 v2.x
TransporteTCP con encuadre MLLP (<VT> mensaje <FS><CR>). NUBIX OS 2 escucha; el analizador inicia la conexión.
Mensajes procesadosORU^R01
Otros mensajesACK, QRY, ORM, DSR y otros se reciben y se registran sin efecto sobre las órdenes.
Acuse de reciboACK con MSA|AA y el MSH-10 del mensaje recibido. Confirma la recepción, no la aplicación del resultado.
DelimitadoresSe toman de MSH-1 y MSH-2; se aceptan CR, LF o CRLF entre segmentos.
Tamaño máximo1 MB

Campos que se leen del mensaje ORU^R01:

DatoCampo HL7
Código de muestra u ordenSPM-2; si no viene, OBR-3, OBR-2, PID-18 y PID-3, en ese orden
Código de la pruebaOBX-3, componente 1 (o 2)
ValorOBX-5, según el tipo de OBX-2 (NM, SN, ST, CE, CWE, CF, CNE, entre otros)
UnidadOBX-6, componente 1
Indicador de anormalidadOBX-8 (informativo; NUBIX Lab lo recalcula)
Estado del resultadoOBX-11; se descartan X, D, W e I
Fecha y horaOBR-7, o MSH-7 si no viene, respetando la zona horaria

Se procesan todos los OBX de todos los OBR del mensaje. Las secuencias de escape de HL7 se decodifican y las repeticiones se unen en un solo valor.

4. ASTM

  • Nivel bajo: ASTM E1381 / CLSI LIS1-A sobre TCP. NUBIX OS 2 responde ACK al ENQ y a cada trama (ETX/ETB), y cierra el mensaje con EOT.
  • Registros: ASTM E1394 / CLSI LIS2-A2 (H, P, O, R, L). El código de muestra se toma del registro O y los resultados de los registros R.

5. Otros formatos

NUBIX Lab admite formatos propietarios de texto (por ejemplo, Fuji DRI-CHEM) y archivos CSV o TXT. Para los formatos no estándar, el laboratorio configura en NUBIX Lab las reglas de lectura a partir de un mensaje de ejemplo, con asistencia de inteligencia artificial y una vista previa del resultado antes de guardarlas.

6. Conexión por FTP

Para los analizadores que envían archivos en lugar de abrir una conexión, NUBIX OS 2 ofrece un servidor FTP de solo recepción en el puerto del equipo, con modo pasivo. Cada archivo se trata como un mensaje con una sola muestra.

7. Limitaciones

  • La interfaz es unidireccional: NUBIX Lab recibe resultados, pero no envía órdenes ni listas de trabajo a los analizadores ni responde consultas del analizador (host query).
  • Cada mensaje o archivo debe corresponder a una sola muestra.
  • NUBIX no ofrece por ahora interfaces HL7 con sistemas hospitalarios o de expediente electrónico (ADT, órdenes entrantes o envío de resultados), ni HL7 v3, CDA o FHIR. Las integraciones con otros sistemas se evalúan por proyecto.

8. Seguridad

La comunicación entre los analizadores y NUBIX OS 2 ocurre dentro de la red local del laboratorio y no va cifrada, por lo que los puertos de NUBIX OS 2 deben quedar accesibles solo desde esa red. De NUBIX OS 2 a NUBIX Lab, los mensajes viajan cifrados por HTTPS y se autentican con una llave propia de cada laboratorio; en la nube se almacenan cifrados. Para más información, consulte nuestras páginas de seguridad de la información de salud (HIPAA) y de privacidad.

HL7 and ASTM Conformance Statement

Last updated: October 9, 2026.

1. Introduction

NUBIX Lab, the cloud clinical laboratory information system (LIS) by Theia, S.A.P.I. de C.V., receives results from the laboratory’s analyzers through NUBIX OS 2, an agent installed on a computer in the laboratory’s network. This statement describes the protocols and messages supported by that interface: HL7 v2 over MLLP, ASTM and other text formats.

2. Architecture

  • Each analyzer is registered in NUBIX Lab with its format, connection type (TCP or FTP) and a port. NUBIX OS 2 opens that port on the laboratory network and the analyzer connects to it.
  • NUBIX OS 2 splits each message, sends the acknowledgment required by the protocol and forwards the complete message to NUBIX Lab over HTTPS. Message parsing happens in the cloud, so a new analyzer usually only needs to be registered in NUBIX Lab.
  • If there is no internet connection, NUBIX OS 2 stores messages and retries them for 24 hours.
  • NUBIX Lab matches each result to the sample or order by its code, validates it against the laboratory’s reference ranges and recalculates the abnormal flag.

3. HL7 v2 over MLLP

ItemBehavior
VersionHL7 v2.x
TransportTCP with MLLP framing (<VT> message <FS><CR>). NUBIX OS 2 listens; the analyzer opens the connection.
Processed messagesORU^R01
Other messagesACK, QRY, ORM, DSR and others are received and logged with no effect on orders.
AcknowledgmentACK with MSA|AA echoing the received MSH-10. It confirms receipt, not that the result was applied.
DelimitersTaken from MSH-1 and MSH-2; CR, LF or CRLF accepted between segments.
Maximum size1 MB

Fields read from the ORU^R01 message:

DataHL7 field
Sample or order codeSPM-2; if absent, OBR-3, OBR-2, PID-18 and PID-3, in that order
Test codeOBX-3, component 1 (or 2)
ValueOBX-5, according to the OBX-2 type (NM, SN, ST, CE, CWE, CF, CNE, among others)
UnitsOBX-6, component 1
Abnormal flagOBX-8 (informational; NUBIX Lab recalculates it)
Result statusOBX-11; X, D, W and I are discarded
Date and timeOBR-7, or MSH-7 if absent, honoring the time zone offset

All OBX segments of all OBR segments in the message are processed. HL7 escape sequences are decoded and repetitions are joined into a single value.

4. ASTM

  • Low level: ASTM E1381 / CLSI LIS1-A over TCP. NUBIX OS 2 answers ACK to ENQ and to each frame (ETX/ETB), and closes the message on EOT.
  • Records: ASTM E1394 / CLSI LIS2-A2 (H, P, O, R, L). The sample code is taken from the O record and results from the R records.

5. Other formats

NUBIX Lab supports proprietary text formats (for example, Fuji DRI-CHEM) and CSV or TXT files. For non-standard formats, the laboratory configures the parsing rules in NUBIX Lab from a sample message, with AI assistance and a preview of the result before saving them.

6. FTP connection

For analyzers that send files instead of opening a connection, NUBIX OS 2 provides a receive-only FTP server on the analyzer’s port, with passive mode. Each file is treated as one message with a single sample.

7. Limitations

  • The interface is unidirectional: NUBIX Lab receives results, but does not send orders or worklists to analyzers or answer analyzer host queries.
  • Each message or file must correspond to a single sample.
  • NUBIX does not currently offer HL7 interfaces with hospital or electronic health record systems (ADT, inbound orders or outbound results), nor HL7 v3, CDA or FHIR. Integrations with other systems are evaluated per project.

8. Security

Communication between analyzers and NUBIX OS 2 takes place within the laboratory’s local network and is not encrypted, so NUBIX OS 2 ports must be reachable only from that network. From NUBIX OS 2 to NUBIX Lab, messages travel encrypted over HTTPS and are authenticated with a key specific to each laboratory; they are stored encrypted in the cloud. For more information, see our health information security (HIPAA) and privacy pages.