Probatix Documentation
Probatix Diagnostics API v1

Retrieves the collection of Observation resources.

Retrieves the collection of Observation resources.

GET
/v1/observations

Retrieves the collection of Observation 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.

exists[interpretation]?boolean

Filter by whether the interpretation exists.

exists[unit]?boolean

Filter by whether the unit exists.

observation[]?array<string>

Filter by identifier, IRI, or canonical identifier.

sort[id]?string

Observation sort[id]

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

sort[loinc]?string

Observation sort[loinc]

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/observations" \  -H "accept-language: de"
[  {    "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"  }]