updated for OpenEHR models