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 2015-01-20 8:17 GMT+09:00 Ian McNicoll <ian at freshehr.com>: > 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 at freshehr.com > twitter: @ianmcnicoll > > Director, freshEHR Clinical Informatics > Director, openEHR Foundation > Director, HANDIHealth CIC > Hon. Senior Research Associate, CHIME, UCL > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

