curl --request GET \
--url https://api.vibrant-america.com/v1/report/fhir/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vibrant-america.com/v1/report/fhir/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vibrant-america.com/v1/report/fhir/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vibrant-america.com/v1/report/fhir/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vibrant-america.com/v1/report/fhir/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vibrant-america.com/v1/report/fhir/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vibrant-america.com/v1/report/fhir/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"resourceType": "DiagnosticReport",
"status": "final",
"code": {
"text": "Gut Zoomer"
},
"issued": "2026-06-20T14:03:00Z",
"identifier": [
{
"system": "urn:vibrant:accession",
"value": "2508088888"
}
],
"extension": [
{
"url": "urn:vibrant:sample-level-report-status",
"extension": [
{
"url": "report_status",
"valueString": "Final Report Available"
},
{
"url": "total_report_count",
"valueInteger": 3
},
{
"url": "total_generated_report_count",
"valueInteger": 3
}
]
}
],
"presentedForm": [
{
"contentType": "application/pdf",
"url": "https://api.vibrant-america.com/v1/report/fhir/2508088888/pdf"
}
]
}Report
Returns the lab result as a FHIR R4 DiagnosticReport, enriched with the portal report status and all issues.
Identifier — barcode or sampleId, auto-detected. {id} accepts the accession/barcode returned by POST /orders or a numeric sampleId; the API resolves it as a barcode first and falls back to sampleId only for an all-digits value that is definitively not a barcode. Query aliases also work: GET /report/fhir?barcode={barcode} or ?sampleId={sampleId} (if both are sent, sampleId wins; neither → 400).
Four outcomes — always 200 unless access is denied:
- Report ready and unblocked (including
preliminary) → full result content: observations, PDFpresentedFormlink, plus status + issues. - Nothing finished yet → a status shell: report status + per-report counts + issues, including a synthetic
No Finished Testreport-blocking issue. No result content. - Report-blocking issue (e.g. a billing issue) → status, counts and issue extensions returned; Observations,
resultreferences and PDFpresentedFormlinks are withheld until the issue resolves. Status can remainpreliminaryorfinal;conclusionsays why. Read the blocking flags rather than inferring content access from status alone. - Cancelled order →
status: cancelled, cancellation details andconclusion, with no result content or PDF. This top-level 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.
There is no bare “not-ready” 404 to poll — read status (and the urn:vibrant:* extensions) instead. Sample-level status, per-report progress counts (e.g. 2/3), and both issue lists ride in FHIR extensions; see the schema.
curl --request GET \
--url https://api.vibrant-america.com/v1/report/fhir/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vibrant-america.com/v1/report/fhir/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vibrant-america.com/v1/report/fhir/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vibrant-america.com/v1/report/fhir/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vibrant-america.com/v1/report/fhir/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vibrant-america.com/v1/report/fhir/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vibrant-america.com/v1/report/fhir/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"resourceType": "DiagnosticReport",
"status": "final",
"code": {
"text": "Gut Zoomer"
},
"issued": "2026-06-20T14:03:00Z",
"identifier": [
{
"system": "urn:vibrant:accession",
"value": "2508088888"
}
],
"extension": [
{
"url": "urn:vibrant:sample-level-report-status",
"extension": [
{
"url": "report_status",
"valueString": "Final Report Available"
},
{
"url": "total_report_count",
"valueInteger": 3
},
{
"url": "total_generated_report_count",
"valueInteger": 3
}
]
}
],
"presentedForm": [
{
"contentType": "application/pdf",
"url": "https://api.vibrant-america.com/v1/report/fhir/2508088888/pdf"
}
]
}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 Testblocking issue; no result content. - Report-blocking issue (e.g. billing) — status + issues returned, result content withheld
until resolved;
conclusionsays why. - Cancelled order —
status: cancelled, a cancellation explanation inconclusion, and no result content or PDF. Stop polling this order.
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.
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
Path Parameters
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.
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.
registered, preliminary, final, cancelled, unknown 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).