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/common/generic.rb

    r157 r167  
    22# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_5_1_76d0249_1140169202660_257304_813Report.html
    33# Related to the ticket #62
    4 include OpenEHR::RM::Support::Identification
    5 include OpenEHR::RM::Data_Types::Basic
    6 module OpenEHR
     4include OpenEhr::RM::Support::Identification
     5include OpenEhr::RM::DataTypes::Basic
     6module OpenEhr
    77  module RM
    88    module Common
    99      module Generic
    10         class Audit_Details
     10        class AuditDetails
    1111          attr_reader :system_id, :committer, :time_committed, :change_type
    1212          attr_accessor :description
     
    4545        end
    4646
    47         class Revision_History
     47        class RevisionHistory
    4848          attr_reader :items
    4949
     
    6666            return @items.last.audits.first.time_committed.value
    6767          end
    68         end # of Revision_History
     68        end # of RevisionHistory
    6969
    70         class Revision_History_Item
     70        class RevisionHistoryItem
    7171          attr_reader :version_id, :audits
    7272
     
    8787            @version_id = version_id
    8888          end
    89         end # of Revision_History_Item
     89        end # of RevisionHistory_Item
    9090
    91         class Party_Proxy
     91        class PartyProxy
    9292          attr_accessor :external_ref
    9393
     
    9797        end
    9898
    99         class Party_Self < Party_Proxy
     99        class PartySelf < PartyProxy
    100100
    101101        end
    102102
    103         class Party_Identified < Party_Proxy
     103        class PartyIdentified < PartyProxy
    104104          attr_reader :name, :identifier
    105105          def initialize(args = { })
     
    132132        end
    133133
    134         class Party_Related < Party_Identified
     134        class PartyRelated < PartyIdentified
    135135          attr_reader :relationship
    136136          def initialize(args = { })
     
    174174        end
    175175
    176         class Attestation < Audit_Details
     176        class Attestation < AuditDetails
    177177          attr_reader :reason
    178178          attr_accessor :proof, :items
Note: See TracChangeset for help on using the changeset viewer.