Skip to main content
GET
Get a report
Returns the lab result as a FHIR R4 DiagnosticReport, enriched with the portal report status and all issues. The identifier is the accession/barcode from Place an order or a numeric sampleId — auto-detected. Query aliases work too: GET /report/fhir?barcode={barcode} or ?sampleId={sampleId}. Unless you’re denied access, this always returns 200. Four outcomes:
  • Report ready — including preliminary — full result content (observations, PDF link) plus status and issues.
  • Nothing finished yet — a status shell with per-report progress counts and a synthetic No Finished Test blocking issue; no result content.
  • Report-blocking issue (e.g. billing) — status + issues returned, result content withheld until resolved; conclusion says why.
  • Cancelled order — status: cancelled, a cancellation explanation in conclusion, and no result content or PDF. Stop polling this order.
The urn:vibrant:order-canceled extension carries order_canceled and order_cancel_time. Cancellation is terminal. Status changes can propagate asynchronously after a cancellation request. So there’s no bare “not-ready” 404 to poll — read status and the urn:vibrant:* extensions instead. See Reports.
A 404 means the identifier isn’t within your account’s access or is unknown — both look the same so sample existence isn’t leaked. It never means “still processing”.

Authorizations

Authorization
string
header
required

OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send Authorization: Bearer <access_token>. Request the result and report scopes to read results.

Scopes

result

Read finalized lab results

report

Read report status and issues

Path Parameters

id
string
required

Accession/barcode from POST /orders (e.g. 2508088888) or a numeric sampleId — auto-detected.

Response

A FHIR R4 DiagnosticReport (result content present, or withheld with status + issues).

A FHIR R4 DiagnosticReport (abridged). Result content (contained Patient/Specimen/Observations, result references, PDF presentedForm link — never embedded base64) is present for ready reports, including preliminary, unless a report-blocking issue withholds access. A blocking issue can leave status as preliminary or final while Observations, result references and PDF links are omitted; status, counts and issue extensions remain available. Portal report status, per-report progress counts, and all issues ride in urn:vibrant:* extensions.

resourceType
enum<string>
Available options:
DiagnosticReport
status
enum<string>

Mapped from the portal report status: Final Report Available → final; Preliminary Report Available → preliminary (content is returned unless blocked); Analyzing/Awaiting Samples, No Reports → registered; status unavailable → unknown (fail-closed, result withheld). A cancelled order reports cancelled with a cancellation conclusion and urn:vibrant:order-canceled details, and no result content or PDF. This top-level cancelled status is terminal: stop waiting for or polling results regardless of per-report progress details. You do not need to query Get orders to confirm cancellation. Status describes report progress, not content-access permission: unresolved report-blocking issues can withhold results and PDF links while status remains preliminary or final. Check the structured blocking-issue extensions and conclusion.

Available options:
registered,
preliminary,
final,
cancelled,
unknown
conclusion
string

Present when the result content is withheld — explains why (blocking issue, not ready, or fail-closed).

code
object
issued
string<date-time>
identifier
object[]
presentedForm
object[]

Link to the report PDF (present only when result content is released).

extension
object[]

FHIR complex extensions carrying the portal detail: urn:vibrant:sample-level-report-status (portal report_status string + total_report_count/total_generated_report_count — per-report progress like 2/3); urn:vibrant:sample-level-report-blocking-issue and urn:vibrant:sample-level-issue (repeated, one per issue: issue_name, issue_type_id, issue_id, issue_comment, blocks_report); per-report buckets (urn:vibrant:pending-report, awaiting-samples-report, analyzing-samples-report, processing-report, finished-report); and urn:vibrant:report-status-list-v2 (valueString = the full status+issues JSON — issue arrays always present, [] when empty). Cancelled reports also include urn:vibrant:order-canceled with order_canceled (boolean) and order_cancel_time (date-time).