Changeset 167 for ruby/branches/0.5.0/lib/open_ehr/rm/common/generic.rb
- Timestamp:
- Aug 6, 2009, 1:20:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5.0/lib/open_ehr/rm/common/generic.rb
r157 r167 2 2 # http://www.openehr.org/uml/release-1.0.1/Browsable/_9_5_1_76d0249_1140169202660_257304_813Report.html 3 3 # Related to the ticket #62 4 include OpenE HR::RM::Support::Identification5 include OpenE HR::RM::Data_Types::Basic6 module OpenE HR4 include OpenEhr::RM::Support::Identification 5 include OpenEhr::RM::DataTypes::Basic 6 module OpenEhr 7 7 module RM 8 8 module Common 9 9 module Generic 10 class Audit _Details10 class AuditDetails 11 11 attr_reader :system_id, :committer, :time_committed, :change_type 12 12 attr_accessor :description … … 45 45 end 46 46 47 class Revision _History47 class RevisionHistory 48 48 attr_reader :items 49 49 … … 66 66 return @items.last.audits.first.time_committed.value 67 67 end 68 end # of Revision _History68 end # of RevisionHistory 69 69 70 class Revision _History_Item70 class RevisionHistoryItem 71 71 attr_reader :version_id, :audits 72 72 … … 87 87 @version_id = version_id 88 88 end 89 end # of Revision _History_Item89 end # of RevisionHistory_Item 90 90 91 class Party _Proxy91 class PartyProxy 92 92 attr_accessor :external_ref 93 93 … … 97 97 end 98 98 99 class Party _Self < Party_Proxy99 class PartySelf < PartyProxy 100 100 101 101 end 102 102 103 class Party _Identified < Party_Proxy103 class PartyIdentified < PartyProxy 104 104 attr_reader :name, :identifier 105 105 def initialize(args = { }) … … 132 132 end 133 133 134 class Party _Related < Party_Identified134 class PartyRelated < PartyIdentified 135 135 attr_reader :relationship 136 136 def initialize(args = { }) … … 174 174 end 175 175 176 class Attestation < Audit _Details176 class Attestation < AuditDetails 177 177 attr_reader :reason 178 178 attr_accessor :proof, :items
Note:
See TracChangeset
for help on using the changeset viewer.