Example of a health report built as a web view straight from within a native iOS app.
Example of a health report in PDF that can be delivered to members via email flow (double click to enlarge)
<aside> ℹ️ The health report covers body metrics from five categories. To build reports beyond these categories, combine this data with additional body metrics available through calls to the existing Hosted Cloud API endpoints.
For the list of the Health Report data sources, please contact your Prism representative.
</aside>
The Health Report API output a single json file that contains five categories of body metrics:
Using the payload provided within each of these categories, comprehensive health reports (via app screens, pdfs, web views, etc) for any given body scan can be built. See sample report above.
This API contains one endpoint that once hit, it outputs a health report json file that contains the relevant payload for each of the above insight categories.
Endpoint: GET /scans/[scan id]/health-report
. Only scan id
is needed when calling this endpoint.
Payload sample
<aside>
⚠️ Please note that the Health Report endpoint only outputs all its data when either Male or Female Sex is chosen by a user. When a user sets Sex to Neutral, the endpoint still returns a response with the same overall structure, but without the following sub-sections healthLabel
, percentile
and ageRange
for each of the main sections listed below: bodyFatPercentageReport
, leanMassReport
, fatMassReport
, waistCircumferenceReport
.
The metabolic rate part of the report is not dependent on Sex so the endpoint can still be leveraged to obtain this insight.
</aside>