Class: FHIR::DSTU2::Reference

Inherits:
Object
  • Object
show all
Includes:
ReferenceExtras
Defined in:
lib/fhir_client/ext/reference.rb

Instance Method Summary collapse

Methods included from ReferenceExtras

#absolute?, #base_uri, #contained?, #has_version?, #parts, #read, #reference_id, #relative?, #resource_type, #version_id, #vread

Instance Method Details

#resource_classObject



95
96
97
# File 'lib/fhir_client/ext/reference.rb', line 95

def resource_class
  FHIR::DSTU2.const_get(resource_type) unless contained?
end