Question on Stack Overflow re openEHR Persistence using RoR Active Record

Rails Multi Table Inheritance, Polymorphic association or Single Table
Inheritance?

"I'm trying to implement the OpenEHR reference model in Rails
(ActiveRecord), but I'm finding some problems, since it works with a
lot of different of different classess, ..."

http://stackoverflow.com/q/27909328/3973688?sem=2

Anyone want to help?

Ian
Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
skype: ianmcnicoll
email: ian@freshehr.com
twitter: @ianmcnicoll

Director, freshEHR Clinical Informatics
Director, openEHR Foundation
Director, HANDIHealth CIC
Hon. Senior Research Associate, CHIME, UCL

This is one of my students :smiley: doing our Clinical Database Design with openEHR course. He is trying to use Rails to solve an assigment, but I’m not a Rails expert, so anyone with Rails knowledge might help him better than me.

Hi Ian,

i added a comment. It needs tricky codes to implement COMPOSITE patten
with ActiveRecord and RDBMS.
The following example on GitHub is an extract of my project.
https://github.com/skoba/openehr_rm_rails

I will feedback recent experience to openehr-rails repository, until
the next medinfo.

Shinji KOBAYASHI