class SimpleXml::Coded

Represents a HQMF CD value which has a code and codeSystem

Attributes

code_list_id[R]
title[R]

Public Class Methods

new(code_list_id, title) click to toggle source
# File lib/model/types.rb, line 121
def initialize(code_list_id, title)
  @code_list_id = code_list_id
  @title = title
end

Public Instance Methods

to_model() click to toggle source
# File lib/model/types.rb, line 126
def to_model
  HQMF::Coded.for_code_list(code_list_id, title)
end