Thanks for the help, unfortunately I can’t add the data I needed in the patientHeader without doing a complete fork of the coreapps, which is impossible for me to do due to time constraints.
For now I will use the temporary solution that @sharif gave me, but I feel it is not the most optimal or elegant solution.