source: ruby/branches/0.5.0/lib/open_ehr/rm/composition/content/entry.rb@ 167

Last change on this file since 167 was 167, checked in by KOBAYASHI, Shinji, 15 years ago

adjust for rails

File size: 815 bytes
Line 
1module OpenEhr
2 module RM
3 module Content
4 module Entry
5 class Entry < Content_Item
6 end
7 class CareEntry < Entry
8 end
9 class Action < CareEntry
10 attr_accessor :description, :time
11 attr_accessor :ism_transition, :instruction_details
12 def initialize(description, time, ism_transition, instruction_details)
13 raise Exception.new("invalid argument") if description == nil || time == nil || ism_transition == nil
14 @description = description
15 @time = time
16 @ism_transition = ism_transition
17 @instruction_details = instruction_details if instruction_details != nil
18 end
19 end # end of Action
20 end # end of Entry
21 end # end of Content
22 end # end of RM
23end # end of OpenEHR
Note: See TracBrowser for help on using the repository browser.