move connection to record.js
storeFile moved to record.js
getRecordList is refactored to recor.js
getRecord is refactored out to record.js
allergy gets from db refactored out record.js
saveAllergies refactored out to record.saveNewAllergies
remove unnecessary/unused createAllergyObject methods
updating mergeRecord for allergies refactored out to record.js
remove unused required's
refactored out merges save/get to records.js
mongoose count methods refacored out to record.js
code cleaning
added patKey for records.
patient key is added
moved allergy severity ordering back to dre-ux main
needs to be designed how to handle ordering fields
move removing allergy _id, __v, metadata, patKey to records common
sectionEntry prototype, to be based on blue-button models
move merges allergy field dependence to API
allergy free record merges
merges is allergy free