Changeset 357 for ruby


Ignore:
Timestamp:
Nov 17, 2009, 10:39:10 PM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

refs #57 Evaluation

Location:
ruby/branches/0.5
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/lib/open_ehr/rm/composition/content/entry.rb

    r356 r357  
    8282          end
    8383
     84          class Evaluation < CareEntry
     85            attr_reader :data
     86
     87            def initialize(args = { })
     88              super(args)
     89              self.data = args[:data]
     90            end
     91
     92            def data=(data)
     93              raise ArgumentError, 'data are mandatory' if data.nil?
     94              @data = data
     95            end
     96          end
     97
    8498          class Action < CareEntry
    8599            attr_accessor :description, :time
Note: See TracChangeset for help on using the changeset viewer.