Class: CQM::Patient
- Inherits:
-
Object
- Object
- CQM::Patient
- 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
-
#to_json(options = nil) ⇒ Object
Include ‘_type’ in any JSON output.
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( = nil) serializable_hash(include: :_type, methods: :_type).to_json() end |