Understanding Flat Composition JSON


I am trying to create a Flat JSON using the following Template:
Web Template (JSON)

I am using the EHRScape Rest API via Postman and it is successfully creating a JSON.
I am not able to understand a few fields in it.

I have highlighted the fields in the image

These fields are created with all the templates that I have tried.

For a custom template:

Can anyone please help me understand what these fields are.

Thank you,
Philips Healthcare.

1 Like

These are standard context data that openEHR supports for any composition. You can optionally commit this with the composition if required. Most of these are not mandatory and can be removed if not needed.


1 Like

This might help understanding. Essentially, those rows are extracted from deeper in the canonical model structures, to make life easier for many common cases. The commit logic in the server recreates the correct structures. See here for the field level correspondences.