lib/mcg/diagnosis/dgo.rb
def add_reference( type, source, component, name, weight=nil )
          r = Ref.new( type, source, component, name, 
                       weight ? weight : Ref::DEFAULT_WEIGHT  )
          add_reference_obj(r)
          return r
        end
Add a reference to the Diagnosis object with the provided attributes. 
Note that Ref target type must be specified.
Add a reference to the Diagnosis object with the provided attributes.
Note that Ref target type must be specified.
Add a reference to the Diagnosis object with the provided attributes . Note that Ref target type must be specified .
def add_reference( type, source, component, name, weight=nil )
          r = Ref.new( type, source, component, name, 
                       weight ? weight : Ref::DEFAULT_WEIGHT  )
          add_reference_obj(r)
          return r
        end
def add_reference ( type , source , component , name , weight = nil ) r = Ref . new ( type , source , component , name , weight ? weight : Ref :: DEFAULT_WEIGHT ) add_reference_obj ( r ) return r end
Add a reference to the Diagnosis object with the provided attributes.
Add a reference to the Diagnosis object with the provided attributes .
type
source
component
name
weight