forked from skoba/openehr-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Ruby implementation of the openEHR
skoba edited this page Feb 12, 2013
·
2 revisions
In this project, we are implementing the openEHR specifications by Ruby. The mission goal is to establish agile EHR development infrastructure using Ruby on Rails.
This project includes three major packages, RM, AM and Parser/Serializer.
The original class nomenclature uses only capital and underscore, because of Eiffel grammatical rule. We use camel case for class/module nomenclature, and snake style on method nomenclature like Rails convention.
RM defines data types, data structures, supportive information models. RM instance is generated form RM objects. Constructors of RM classes need a number of arguments.
AM defines semantics of the clinical concept. AM can be instantiated from ADL file. This is an example.
adl_parser = OpenEHR::Parser::ADLParser.new('sample.adl') archetype = adl_parser.parse