Results

When the blood/swab has been tested in the lab, your results are ready to consume.

The Results model

The Results model contains all the information about the Result.

Properties

  • Name
    id
    Type
    string
    Description

    Unique identifier for the Result.

  • Name
    name
    Type
    string
    Description

    Biomarker tested name.

  • Name
    code
    Type
    string
    Description

    Biomarker tested code.

  • Name
    value
    Type
    float
    Description

    Result value

  • Name
    min_range
    Type
    float
    Description

    Minimum Range for normal result (will be null for Positive/Negative results)

  • Name
    max_range
    Type
    float
    Description

    Minimum Range for normal result (will be null for Positive/Negative results)

  • Name
    comment
    Type
    string
    Description

    Doctors comment about the result

  • Name
    successful
    Type
    boolean
    Description

    Succesfully tested result

  • Name
    biomarker_id
    Type
    string
    Description

    Biomarker tested ID.


GET/api/lab_result/{test_registration_id}/test_registration

Get Result Via Test Registration

This endpoint allows you to retrieve a result for a test registration. You would tend to do this after you receive the results ready webhook.

If the results are not ready you will receive a 204 blank response.

Attributes

  • Name
    test_registration_id
    Type
    string
    Required
    REQUIRED
    Description

    Test Registration ID

Returns

Returns the Result object if successful.

Request

GET
/api/lab_result/{test_registration_id}/test_registration
curl -G https://api.londonmedicallaboratory.com/api/lab_result/41b11600-e8dd-4a4b-b3d2-a2d490de4b2a/test_registration \
  -H "Authorization: Bearer {token}"

Response

{
    "id": "5c9cf920-f686-4570-8211-258d2786f509",
    "name": "MYELOCYTES ABS",
    "code": "my",
    "value": "70",
    "min_range": "13",
    "max_range": "94",
    "comment": null,
    "successful": true,
    "biomarker_id": "07321e98-23fe-4ef5-b4c6-48732b95a660"
},
{
    "id": "c2ddb844-1fd2-497d-a4e1-3cfc6a31f865",
    "name": "Total Protein",
    "code": "TPR",
    "value": "21",
    "min_range": "8",
    "max_range": "89",
    "comment": null,
    "successful": true,
    "biomarker_id": "077f21f3-c667-4950-b00e-af701720c090"
},
{
    "id": "cfd5b10c-ea99-400a-b0ff-47d24dc81a7b",
    "name": "Total Protein",
    "code": "TPR",
    "value": "73",
    "min_range": "15",
    "max_range": "88",
    "comment": null,
    "successful": true,
    "biomarker_id": "077f21f3-c667-4950-b00e-af701720c090"
}