WorldVistA/popHealth

CCDA update logic. Update to record.rb

npm526 opened this issue · 0 comments

Update logic was taken out in a previous commit. The following code should be added to /lib/hds/record.rb.

if entry.codes.present?
query[section]['$elemMatch']['codes'] = entry.codes
end