Update EHR Extract template to have correct differential syntax
Add some flattening archetype examples.