My template uses the Glasgow Coma scale.
The Ordinals in the Glasgow Coma scale archetype have a value and a null_flavor within the ELEMENT.
There seems to be a lot of different paths that are being generated for these, based on the tools used.
Using Better’s template designer and the paths generated by concatenating the ids on a webtemplate this was obtained:
/initial_assesment/glasgow_coma_scale_gcs/best_motor_response_m/ordinal_value
/initial_assesment/glasgow_coma_scale_gcs/best_verbal_response_m/coded_text_value
However their respective AQL paths are:
/content[openEHR-EHR-OBSERVATION.glasgow_coma_scale.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0008]/value
/content[openEHR-EHR-OBSERVATION.glasgow_coma_scale.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0008]/null_flavour
And EHRBase webtemplates generated these paths:
/initial_assesment/glasgow_coma_scale_gcs/best_motor_response_m
/initial_assesment/glasgow_coma_scale_gcs/best_motor_response_m/null_flavour
What is the correct way to handle null_flavor using flatforms? What should be the path to the ordinal and the null_flavor?