Class: CQM::Patient

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document
Defined in:
app/models/cqm/patient.rb

Overview

Patient model that holds non-QDM data for the patient

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ Object

Include ‘_type’ in any JSON output. This is necessary for deserialization.



17
18
19
# File 'app/models/cqm/patient.rb', line 17

def to_json(options = nil)
  serializable_hash(include: :_type, methods: :_type).to_json(options)
end