source: ruby/branches/0.5/lib/open_ehr/rm/integration.rb@ 360

Last change on this file since 360 was 360, checked in by KOBAYASHI, Shinji, 14 years ago

fixed #42

File size: 634 bytes
Line 
1# rm::integration
2# integration module
3# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_5_1_76d0249_1140530578205_529440_4046Report.html
4# refs #42
5include OpenEHR::RM::Composition::Content
6
7module OpenEHR
8 module RM
9 module Integration
10 class GenericEntry < ContentItem
11 attr_reader :data
12
13 def initialize(args = { })
14 super(args)
15 self.data = args[:data]
16 end
17
18 def data=(data)
19 if data.nil?
20 raise ArgumentError, 'data are mandatory'
21 end
22 @data = data
23 end
24 end
25 end # of Integration
26 end # of RM
27end # of OpenEHR
Note: See TracBrowser for help on using the repository browser.