Match ehr example

this makes a number of changes, mostly so that we can integrate the new request-pages response format