If you can setup a database query to the EHR then you could pull the data via SQL and then add it to the CDA "/ClinicalDocument/legalAuthenticator"
If you do not have access to the EHR then you could hard code values in a template of the legalAuthenticator. Maybe you could specify the values based on who is sending the CDA.