Last change
on this file since 8 was 4, checked in by KOBAYASHI, Shinji, 16 years ago |
restructuring repository tree
|
File size:
817 bytes
|
Rev | Line | |
---|
[4] | 1 | module OpenEHR
|
---|
| 2 | module RM
|
---|
| 3 | module Content
|
---|
| 4 | module Entry
|
---|
| 5 | class Entry < Content_Item
|
---|
| 6 | end
|
---|
| 7 | class Care_Entry < Entry
|
---|
| 8 | end
|
---|
| 9 | class Action < Care_Entry
|
---|
| 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
|
---|
| 23 | end # end of OpenEHR
|
---|
Note:
See
TracBrowser
for help on using the repository browser.