Ignore:
Timestamp:
Aug 6, 2009, 1:20:05 AM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

adjust for rails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5.0/lib/open_ehr/rm/data_types/basic.rb

    r109 r167  
    22# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109067591791_562382_3151Report.html
    33# Ticket refs #52
    4 module OpenEHR
     4module OpenEhr
    55  module RM
    6     module Data_Types
     6    module DataTypes
    77      module Basic
    8         module Canonical_Fragment
     8        module CanonicalFragment
    99        end
    1010
    11         class Data_Value
    12           include OpenEHR::RM::Support::Definition::Basic_Definition
     11        class DataValue
     12          include OpenEhr::RM::Support::Definition::BasicDefinition
    1313        end
    1414
    15         class DV_Boolean < Data_Value
     15        class DvBoolean < DataValue
    1616          def initialize(value)
    1717            self.value = value
     
    2828            @value == true
    2929          end
    30         end  # end of DV_Boolean
     30        end  # end of DvBoolean
    3131
    32         class DV_State < Data_Value
     32        class DvState < DataValue
    3333          attr_reader :value
    3434
     
    4848            @is_terminal = s
    4949          end
    50         end # end of DV_State
     50        end # end of DvState
    5151
    52         class DV_Identifier
     52        class DvIdentifier
    5353          attr_accessor :issuer, :assigner, :id, :type
    5454          def initialize(assigner, id, issuer, type)
     
    6363            @type = type
    6464          end
    65         end #end of DV_Identifier
     65        end #end of DvIdentifier
    6666      end # end of Basic
    67     end # end of Data_types
     67    end # end of DataTypes
    6868  end # end of RM
    6969end # end of OpenEHR
Note: See TracChangeset for help on using the changeset viewer.