Probatix Documentation
Probatix Diagnostics API v1

Retrieves the collection of TestResult resources.

Retrieves the collection of TestResult resources.

GET
/v1/test_results

Retrieves the collection of TestResult resources.

X-API-TOKEN<token>

In: header

Query Parameters

page?integer

The collection page number

createdAt[gt]?string

Return resources with `createdAt` greater than the given timestamp.

createdAt[gte]?string

Return resources with `createdAt` greater than or equal to the given timestamp.

createdAt[lt]?string

Return resources with `createdAt` less than the given timestamp.

createdAt[lte]?string

Return resources with `createdAt` less than or equal to the given timestamp.

diagnosticTest[]?array<string>

Filter by identifier, IRI, or canonical identifier.

observation[]?array<string>

Filter by identifier, IRI, or canonical identifier.

sort[createdAt]?string

TestResult sort[createdAt]

Allowed values: "asc", "desc", "ASC", "DESC"

sort[id]?string

TestResult sort[id]

Allowed values: "asc", "desc", "ASC", "DESC"

testResult[]?array<string>

Filter by identifier, IRI, or canonical identifier.

Header Parameters

accept-language?string

Language for Errors and Translatable properties

Allowed values: "de", "en", "fr"

Response Body

curl -X GET "https://example.com/v1/test_results" \  -H "accept-language: de"
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "createdAt": "2019-08-24T14:15:22Z",    "observations": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "testResult": "/entity/1",        "loincNum": "string",        "value": "string",        "unit": "string",        "referenceRange": {          "intervals": [            {              "label": "string",              "lower": {                "operator": ">",                "value": 0              },              "upper": {                "operator": ">",                "value": 0              }            }          ]        },        "interpretation": "string",        "labNotes": [          "string"        ],        "createdAt": "2019-08-24T14:15:22Z"      }    ],    "documents": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "originalFileName": "string",        "downloadPath": "/entity/1",        "mimeType": "string",        "size": 0,        "createdAt": "2019-08-24T14:15:22Z"      }    ],    "labNotes": [      "string"    ],    "diagnosticTest": "string"  }]