PARTNER API · FACILITY-SCOPED
What is partner laboratory integration?
Partner laboratory integration lets an approved external system exchange selected laboratory workflow information with SmartCarePlus through an authenticated API.
The reviewed route set includes credential verification and laboratory identity, active test discovery and detail, order creation and lookup, order cancellation within defined statuses, report retrieval and download, and acknowledgement or submission for recollection.
API-key middleware attaches facility context and partner metadata before the integration controller handles an operation.
This page describes a specific integration surface; it is not an open, self-service developer marketplace. A valid key does not establish that every endpoint is permitted or enabled for every partner.
Facility scope, partner type, configured permissions, the current contract, and partner onboarding determine what an integration may do. The reviewed API also differs from the other lab partner API surface in SmartCarePlus.
A technical owner must identify the contract being used and avoid merging endpoints, identifiers, or lifecycle assumptions from separate integrations.
THE PROBLEM
What problem does it solve?
When a partner performs collection or another agreed service, staff may otherwise re-enter the same patient, test, and order information in the facility’s laboratory system.
An approved integration can connect an external booking identifier with the SmartCarePlus lab order, help the partner discover the facility’s active test catalogue, and provide a defined way to look up order state.
Once a report is ready under the supported status rules, the partner can retrieve report information or a download.
The API also has separate acknowledgement and submission actions for recollection, so a partner can participate in that workflow without treating every event as a new order.
Reliable exchange depends on precise identifiers and lifecycle rules. A duplicate external booking ID returns a conflict, while cancellation is limited to orders that have not progressed into processing states.
A report that is not associated, or is not approved, completed, or published, is not returned as ready.
Teams must agree how retries, errors, status changes, patient fields, sample identifiers, and support incidents are handled before an integration is used for live operations.
Verify a partner connection
The verification endpoint identifies the facility associated with the authenticated key and returns partner type and configured permissions. This helps an integration confirm that its credentials point to the intended laboratory before it exchanges orders.
Discover the facility test catalogue
Partners can list active tests with optional category, type, or name search filters, and request an individual active test. The response may include name, code, category, department, price, sample information, report timing, fasting, instructions, home collection availability, and included tests.
Create and reconcile orders
An order request includes an external booking identifier, patient fields, at least one test, and optional sample, collection, priority, address, or metadata fields. The API creates the facility booking and exposes lookup by platform ID or the external identifier for reconciliation.
Cancel eligible orders
The API accepts a cancellation request only for the supported pre-processing states, such as booked, sample-collected, or sample-labelled. Later-stage orders cannot be cancelled through this operation.
Retrieve released reports and handle recollection
The report endpoints require an associated report in an allowed ready status. Separate recollection acknowledgement and submission endpoints preserve their own lifecycle; they should not be presented as report approval or a replacement order.
THE EXPERIENCE
How a partner connection works
- 1
Agree the integration contract
The facility and partner identify the exact API family, base path, authentication method, permitted endpoints, patient-data fields, identifier mapping, supported status transitions, report requirements, and support owner.
- 2
Issue and protect scoped credentials
The integration uses a bearer API key authenticated by middleware that attaches facility context and checks endpoint permissions. Keep secrets in the partner’s approved secret store, restrict their use, and plan expiry or revocation. A public page must not expose key material or imply credentials are unrestricted.
- 3
Test catalog, order, and exception paths
Validate test matching, duplicate external IDs, malformed requests, cancellation eligibility, order lookup, report-not-ready responses, recollection actions, and permission denials in a controlled environment. Retry behavior and idempotency beyond the explicit duplicate response require contract agreement.
- 4
Reconcile live work
Partner and facility teams use the stable platform and external identifiers to compare order state. The facility’s laboratory workflow remains authoritative for its approval and report release decisions.
USE CASES
Common integration use cases
Partner test discovery
An approved system can query the lab’s active catalogue and present only tests available to that facility and credential.
Send an order after collection
A partner can create a laboratory booking using its external reference and the required patient and test details, then retain the returned SmartCarePlus identifiers for reconciliation.
Check processing and report availability
The partner can look up an order by its known identifier and request a report when the facility workflow marks it ready.
Coordinate a recollection
Where a specimen needs recollection, the integration can use the corresponding acknowledgement and submission operations instead of treating the request as a normal completed report.
WHO IT IS FOR
Who can use this feature?
For external integration teams
Use the contract approved for your partner relationship. Confirm endpoint versions, field meanings, timeouts, retries, duplicate handling, status vocabulary, report formats, and support escalation before connecting production systems.
For laboratory owners and managers
Decide which partner may exchange data, which tests and operations are in scope, who owns test-code alignment, and how exceptions and patient questions are handled.
For facility IT and security teams
Review API key scope, expiry and revocation, secret storage, network exposure, data agreements, logging, transfer security, and the partner’s own data retention. Verify that each route enforces the intended permission and facility boundary.
Availability boundary
The reviewed code establishes an API surface and facility-scoped key middleware. It does not, by itself, establish a public sandbox, a universal partner programme, uptime SLA, retry guarantee, API support hours, webhook delivery contract, or compatibility with every partner platform.
GET STARTED
Plan a partner integration review
Share the partner system, facility, order flow, data fields, test mapping, report requirement, and support model with your SmartCarePlus integration contact.
Confirm the exact API version and credential permissions, then test the whole lifecycle—including duplicate orders, late cancellation, report-not-ready, and recollection paths—with synthetic data. Ask for approved contract documentation and a named owner before scheduling a production connection.
FAQs
What can a connected partner exchange?
The reviewed contract covers test discovery, order creation and lookup, cancellation in eligible statuses, report retrieval/download, and recollection actions, subject to permissions.
Can a partner cancel an order at any time?
No. Cancellation is limited to defined early booking states. Orders already in processing cannot be cancelled through this endpoint.
When is a report available to the partner?
The report must exist and be associated with the order, and its status must be approved, completed, or published under the reviewed controller logic.
Is there a public sandbox and uptime commitment?
Those are not established by the code routes. Confirm test environment, service levels, and support scope with SmartCarePlus.
Does a valid API key grant full lab access?
No. The middleware provides facility context and checks configured permissions. Each partner should receive only the access agreed for its workflow.