LinkWatch
  • Documentation
    • Authorization
    • UserAccount
    • HealthProfessional
    • Patient
    • TypeIdentifier
    • Observation
    • Measurement
    • Questionnaire
    • GenericResponse
  • API
  • Postman

Measurement description

Represent the measurement part of an observation and enables retrieve a collection of measurements based on the type identifier. E.g. systolic, diastolic, saturation. Parameters marked with optional in the API documentation, can be ignored and left out from the queries.

GET

Mehtods call to get observations in to the LinkWatch API.

Between

Returns a collection of measurements between two timestamps. Between

Example

Retrieve observations of blood pressure ove between two timestamps.

GET: {baseurl}/api/v1/measurement/value/150021/between?StartTime=2017-05-03&EndTime=2017-05-03&Order=desc&Offset=true

Request
Headers

Accept: application/json
Token: 09FDA49F-1D96-4A8E-9F99-FD7A4DED103C

Response
Body
[
 {
  "TypeId": 150021,
  "Value": "125",
  "UnitCode": 266016
  "Timestamp": "2017-05-03T12:00:00.000+02:00"
 }
]
Headers

Content-Type: application/json

Period

Returns a collection of measurements based on a period (transforms to start/end time). Operation can be used to aggregate the observation over a defined group, (e.g. average grouped by days). Period

Example

Retrieve observations of blood pressure ove between two timestamps.

GET: {baseurl}/api/v1/measurement/avg/150021/period?Value=1&Type=Day&GroupedBy=Day

Request
Headers

Accept: application/json
Token: 09FDA49F-1D96-4A8E-9F99-FD7A4DED103C

Response
Body
[
 {
   "GroupedBy": {
     "Year": 2017,
     "Value": 3,
     "ValueType": "Day",
     "NumberOfObservations": 1,
     "StartDate": "2017-05-03T00:00:00",
     "EndDate": "2017-05-03T23:59:59"
   },
   "Measurement": {
     "Timestamp": "2017-05-03T00:00:00+00:00",
     "TypeId": 150021,
     "Value": "125",
     "UnitCode": 266016
   }
 }
]
Headers

Content-Type: application/json


© 2025 - LinkWatch API