MeasureAuthoringTool / health-data-standards

https://rubygems.org/gems/health-data-standards
Apache License 2.0
94 stars 93 forks source link

Indexing concepts.display_name does not play nicely in Cypress #584

Closed rbclark closed 6 years ago

rbclark commented 6 years ago

In cypress, having concepts.display_name indexed causes the following error when running bundle exec rake db:mongoid:create_indexes:

Mongo::Error::OperationFailure: WiredTigerIndex::insert: key too large to index, failing 1531 { : "Assessment of and care planning for a patient with cognitive impairment, requiring an independent historian, in the office or other outpatient, home o..." } (17280)

This is due to the fact that the max allowed index size in mongodb is 1024 and we have some concepts.display_name's that are longer than that.

Pull requests into Health Data Standards require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.

Submitter:

Cypress Reviewer:

Name:

Bonnie Reviewer:

Name: