⌘K

Laboratory OnboardingGuide

Laboratory IT: connection and callback contract

Exact Solia Lab HTTPS/JSON request/callback shapes, scoped identity, TLS, acknowledgement, mapping and separately gated native authority.

On this page

Identify the supported path

  • HTTPS/JSON Solia Lab Contract is implemented: the laboratory provides its own HTTPS test and order endpoint and authenticated lifecycle callbacks.
  • Solia Test Laboratory supports synthetic Sandbox evaluation without a named vendor interface.
  • Native REST, FHIR R4, HL7 v2/MLLP, SFTP/file and Edge have source implementations and isolated protocol tests, but generic hosted native configuration and validation are not available to every new laboratory.
  • A vendor's product name, saved implementation request or documentation package is not a live, certified interface.

Information needed from laboratory IT

  1. Identify LIS/LIMS product, release/version, interface license, technical owner and official vendor specification.
  2. Supply approved Sandbox endpoint routes, TLS domain, supported authentication mode, network allowlist and return-path registration.
  3. Map each selected orderable, panel/specimen, accession and result source identifier; record required/optional fields, statuses, units and finality.
  4. Provide the signed synthetic test plan: order, application acceptance, accession/specimen status, result, correction/rejection, duplicate and uncertain-response recovery.
  5. Accept the specific installation-scoped technical invitation with your intended user identity. Invitation links and Operations membership alone do not authorize credential writes.

Credentials must be entered only through the authenticated secure form. Copied setup instructions contain non-secret configuration, never bearer keys.

Laboratory-hosted endpoint contract

The laboratory hosts POST /connection-test and POST /orders under its approved Sandbox base URL. These are laboratory-side interfaces, not public Solia Partner API routes.

http
POST /connection-test HTTP/1.1
Content-Type: application/json

{"contract_version":"solia.lab.v1","tenant_id":"<workspace UUID>"}

HTTP/1.1 200 OK
Content-Type: application/json

{"contract_version":"solia.lab.v1"}
  • Order request must carry Idempotency-Key, X-Solia-Transmission-Id, X-Solia-Contract-Version, X-Solia-Tenant-Id and X-Solia-Adapter-Key.
  • Use the configured bearer or API-key-header authentication. Validate TLS host/certificate; redirects are refused.
  • Each order body contains contract_version, transmission_id, order_id, idempotency_key, tenant_id, adapter_key and a canonical translated order snapshot.
  • A repeated Idempotency-Key represents the same transmission. The laboratory must not create a second LIS order for duplicate delivery.
json
{
  "contract_version": "solia.lab.v1",
  "transmission_id": "<transmission UUID>",
  "order_id": "<canonical order UUID>",
  "external_order_ref": null,
  "idempotency_key": "<stable key>",
  "tenant_id": "<workspace UUID>",
  "adapter_key": "solia-lab-https-sandbox",
  "order": {
    "<translated fields>": "from reviewed canonical mapping"
  }
}

Important

This is a structural envelope example, not an executable patient order or an approved clinical mapping.

ACK, accession and return semantics

  • HTTP 2xx without a valid ACK body proves transport receipt only, not application acceptance or accession.
  • Optional synchronous ACK fields: ack_status accepted or rejected, ack_reference, ack_code, ack_message and external_order_ref. Otherwise await the correlated inbound ACK event.
  • For HL7 v2, CA is transport commit acknowledgement; AA is application acceptance. Treat AE/AR and other rejection responses according to the approved profile.
  • An uncertain post-send response keeps the original order and transmission for reconciliation, without a second send.

Signed inbound event contract

The laboratory POSTs callbacks to /api/public/lab-events for the selected environment. Supported kinds: ack, accession, specimen_status, result, report_metadata. Each event must carry exact tenant, adapter, transmission and order correlation.

json
{
  "kind": "ack",
  "contract_version": "solia.lab.v1",
  "tenant_id": "<workspace UUID>",
  "adapter_key": "solia-lab-https-sandbox",
  "transmission_id": "<same transmission UUID>",
  "order_id": "<same order UUID>",
  "event": {
    "ack_status": "accepted",
    "ack_reference": "<laboratory reference>"
  }
}

Signature mode uses X-Solia-Timestamp (Unix seconds) and X-Solia-Signature: v1=<hex HMAC-SHA256>. Sign <timestamp>.<raw JSON body> with the configured inbound credential. Maximum clock tolerance: 300 seconds. Never reserialize the body after signing.

  • Invalid signatures, stale timestamps, replay, unknown fields or unrelated order/transmission identifiers must be refused.
  • An explicitly configured legacy shared-credential fallback also exists; do not conflate it with native REST bearer/TLS callbacks or Partner API webhook signing.
  • A received result can remain held for mapping, specimen or clinical review. Return traffic does not grant patient-visible result release.

Native profile commissioning remains governed

  • Source-qualified native UI and compiled two-lab tests are not evidence that general hosted connection RPCs and credential custody have been installed.
  • A new native lab requires approved configuration/validation backend contracts, scoped endpoint/credential publication, profile, return path and runtime admission.
  • Legacy and upgraded first-save writers must not create duplicate installations or invalidate original signed evidence. This protected authority is still a separate release gate.
  • Never work around an unavailable button by directly creating database rows, sending unapproved vendor traffic, or forging callback evidence.

Limitation

Source implementation, hosted installation, approved one-lab Sandbox acceptance and Production authorization are four distinct decisions.

Technical readiness checklist

  1. Verify the current signed-in actor, Sandbox workspace, installation and assigned technical task grant.
  2. Reopen profile/endpoint/network/credential and order/result mapping readbacks without exposing secrets.
  3. Run only an enabled, authorized synthetic test once; preserve original order, transmission and idempotency key.
  4. Observe distinct transport receipt, application ACK, specimen/accession and result acceptance. Reconcile unknown send without dispatch retry.
  5. Have owner independently record current Sandbox data-flow and UAT reviews, then save and reopen the completion receipt.

Related resources