Labs

Correct the reference intervals on results of an unfinalized lab order, and re-derive the abnormality flags that depended on them (ITE-499). A batch even for a single row: the case this exists for is a whole panel run against the wrong species profile, and correcting 25 analytes one call at a time is 25 chances to half-finish and leave a CBC interpreted against two species at once.

post/Labs/{id}/reference-intervals

Path parameters

idstring required

The lab order ID

Request body

reasonstring nullable

Optional shared justification recorded against every correction in this batch. Optional on purpose (see LabResultAmendment.Reason) — demanding prose for routine corrections only trains staff to type a placeholder.

Response

OK

idstring
patientIdstring
orderedByIdstring nullable
appointmentIdstring nullable
titlestring
testTypestring
statusstring
resultStatusstring
sourcestring
externalIdstring nullable
performingLabNamestring nullable

The laboratory behind the Greywind hub that actually ran this, and its id (ITE-552). Null when the order did not come through Greywind, or when the partner directory had not been mirrored when the result landed — the sync backfills the name in that case.

externalPartnerIdstring nullable
submissionUnconfirmedAtstring date-time nullable

Set when the submission's outcome was never confirmed with the laboratory (ITE-494) — the order may or may not be live there, and it must never be resubmitted on a guess.

submissionIssuestring nullable
sampleArrivedAtstring date-time nullable

When the laboratory confirmed the sample arrived (ITE-494). Null if they have not.

accessionNumberstring nullable
collectedAtstring date-time nullable
resultsReceivedAtstring date-time nullable
reviewedByIdstring nullable
reviewedAtstring date-time nullable
summarystring nullable
reportUrlstring nullable
prioritystring
labPanelIdstring nullable
submissionGroupIdstring nullable

Groups sibling orders created by one external submission (ITE-493). Null for manual orders.

manifestFileIdstring nullable

PatientFile id of the stored requisition manifest, when the order went to an external lab.

requiresPartnerActionboolean

True while the order still needs partner-hosted pages completed before it is really placed.

createdAtstring date-time
updatedAtstring date-time

Changes

Changed in 1 of the 6 revisions of this API.1