Sha256: 8a5f132021369412feb939e419972220c2ff089d22b09b755b01ae9299234745

Contents?: true

Size: 757 Bytes

Versions: 4

Compression:

Stored size: 757 Bytes

Contents

$:.unshift(File.dirname(__FILE__))
module OpenEHR
  module AM
    module OpenEHRProfile
      module DataTypes
        module Text
          include OpenEHR::AM::Archetype::ConstraintModel
          class CCodePhrase < CDomainType
            attr_accessor :terminology_id, :code_list

            def initialize(args = { })
              super
              self.terminology_id = args[:terminology_id]
              self.code_list = args[:code_list]
              self.assumed_value = args[:assumed_value]
            end
            
            def any_allowed?
              @terminology_id.nil? && @code_list.nil?
            end
          end
        end # of Text
      end # of Data_Types
    end # of OpenEHR Profile
  end # of AM
end # of OpenEHR

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openehr-1.2.8 lib/openehr/am/openehr_profile/data_types/text.rb
openehr-1.2.7 lib/openehr/am/openehr_profile/data_types/text.rb
openehr-1.2.6 lib/openehr/am/openehr_profile/data_types/text.rb
openehr-1.2.5 lib/openehr/am/openehr_profile/data_types/text.rb