Labs

Add a result to a lab order

Changed on
post/Labs/{id}/results

Request

Path parameters

idstring required

Request body

testNamestring
testCodestring nullable
valuestring
unitstring nullable
referenceRangestring nullable
flagstring nullable
commentstring nullable

Response

OK

idstring
labOrderIdstring
testNamestring
testCodestring nullable
valuestring
unitstring nullable
referenceRangestring nullable
flagstring nullable

The flag name, or null when none was reported and none could be derived (ITE-548). Clients must render null as its own state — not as a badge in either direction.

commentstring nullable
createdAtstring date-time
supersededAtstring date-time nullable
         Set when a later report replaced this value (ITE-492). Null means this is the value that
         currently stands.

         Superseded rows are returned rather than filtered out on purpose: a clinician who acted on

the original needs to see that it changed, not just the new number appearing as if it had always been there.

supersededByResultIdstring nullable

The result that replaced this one, when superseded.

referenceIntervalAmendedAtstring date-time nullable
         Set when a clinician corrected this result's reference interval (ITE-499). Null means the
         interval is still exactly what the laboratory or analyzer sent.

         Clients must surface this. A value flagged against a corrected interval is a different

clinical claim from one flagged against the lab's own, and a reader who cannot tell the two apart cannot judge how much to trust the flag.

Changes

    • breaking

      the response property became nullable for the status (media type: text/plain)

    • breaking

      the response property became nullable for the status (media type: application/json)

    • breaking

      the response property became nullable for the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)