[5.40.0](https://github.com/metriport/metriport/compare/v5.39.4...v5.40.0) (2024-01-18)
Features
* **hmac:** docs fix ([64a7f48](https://github.com/metriport/metriport/commit/64a7f4849f21dc33a1a06c9df6674dc6856f5540)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **hmac:** rebasing develop ([78f7011](https://github.com/metriport/metriport/commit/78f7011ec8a33800b7de61f697e8a1e5fefc1032)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **hmac:** resolving nits. ready for merge ([a9a62a9](https://github.com/metriport/metriport/commit/a9a62a9752d5ac1bc122b457bb48e3337d7f8e1d)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **hmac:** responding to comments + ping type ([faf3227](https://github.com/metriport/metriport/commit/faf32278f0bc4d6781eb1463ed0a84b376e4bdd6)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **hmac:** updating docs warning ([81bf25b](https://github.com/metriport/metriport/commit/81bf25bd0374c3ed72269193ebae2efaa8be9984)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **mpi:** adding patient to core ([9252240](https://github.com/metriport/metriport/commit/92522404e0050b7788eb2311d25acabe0bfc5069)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** beginning refactor ([ded16b1](https://github.com/metriport/metriport/commit/ded16b1df8c5823a389c696e6843c406eff487bb)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** block to find ([7d4e92e](https://github.com/metriport/metriport/commit/7d4e92e21bc9e69104c902791a14eab6fd0fb8be)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** build correct ([164877e](https://github.com/metriport/metriport/commit/164877e2ee13588b6b7c46cc9a363f362e42807f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** build fix ([c269690](https://github.com/metriport/metriport/commit/c2696902733d3e794901403b8160555de634b91a)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** build issues ([119fcee](https://github.com/metriport/metriport/commit/119fcee8777cb48e54ebc723bd9bb8931dc1d558)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** const to func ([9b74f5d](https://github.com/metriport/metriport/commit/9b74f5d4660270d830eaa95dd37c9edf9537d537)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** default values ([d1b5f98](https://github.com/metriport/metriport/commit/d1b5f9865836d2141d0459334352539955e52289)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** defaults, matchingPID rule ([6f68316](https://github.com/metriport/metriport/commit/6f6831609bb540215a5617ff3d62d6b5b338fb5e)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** different payloads work :) ([b16652d](https://github.com/metriport/metriport/commit/b16652dc2fd1f95266a59dc6c3bf254f24fc4756)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** error handling complete. moving onto multi arg ([b740637](https://github.com/metriport/metriport/commit/b74063754f1f84b4ca9fc9788557859e3fd5deeb)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** exact match for cq ([c74f379](https://github.com/metriport/metriport/commit/c74f3797b03a7455369a211cd2498109d0aa5b15)), closes [#674](https://github.com/metriport/metriport/issues/674)
* **mpi:** factory ([4657056](https://github.com/metriport/metriport/commit/4657056260d2f02c68a4f01e700fc2b5fe474af5)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** fixing build order ([e8d0771](https://github.com/metriport/metriport/commit/e8d07711c6aca135e449fb402585833fcacfc77f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** get patient by demo working ([548596f](https://github.com/metriport/metriport/commit/548596f9a308ae371be0fbe7a64156c3982a3252)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** get patients by demo working. onto cq facing ([b2504e2](https://github.com/metriport/metriport/commit/b2504e20d44b5b6fa1741756ac56fe8f176a176a)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** imports ([c5693eb](https://github.com/metriport/metriport/commit/c5693eb2faf2fcee34df1a4ec9d1d997a2de7e02)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** interfaces for mpi to encapsulate ([22dfc7c](https://github.com/metriport/metriport/commit/22dfc7cf674ffeba057342785fcc1acff7b184d3)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** more ([7dc7976](https://github.com/metriport/metriport/commit/7dc797695bcae2a8af161ba6b53469b765b1e7f2)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** more package edits ([3963daf](https://github.com/metriport/metriport/commit/3963daf404c256727fe400e628956f7cbecf2cec)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** mpi process for lambda, testing pending ([05a32bb](https://github.com/metriport/metriport/commit/05a32bb2a3537f6b0fccc16431666b68007807e4)), closes [#572](https://github.com/metriport/metriport/issues/572)
* **mpi:** mpi working in core and added to lambda ([659153d](https://github.com/metriport/metriport/commit/659153dd189cab635948d0923f4391d347f0bff7)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** nits ([1803210](https://github.com/metriport/metriport/commit/1803210b054797a2ed8c5763a408a17a8c9093fd)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** nits ([876c4a7](https://github.com/metriport/metriport/commit/876c4a7209f85854b9001a9249b0f893d65d0b44)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** normalize patient testing done ([6023421](https://github.com/metriport/metriport/commit/60234219de9e260f4058eea4b8f4e8deac7173b5)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** outline of normalize, block, match, merge ([b1fdfbc](https://github.com/metriport/metriport/commit/b1fdfbcae72514f9231ee30425ed75578a219eae)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([9c5f9da](https://github.com/metriport/metriport/commit/9c5f9da78724e096731dcb6fd42fedcef7137749)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([ce5e7b0](https://github.com/metriport/metriport/commit/ce5e7b0513f29ce3a3fcd72e3706c38d76fcce2f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([d5cce59](https://github.com/metriport/metriport/commit/d5cce59669a71f4949a8b35634c3e44476c8c9b9)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([9d88069](https://github.com/metriport/metriport/commit/9d88069696adc590a1fd7795ccfc7588b29bf6fe)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([fb4756d](https://github.com/metriport/metriport/commit/fb4756d6b647c16b5f035d55322fcaab7539729f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing ([23e47fe](https://github.com/metriport/metriport/commit/23e47fed259844bd921d0a39830bf3ea92941d71)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing in progress ([93d5582](https://github.com/metriport/metriport/commit/93d55823e0c021e218aecc1cb00c1cc92ec591d0)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** rebasing to develop ([8becc1a](https://github.com/metriport/metriport/commit/8becc1aa27b34ac0cc3e92752e7e97b505b665f1)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** refactoring app to use core ([98c7a6a](https://github.com/metriport/metriport/commit/98c7a6aebb8ed13dd2ca889def77ad5d85e20e34)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** refactoring to use core ([fe64eb9](https://github.com/metriport/metriport/commit/fe64eb9daee18a7fc66a2c184112f6d69bbb7c14)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** removing failing test ([729f3f3](https://github.com/metriport/metriport/commit/729f3f36dced05a4b1d538694a71315c15196e37)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** responding to comments ([5ce1da2](https://github.com/metriport/metriport/commit/5ce1da2bc72821cc84c7866669a5b5cfcd2509be)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** reviewed pr, ready for review ([e47f4c4](https://github.com/metriport/metriport/commit/e47f4c421cede993a5fc07a268e2959a9f9d59ab)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** tests for blocking, matching fxn for contact info, todo tests for remaining ([b4c57e3](https://github.com/metriport/metriport/commit/b4c57e3a88b48bbe504dc95fd0a2beb3bd7953b1)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** tests for matching not currently passing ([22c0bd7](https://github.com/metriport/metriport/commit/22c0bd71245a0ffd1538dbbdcae106b0f91175c8)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** tests passing ([c78c76f](https://github.com/metriport/metriport/commit/c78c76fc812826a802c62ec5637dec2b3eb2eda5)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** updating import ([367506a](https://github.com/metriport/metriport/commit/367506a388399f26c9740bcd39335bcbfa256c1f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** updating package ([799f4b9](https://github.com/metriport/metriport/commit/799f4b974af0e006ee20135ac835dfaaa54f0c32)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** validation and error handling wip ([2c62dda](https://github.com/metriport/metriport/commit/2c62ddabe2fddc0785b3bb68233d6bbb3873965f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **mpi:** writing tests ([84ef8a3](https://github.com/metriport/metriport/commit/84ef8a3b86ff7f368a4bcbd43eac6c7d014a8946)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** . for diff ([5f3d9f4](https://github.com/metriport/metriport/commit/5f3d9f4ceb51ffdaaa70c40bbcc0a66aab0524b0)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** add ihe gateway to lambda package ([e7185a4](https://github.com/metriport/metriport/commit/e7185a4eef93678b99bfe6dccea6ae7a6120fa16)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** adding tests ([6501d2b](https://github.com/metriport/metriport/commit/6501d2b0158d8192ea1e04168b2ebd646022584e)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** adding to package.json in core ([8958075](https://github.com/metriport/metriport/commit/89580755973156de0389d478c3548cf264a069e1)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** all but one todo and reintroducing tests ([ec213e1](https://github.com/metriport/metriport/commit/ec213e123092ab9069805c888e3f3bb66f5db0be)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** bug fix ([12604f4](https://github.com/metriport/metriport/commit/12604f4d2a806c514b38fcaddfb2ad53d8634db9)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** bug in normalizing ([fa5f7fa](https://github.com/metriport/metriport/commit/fa5f7fa147983f761d169b8aaec0f21a44c3d0ef)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** comment for diff ([9d1f7d7](https://github.com/metriport/metriport/commit/9d1f7d7fe19fb852c0c845a791085247ca12e27b)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** dto naming and comment ([2ab7f17](https://github.com/metriport/metriport/commit/2ab7f1735b4effc3f61ecad5f556b870192f89bf)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** everything but testing and dto comments ([4046bb8](https://github.com/metriport/metriport/commit/4046bb84936e7c20426e73a2c342a52a121576d3)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** extending patient for find ([460b425](https://github.com/metriport/metriport/commit/460b42504f16134b321ba671a41800e248790cee)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** fix lambda response ([2865f97](https://github.com/metriport/metriport/commit/2865f97b81d67a097dda7694a33e3872af8e9ad1)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** for diff ([ad608c5](https://github.com/metriport/metriport/commit/ad608c525ff80ec498d9194840a22e26083964f3)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** merging branch to develop ([69b55b2](https://github.com/metriport/metriport/commit/69b55b2baa5ba41886ee25d7a366623502cacfd7)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** merging develop into branch ([c5aea1a](https://github.com/metriport/metriport/commit/c5aea1a25283784d8f3eb8ee192db571c1e53307)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** merging develop into branch ([1a4bfe5](https://github.com/metriport/metriport/commit/1a4bfe5eb034ef8107a505dfe566407c8d694695)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** merging develop to branch ([66b7bd1](https://github.com/metriport/metriport/commit/66b7bd1faa90ac4c1cc75928a235bafc0ce3945f)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** moving some files to command and refactoring organization ([37dc488](https://github.com/metriport/metriport/commit/37dc488b5badb07d047177874edaf47cb84e7323)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** nits ([1c13eae](https://github.com/metriport/metriport/commit/1c13eae4317df15334dd22717371c744462ef1b0)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** normalization dumbed down ([b5c4e77](https://github.com/metriport/metriport/commit/b5c4e774579a3e22ae3dbe2ea70cf82712e72bb9)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** only updated dev dep ([70f566d](https://github.com/metriport/metriport/commit/70f566db31a3c3ae558d8220295b5c9e6ea17c8b)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** proper env vars in lambda ([5e0ebc0](https://github.com/metriport/metriport/commit/5e0ebc0031a61bf7fe4d3147cfae60ec84f3a803)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** rebasing ([e132b81](https://github.com/metriport/metriport/commit/e132b818822d1958262b2ceb048e0246ece57ece)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** rebasing ([81cfff1](https://github.com/metriport/metriport/commit/81cfff1a518bb0ee82ee621c3cdea889fda373f4)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** rebasing ([57cdf1e](https://github.com/metriport/metriport/commit/57cdf1e0611c012573d3f4a9d9f7f1adc8314e9d)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** refactor and remove old hardcoded pd ([a9d7609](https://github.com/metriport/metriport/commit/a9d760904b481b04c4050a0e0a437bf5ac78e1f3)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** removing defs from app and point to core ([2949ee1](https://github.com/metriport/metriport/commit/2949ee1a6caba2dd07e972855a70d6ece7165fb5)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** routes fixed for index.ts files ([a12981b](https://github.com/metriport/metriport/commit/a12981b81602df86643c0723e6de42ec34b0c2c2)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** testing refactor and from dto ([1a66f7a](https://github.com/metriport/metriport/commit/1a66f7a77e79b10e7152083b372dd7e13d2fea26)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** update package lock ([a88e652](https://github.com/metriport/metriport/commit/a88e652d468ee6e76e09e05e77c4cb9a8e92e528)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** updating imports ([bbc997a](https://github.com/metriport/metriport/commit/bbc997a83a8035ff04fb8756e03a61e11d23d92e)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** updating imports fix build error ([e55a51f](https://github.com/metriport/metriport/commit/e55a51fe2cde4e052795bbfd7b52ce0278353308)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** updating shared layers ([f1d7a3e](https://github.com/metriport/metriport/commit/f1d7a3e410766daba7c6783f2506e379dde1f836)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **pd:** updating status to 400 ([2734b33](https://github.com/metriport/metriport/commit/2734b3311cbe6f7a56ec44a199e466221e355c0c)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **symlink:** delete dangling symlinks ([8682bbe](https://github.com/metriport/metriport/commit/8682bbec6a830e2f2283289356dc6fe25d35de16)), closes [#1431](https://github.com/metriport/metriport/issues/1431)
* **symlink:** simpler fix ([b3bb866](https://github.com/metriport/metriport/commit/b3bb866183b1ff73fead1d3f6f02abadee3ee2c7)), closes [#1431](https://github.com/metriport/metriport/issues/1431)
* **wh:** docs and sdk example updates ([aff5785](https://github.com/metriport/metriport/commit/aff57855d9490cf34ac45084027604fdf0c01489)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **wh:** hmac added ([6a99ec1](https://github.com/metriport/metriport/commit/6a99ec174744600aea7db2425311b944ae5ced70)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **wh:** normalize ([06ed9c7](https://github.com/metriport/metriport/commit/06ed9c738c593294840dce919874092af1343c48)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **wh:** npm alpha release ([798d357](https://github.com/metriport/metriport/commit/798d357212cd30b2db05de6e8bd6b3029058ad29)), closes [#1104](https://github.com/metriport/metriport/issues/1104)
* **wh:** responding to comments - timestamp and hmac moved to header ([244fc01](https://github.com/metriport/metriport/commit/244fc0111e91ef47ca9c58f040d0adcdadd32fe9)), closes [#1113](https://github.com/metriport/metriport/issues/1113)
* **wh:** signature verification added to sdk and docs updated ([80464e5](https://github.com/metriport/metriport/commit/80464e5d7bab4f9ec318539f7db4fa04de4bbb94)), closes [#1113](https://github.com/metriport/metriport/issues/1113)
* **wh:** small ([0c6557d](https://github.com/metriport/metriport/commit/0c6557d6be8d0a35739fbda39ff1625b5f69f199)), closes [#574](https://github.com/metriport/metriport/issues/574)
* **wh:** small docs change ([12bf32e](https://github.com/metriport/metriport/commit/12bf32ed72dd4d1066c4a5a21bbcda8c4e5b0bb0)), closes [#1104](https://github.com/metriport/metriport/issues/1104)