Description
Calculate Z-score and percentile for a child measurement using WHO growth standards LMS method.
Endpoint
https://app.myhealthnote.com/api/fhir/Dash/population/anthro/calculate-percentile
Request Examples
cURL
curl -X GET \
"https://app.myhealthnote.com/api/fhir/Dash/population/anthro/calculate-percentile" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"
JavaScript/Node.js
const response = await fetch("https://app.myhealthnote.com/api/fhir/Dash/population/anthro/calculate-percentile", {
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Accept": "application/json"
}
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://app.myhealthnote.com/api/fhir/Dash/population/anthro/calculate-percentile",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Accept": "application/json"
}
)
print(response.json())
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
type |
string | No | weight-for-age | Growth standard type |
gender |
string | Yes | - | Gender: male or female |
ageDays |
integer | No | - | Age in days |
ageMonths |
number | No | - | Age in months |
measurementValue |
number | Yes | - | Measurement value in appropriate units |
Response Example
{
"resourceType": "Bundle",
"type": "searchset",
"total": 1,
"entry": [
{
"resource": {
"resourceType": "Observation",
"component": [
{
"code": {
"coding": [
{
"display": "Z-score"
}
]
},
"valueQuantity": {
"value": 0.5,
"unit": "SD"
}
},
{
"code": {
"coding": [
{
"display": "Percentile"
}
]
},
"valueQuantity": {
"value": 75,
"unit": "percent"
}
}
]
}
}
]
}
Try It Out
Enter your API token to test this endpoint: