You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These 4 annotation blocks map to the following fields respectively:
Typical consumption (renamed from "Typical consumption (alcohol units)")
Per episode
Quit date (renamed from "Overall quit date")
Overall comment
When you fetch the template via a GET request to {base_url}/rest/ecis/v1/template/alcohol_consumption_summary.v0, the custom annotations will come through for nodes where we haven't renamed the field, but will be missing for nodes where we have renamed it.
Interestingly, if we modify the OPT file and remove the custom name from these annotation blocks, the custom annotations will come through correctly:
Configuration information
Steps to reproduce
We've been augmenting our templates with data that we place into annotations.
Related to a past issue #753, these fields used to be missing from the web template when this was fetched via an Ethercis request.
This has since been resolved, but it seems that custom annotations are now missing when a field has been renamed in the template.
Take this OPT for example (Alcohol Consumption Summary)
In it we have 4 fields where we've added a custom annotation called "validation":
These 4 annotation blocks map to the following fields respectively:
When you fetch the template via a GET request to
{base_url}/rest/ecis/v1/template/alcohol_consumption_summary.v0
, the custom annotations will come through for nodes where we haven't renamed the field, but will be missing for nodes where we have renamed it.Interestingly, if we modify the OPT file and remove the custom name from these annotation blocks, the custom annotations will come through correctly:
Actual result
Custom annotations are missing for nodes that have been renamed.
Expected result (Acceptance Criteria)
Custom annotations should come through regardless of whether the node has been renamed or not.
Definition of Done
The text was updated successfully, but these errors were encountered: