make AD template obey openEHR