Class: FHIR::R4B::Reference

Inherits:
Model show all
Includes:
FHIR::ReferenceExtras
Defined in:
lib/fhir_client/ext/reference.rb

Instance Method Summary collapse

Methods included from FHIR::ReferenceExtras

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

Methods included from ModelExtras

included

Instance Method Details

#resource_classObject



119
120
121
# File 'lib/fhir_client/ext/reference.rb', line 119

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