Add Readings

The readings module helps to save the readings data captured from the devices and fetch them when required

Add readings of the patient

POST https://casesheet.demo.medeintegra.dev/readings/add

This endpoint saves the received readings data based on the medeUid which is a unique id of the patient (medeUid should be present in the authorization bearer token)

Headers

Name
Type
Description

Authorization

string

Bearer <<ACCESS_TOKEN>>

{
	"code": "Ok",
	"message": "Added Reading Successfully"
}
{
  "medeUid": "<<medeUid>>",
  "readingType": "symptom",
  "symptoms": [
  	{
  		"symptom": "Fever & Cough",
  		"severity": "MODERATE"
  	}
  ],
  "timestamp": 1592488378
}

Fetch readings of the patient

GET https://casesheet.demo.medeintegra.dev/readings/get

This endpoint fetches the reading of the patient based on the patient unique id(medeUid) and from, to timestamps

Query Parameters

Name
Type
Description

to

number

epoch end time

from

number

epoch start time

medeUid

string

unique id of the patient

Headers

Name
Type
Description

Authorization

string

Bearer <<ACCESS_TOKEN>>

Last updated

Was this helpful?