{"_id":"@amida-tech/blue-button-record","_rev":"2-9fc2acc6144bcdf804475505aeca1d89","name":"@amida-tech/blue-button-record","dist-tags":{"latest":"1.7.3"},"versions":{"1.7.1":{"name":"@amida-tech/blue-button-record","description":"Master Health Record and Data Reconciliation Engine Persistance Layer","version":"1.7.1","author":{"name":"Dmitry Kachaev"},"contributors":[{"name":"Matthew McCall","email":"matt@amida-tech.com"},{"name":"Afsin Ustundag","email":"afsin@amida-tech.com"},{"name":"Matt Martz","email":"matt.martz@amida-tech.com"},{"name":"Marc Sylvestre","email":"marc.sylvestre@manhydra.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/amida-tech/blue-button-record.git"},"bugs":{"url":"https://github.com/amida-tech/blue-button-record/issues"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"dependencies":{"@amida-tech/blue-button-meta":"^1.7.3","@amida-tech/blue-button-pim":"^2.2.3","async":"^3.2.4","doublemetaphone":"^0.1.2","lodash":"^4.17.21","mongoose":"^6.4.4"},"devDependencies":{"@amida-tech/blue-button":"^1.10.7","brfs":"^2.0.2","grunt":"^1.5.3","grunt-contrib-connect":"^3.0.0","grunt-contrib-jshint":"^3.2.0","grunt-contrib-watch":"^1.1.0","grunt-jsbeautifier":"^0.2.13","grunt-run":"^0.8.1","jest":"^27.5.1","moment":"^2.29.4"},"engines":{"node":">=14.19.3"},"gitHead":"c9b8ae0a61fd1291a3a705e429c29ae725d5f7e2","homepage":"https://github.com/amida-tech/blue-button-record#readme","_id":"@amida-tech/blue-button-record@1.7.1","_nodeVersion":"16.14.2","_npmVersion":"8.12.1","dist":{"integrity":"sha512-GIDYO3ClCjRp22oHs9h/J8Cime1rhpj4Fb9V5+oIH8ZMJoJdON8+MITTcSQUahRE42MatiUCpcFMUh0bZF7bqQ==","shasum":"4863d81cd9c924cdcf62a9df15c68b3527fb4983","tarball":"https://registry.npmjs.org/@amida-tech/blue-button-record/-/blue-button-record-1.7.1.tgz","fileCount":49,"unpackedSize":421473,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGolKsWF318JfgUOYJuqS+7Ok97rhZxWqiS9By612N7VAiEAtMtq2zxKIEWLpv/KCBjfUaz6Ljc9CzSvFCm4CPkT0K8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0DI2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwmg/+I3DLg1vVl7hF7iN/ggXI16bM6LisHfAelwcWbRX81c9W7PEh\r\nCdmjg3s0CDVqupv5I5plltRiFHqBr+/qjeYjxXGmwq3KzXMzqBt6dudY43D1\r\ni6v1OUi2X/7lEIL9p2A3fWctr4j23fz6rAU5UeUyw+AFJ3pCZ2vX0vypSyLt\r\nx4DZgXwBwS04Aey872euef5g+svxCt6DbSt0MKOxyWllzVeSEMuiX8tq2QoF\r\nHP37atD2i76XlJUekHIRv4IDljC8h3TW170QNm7XVOtePmijl1V4i8B/PtBb\r\niX3g0eNgS8xDLzo/nW+L5a/M3rwYIW+V8NLx6KrI02Y14syuxkx0ZB2ppgQP\r\nU9bWivLIRgZACXiGyS3+BQUf1j+zVvvdMsfgYHVXdmi/XjxgGwC+RnqUyCNO\r\nxAVf4X49061lhviugE14kRIefQhbCFFtQLQkvOQFpLvTrJv82P3lA7lOLym3\r\nh5qNB617bIX57aOdcLBpJZsxrUSk8xFrTzomtXjiLjyQv0uNWauxTrNp+PxT\r\nS1z2pXKd09y/8pol2IIgQ9P9RstHYN/CR+5es1A1CPNoJKJo8cNMpQZOZGeN\r\nZ3nr8kBXU+lXbb+iUGmMC19XEMLL8xjIWpGTSXc7CIVJ+tguqGxKTotNtzwG\r\n9GJ6ztoOMY/CEVfMOrU2qmUJwb4+I56W5PE=\r\n=n/Fm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"manhydra","email":"marc.sylvestre@manhydra.com"},"directories":{},"maintainers":[{"name":"manhydra","email":"marc.sylvestre@manhydra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blue-button-record_1.7.1_1657811509828_0.11022563659030915"},"_hasShrinkwrap":false},"1.7.2":{"name":"@amida-tech/blue-button-record","description":"Master Health Record and Data Reconciliation Engine Persistance Layer","version":"1.7.2","author":{"name":"Dmitry Kachaev"},"contributors":[{"name":"Matthew McCall","email":"matt@amida-tech.com"},{"name":"Afsin Ustundag","email":"afsin@amida-tech.com"},{"name":"Matt Martz","email":"matt.martz@amida-tech.com"},{"name":"Marc Sylvestre","email":"marc.sylvestre@manhydra.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/amida-tech/blue-button-record.git"},"bugs":{"url":"https://github.com/amida-tech/blue-button-record/issues"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"dependencies":{"@amida-tech/blue-button-meta":"^1.7.3","@amida-tech/blue-button-pim":"^2.2.4","async":"^3.2.4","doublemetaphone":"^0.1.2","lodash":"^4.17.21","mongoose":"^6.5.0"},"devDependencies":{"@amida-tech/blue-button":"^1.10.8","brfs":"^2.0.2","grunt":"^1.5.3","grunt-contrib-connect":"^3.0.0","grunt-contrib-jshint":"^3.2.0","grunt-contrib-watch":"^1.1.0","grunt-jsbeautifier":"^0.2.13","grunt-run":"^0.8.1","jest":"^27.5.1","moment":"^2.29.4"},"engines":{"node":">=14.19.3"},"gitHead":"1cdab59a0a91a3a2a6aeb5386029fdb758b38d02","homepage":"https://github.com/amida-tech/blue-button-record#readme","_id":"@amida-tech/blue-button-record@1.7.2","_nodeVersion":"16.14.2","_npmVersion":"8.12.1","dist":{"integrity":"sha512-i9n6j7M4/0kuJUYwtWDZe6kJOn+7LIiSW84vBYk76toE8i+X9Kv6qOGUBR2q1iA61L42YRlzYVCgrRzer3n50g==","shasum":"a60a3f301dec278e72258ac565dbc013ec4f4c44","tarball":"https://registry.npmjs.org/@amida-tech/blue-button-record/-/blue-button-record-1.7.2.tgz","fileCount":49,"unpackedSize":421473,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHk9F5lArAjF8AV5BJ5RGBFx7aTYUjx9hkwjtGlhnw4fAiBlkA4ycgzA+mvm/7i8LpM8lS/1V3Nd7IXWb0lK2v7akw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6Y+sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrgmw//UJvnL0bmOuQDxX9jGbG450ATVgv6uV75JbOT0cuHfFQOYj0X\r\nhhTxPfEg4V7Ed1/qJgR6kzyXkRVV3n9DjRCdHHmO+6+QS1ggyybZuZDmZPB8\r\nSvfyefQwwNgO/gXDD/6s9ZmIkR1Vbt3mxkhHLwncjOuW3/0Oswpl/xzDzYlR\r\n65FTD4jc3fXYBdsq0GscIByREhPk8agJDcLoE8is+VjzHWRuMCr5fAZqtb/v\r\nGNOFgZPmUgryGvfX5FeviwkA0YXxOH0wokkPaoSTrNjnASwSfN2nX6H2ysM+\r\nJT5NFGLzNeb1SGycEdKs5Qb/DWTQtKegmhv/y4VndcjCYRzz7RmM1w5cy3BC\r\nTQG2dnXb1VPRZNwCZSSz2T6E52XserhIidsjaQz8YVONR/MOPpNxDh6VzSHS\r\ng56JtKfSrG+eUoGOIvG+qT9whlTuaiff2idd4ddlJnUtV2xZlXamDLaUNsl5\r\naWTGBxz5ho5RqKfLrrC7rrIwTb27Pq94hxF75Z+vT4uC39pb4DrGcE3pfefa\r\nI+ntgpMq/xkLZ7iYJQZpsHFMaYm7oFQASi4KnJ1Qr/uxxPYvpvIoXcChQbdJ\r\nMIejmDEzlC1bTeFTHZ9+8FXFl/XKAoq1NosLlevXgJVExvFdj4XUbmqKKE4+\r\nV/T0ewP+hVHKQMF9ttrfFLQLLgm6LVej8io=\r\n=beXy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"manhydra","email":"marc.sylvestre@manhydra.com"},"directories":{},"maintainers":[{"name":"manhydra","email":"marc.sylvestre@manhydra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blue-button-record_1.7.2_1659473836741_0.08994933282825834"},"_hasShrinkwrap":false},"1.7.3":{"name":"@amida-tech/blue-button-record","description":"Master Health Record and Data Reconciliation Engine Persistance Layer","version":"1.7.3","author":{"name":"Dmitry Kachaev"},"contributors":[{"name":"Matthew McCall","email":"matt@amida-tech.com"},{"name":"Afsin Ustundag","email":"afsin@amida-tech.com"},{"name":"Matt Martz","email":"matt.martz@amida-tech.com"},{"name":"Marc Sylvestre","email":"marc.sylvestre@manhydra.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/amida-tech/blue-button-record.git"},"bugs":{"url":"https://github.com/amida-tech/blue-button-record/issues"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"scripts":{"test":"grunt run:test","coverage":"grunt run:coverage"},"dependencies":{"@amida-tech/blue-button-meta":"^1.7.5","@amida-tech/blue-button-pim":"^2.2.6","async":"^3.2.5","doublemetaphone":"^0.1.2","lodash":"^4.17.21","mongoose":"6.12.8"},"devDependencies":{"@amida-tech/blue-button":"^1.10.11","brfs":"^2.0.2","grunt":"^1.6.1","grunt-contrib-connect":"^4.0.0","grunt-contrib-jshint":"^3.2.0","grunt-contrib-watch":"^1.1.0","grunt-jsbeautifier":"^0.2.13","grunt-run":"^0.8.1","jest":"^29.7.0","moment":"^2.30.1"},"engines":{"node":">=14.19.3"},"_id":"@amida-tech/blue-button-record@1.7.3","gitHead":"e1ce066f0830ec4a44ce52f7e6a72abdfaea36ab","homepage":"https://github.com/amida-tech/blue-button-record#readme","_nodeVersion":"18.20.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-o9asZJDTzmS0/UCRiWpL/bifHYaU0PW4CtBUCah5QEoy2klSSuVDudfLz7tynkSKNWBGb4Pz5EAGbARNqSBXpg==","shasum":"e20fb9b87e48ec36b327c1352bc2da4c5923cca4","tarball":"https://registry.npmjs.org/@amida-tech/blue-button-record/-/blue-button-record-1.7.3.tgz","fileCount":50,"unpackedSize":422799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9FXl7b0IQR6dG4Q+Kvj1ar/f8lEYzxC2urs2kh5j3gQIhAOZv1R6d2L2qCaP8v+sNfEfGb2OU4VueFpMbKJX5CRlN"}]},"_npmUser":{"name":"manhydra","email":"marc.sylvestre@manhydra.com"},"directories":{},"maintainers":[{"name":"manhydra","email":"marc.sylvestre@manhydra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blue-button-record_1.7.3_1715368166865_0.5088789591173721"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-14T15:11:49.778Z","1.7.1":"2022-07-14T15:11:50.068Z","modified":"2024-05-10T19:09:27.242Z","1.7.2":"2022-08-02T20:57:16.900Z","1.7.3":"2024-05-10T19:09:27.058Z"},"maintainers":[{"name":"manhydra","email":"marc.sylvestre@manhydra.com"}],"description":"Master Health Record and Data Reconciliation Engine Persistance Layer","homepage":"https://github.com/amida-tech/blue-button-record#readme","repository":{"type":"git","url":"git+ssh://git@github.com/amida-tech/blue-button-record.git"},"contributors":[{"name":"Matthew McCall","email":"matt@amida-tech.com"},{"name":"Afsin Ustundag","email":"afsin@amida-tech.com"},{"name":"Matt Martz","email":"matt.martz@amida-tech.com"},{"name":"Marc Sylvestre","email":"marc.sylvestre@manhydra.com"}],"author":{"name":"Dmitry Kachaev"},"bugs":{"url":"https://github.com/amida-tech/blue-button-record/issues"},"readme":"Blue Button Record\n======================\n\nMaster Health Record and Data Reconciliation Engine Persistance Layer (MongoDB)\n\n[![NPM](https://nodei.co/npm/@amida-tech/blue-button-record.png)](https://nodei.co/npm/@amida-tech/blue-button-record/)\n\n## Overview\n\nblue-button-record is a module to persist patient health data.  It is primarily designed to support [blue-button](https://github.com/amida-tech/blue-button) data model however there is no specific schema dependence and other models can also be [used](./API.md#connectdatabaseserver-options-callback).  This module provides the following functionality:\n\n- Persist the Master Health Record (blue-button data) per patient:  The Master Health Record contains all historical data about a patient's health.  It is organized in sections such as Allergies and Medications, and the blue-button-record API is based on this sectional organization.  Each section is further organized into a set of entries even when there is only one entry, as in the Demographics section.\n- Persist all sources of Master Health Record:  Currently text and xml files are supported.  Source content as well as various metadata such as name and upload time are stored.  Each entry in the Master Health Record is linked to a source.    \n- Persist Merge History:  Since blue-button data is historical, entries in Master Health Record are expected to appear in multiple sources.  Merge History keeps track of all the sources from which entries are created or updated. It is also possible to register sources for new entries that are duplicates of elements in the Master Health Record (duplicates). \n- Persist Match List:  This module also stores a second set of entries seperate from Master Health Record called Match List.  Match List is designed to store entries that are similar to existing entries in Master Health Record but cannot be identified as duplicate or seperate and thus require further review.  Both the Match List entries, Master Health Record entries that the Match List entries match, and match details are stored.  Match List entries are eventually either added to Master Health Record or removed; blue-button-record API provides methods for both.\n\nThis implementation of blue-button-record uses [MongoDB](https://www.mongodb.com).\n\n## Further Reading\n\n* [Usage Examples](./USAGE.md)\n* [API Documentation](./API.md)\n* [Model Schemas](./SCHEMA.md)\n\n## Contributing\n\nContributors are welcome. See [issues](https://github.com/amida-tech/blue-button-record/issues).\n\n## Release Notes\n\nSee release notes [here](./RELEASENOTES.md).\n\n## License\n\nLicensed under [Apache 2.0](./LICENSE)","readmeFilename":"README.md"}