{"_id":"@aidbox/sdk-r4","_rev":"15-47c3f8b3f98b05e4663507d1132c9d68","name":"@aidbox/sdk-r4","dist-tags":{"latest":"1.0.15"},"versions":{"1.0.0":{"name":"@aidbox/sdk-r4","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.0","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"8c9db818bfcb0aa5fbbd2e1ceb9c5d5d6cf1ffe1","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.0.tgz","fileCount":428,"integrity":"sha512-ZCeUlyorCk+AspcYn1B5BBP6Zw1qxy8c+jKyYuOb8Wv6YHey0Y2wuBGSLMEN2WdnKmfteOEYTrvjcauaetiS4g==","signatures":[{"sig":"MEYCIQDBgD1ZfoaKtT604NB5V+6mvLGr9LSdKx7vcV9Az91W3gIhAJge5vVdy66F1VkLyIXA/4P/PdDxDq/5nhgLs1+H3luj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":811338},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"a526c8b787b8fbbfbc92514628578b3aad4f4150","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"octoshikari","email":"funyloony@gmail.com"},"_npmVersion":"9.6.7","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.7.0","dependencies":{"axios":"1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^2.8.4","typescript":"4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.0_1686924353703_0.3061409302841913","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aidbox/sdk-r4","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.1","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"9b385b8c84276ed064450df87aac2ec7b34ae0d6","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.1.tgz","fileCount":427,"integrity":"sha512-UYDVDfUFKiY2kUtbheNyX9OsqdrUTEwJIvkFNoHe4qB+Iir3WVHvd8526pDOxSekNP6NJV4vvA9fwrX4Yq8IGw==","signatures":[{"sig":"MEYCIQCJtuCgU+p1eWudrGIoKEP6cct8YGSts+/ieR+tA9k81AIhAKf1bZPGWrpaC+HenW+XwRpBm/KQwIm17aDnIZAVHddY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":810885},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"a526c8b787b8fbbfbc92514628578b3aad4f4150","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"octoshikari","email":"funyloony@gmail.com"},"_npmVersion":"9.6.7","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.7.0","dependencies":{"axios":"1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^2.8.4","typescript":"4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.1_1686924705473_0.37232470637412307","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aidbox/sdk-r4","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.2","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"2c1dde0ac2fee4fcff6e81aef49381d480e37bac","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.2.tgz","fileCount":427,"integrity":"sha512-gHMQ0U17+GwDl02Cum9w0vLMMZq1/ZNVpkNYhV4q26kRqLYSz9P374oh3YFwfxCUCpr/Q4APftiiSoWxg8K0gA==","signatures":[{"sig":"MEQCIAhCRypGa197FGn8IqlmQtZDy6oWGlqyKZM0Aex85USZAiAyAm8vdv/LX9kFTUypylqB5ZqRxbLiykXEBSvSYoy1Nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":810929},"main":"lib/index.js","gitHead":"a526c8b787b8fbbfbc92514628578b3aad4f4150","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"octoshikari","email":"funyloony@gmail.com"},"_npmVersion":"9.6.7","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.7.0","dependencies":{"axios":"1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^2.8.4","typescript":"4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.2_1686924879927_0.5163112073532294","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@aidbox/sdk-r4","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.3","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"13f9578c8c29d9dacfe75077898d0e0917eb11a0","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.3.tgz","fileCount":427,"integrity":"sha512-30KOMfSPEZzX8fbPr+wbZuJ95EzsjXPH4gjF65JarU1vTLU/T6ANdsjI+RNr/hmdz9SPkHzaAUPf71Xrr8LqnA==","signatures":[{"sig":"MEUCIQDAyF4Xv+GcLwOWYuWF/xpWIrYW4Ytjfw242MVF7npgigIgBzz20aDNoWuAOTx6nKTJpn109iaCpn21Uxtc73SmGjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":810925},"main":"index.js","types":"./index.d.ts","gitHead":"a526c8b787b8fbbfbc92514628578b3aad4f4150","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"octoshikari","email":"funyloony@gmail.com"},"_npmVersion":"9.6.7","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.7.0","dependencies":{"axios":"1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^2.8.4","typescript":"4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.3_1686925252533_0.3742343914013164","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@aidbox/sdk-r4","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.4","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"533e9258d5e1bee955c34e0bb34033fc455dfdc0","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.4.tgz","fileCount":432,"integrity":"sha512-pG9908qniF1RECUyLQbhG7Ewl5UR4BgD9WzsfCj5tIvGXC5JoEAJSdoedhjWwgCwcw7kJjWvwf3U4bbQNk4RhA==","signatures":[{"sig":"MEYCIQCNBarcYBgsh2dCx9fdOzn0QLFT4Zpk41CERPqUIbfIUgIhAOx65SQFoT/f3pOb0YFuav0jUoHpSliUvCRgscIGX8ml","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1681335},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"2ffbf9e73e53f4f7d73bbcdf5f9cc5dcc4a93970","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.4_1706875225429_0.7858968858356152","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@aidbox/sdk-r4","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.5","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"0ef42194fcdca6328071bab1fdf5d241b11a3afa","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.5.tgz","fileCount":432,"integrity":"sha512-+9QBeQRh1xKvOGdKDQem81wd9I/YRK2Dzsrpz66XbEfEkPxBa6jQ/522vghcm03Zjsh/Lo5oHZWgoR7HJJYZOA==","signatures":[{"sig":"MEUCIGqo/BSt6unWuQB1KdhLyh1JoYeQwkvK9s8ye5eEo44eAiEAxTrTaHqFhzJSQiVIAvWXo8Ckw4GrVULjiFTU8fApxyw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1681240},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"2ffbf9e73e53f4f7d73bbcdf5f9cc5dcc4a93970","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.5_1706875493947_0.9204246741437616","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@aidbox/sdk-r4","version":"1.0.6","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.6","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"4c4596ebeef305136b708bd2511c3461d74efabb","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.6.tgz","fileCount":434,"integrity":"sha512-ldGFi43PR/edyFPcd6CB+v68Qz83ssKj8UsVmx77Tc/R3bvN9RYVjPe4Z04s0x0FY1VN8I5QA0NzbHcFnd6KSw==","signatures":[{"sig":"MEUCICWSSz2O6JRdixcPJxt9PTx3SwKafmLg8AYewH/6rhmVAiEApzOZgQdfoyOExBX34kltCCelDkozOuLfVQzsEljHa2w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1719922},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"2ffbf9e73e53f4f7d73bbcdf5f9cc5dcc4a93970","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.6_1706875617347_0.31161972492551504","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@aidbox/sdk-r4","version":"1.0.7","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.7","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"e4f1f1b4f1f756c74ddd08c76b3c1694b3ee31dc","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.7.tgz","fileCount":434,"integrity":"sha512-CNbdWfEEN8BzLImgk/KbPN0So02NWOjI0XbQWKxnUmD+0bAa5L1bkfF+Q1wH8XJ9nAm+Hjr1VvboMO7U+xbk0w==","signatures":[{"sig":"MEQCIGKm296Uo4JnfATMn0JAcagnB2EjG1ljxidtfTMNUv/jAiA2ijMplnccvGAYFBRt57kD2cTHV3KFDSyJqjL2W7jbrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1715728},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"ececf1a4869833c91a624ef913f2712c67256abe","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.7_1706883286305_0.4973002452696431","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@aidbox/sdk-r4","version":"1.0.8","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.8","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"e0d62103d5ece26f7911518715e52884dac8ebea","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.8.tgz","fileCount":435,"integrity":"sha512-doLpNF3tXoMLSKN1m+WGoTr4PrMmQbwlIb1QtuL3wcdG1klSuIp+d43cy3Dz2G/xYl8KfzzOxnaj4ZC3juM2mQ==","signatures":[{"sig":"MEUCIB6Flob51Z2iZ5Ws7R5dpJBk5zX9AVrtI+RvQrH2vNcrAiEA6udDZp3XFRMn+BtWGYvP62+gPvZj+LrJ+MqerQDSmV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1727432},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"ececf1a4869833c91a624ef913f2712c67256abe","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.8_1706883914501_0.3190522083821101","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@aidbox/sdk-r4","version":"1.0.9","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.9","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"a1f4520dc35e9894204f2e45d3f492922276b865","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.9.tgz","fileCount":435,"integrity":"sha512-CdQ+0WMcPxzMKthv8nvFLc19E1+Fim+t7KCQOjwJlA/hgzqtvkq+pAHnHkpK2Hs4dCZqqIS29Fedv+btDV8OQg==","signatures":[{"sig":"MEUCIADz6ywUuh6UfkMxoeZj8A+LG1zAfNOrSbfifzN2mL/UAiEA8S4MDp8oh2k3LUT9dOC4XB2BnKdUYgO5BiWR3gK8bpw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1727431},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"ed1e597895340aa7f1ab4cab92f7d80aeceb8b22","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.9_1706884467529_0.18877579551269186","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@aidbox/sdk-r4","version":"1.0.10","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.10","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"fd9d9f561069b882c9e7e97c4df846e81e7dec05","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.10.tgz","fileCount":435,"integrity":"sha512-LAzuA3MjWnpyXE4HQ0v7vezcYOzvz2ME1IsYWtZhmoH9JLO+ZZjeMdnTRyRw7jmka4QI0f8qjsuuJK2idbADng==","signatures":[{"sig":"MEYCIQCPjuaQQqOIivQP7eCxUJPI4nhatSWdmyUh6uT0RezF6AIhANITQ6/+u/6xCS+MObVlozx03noP8ygQUNGEEyT0u7jw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1709577},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"2ec0cbba0be50fb4df41ebb1721455c25530a819","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.10_1707311190311_0.0029150317481279053","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@aidbox/sdk-r4","version":"1.0.11","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.11","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"8d9ac621620bffcdf744763004c9ee5a170a1358","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.11.tgz","fileCount":435,"integrity":"sha512-HxDcenjVIsaVuCtC1Pi4j8badMLro6pU3juCCmVLFMwNF+a8PjHDnKKjTvSQbgnyXgLrshxGP0rdu6w07BxUIw==","signatures":[{"sig":"MEYCIQDMfCJQZAb0v0h+ZjaS2PvbBIXGfmfwJYaR08AG+WraiAIhAOSHTXZq8KefwIdIaGrxK/rr0Aqq6x+pqLKCSBSX2PEw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1811953},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"5186f52484268ce557ffe5096bc043d25e421a5f","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.11_1707311588124_0.3951466094773959","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"@aidbox/sdk-r4","version":"1.0.12","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.12","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"11c618a21596e784b556cf2d0c2195bc96f8ebde","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.12.tgz","fileCount":434,"integrity":"sha512-Tv2Z+LLD51PhX6w5vHyqi0+89OYNOB41GVyQuoF5EMLIxDuLqOFYrUHU9LqQlmmzAwtSYXmi9p2XPs81PXpgpg==","signatures":[{"sig":"MEUCIQCzy3DhD/pW6Dhj0XgOMgVHqMiUh/TyDGYJ+/ThTxyr3QIgL+yw7IjgUcFGWmZCx5tB/pvWpQPy+PiGVJwDUJpYYfE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1876562},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"ec488a5e5b96fa515bc5451d4bfe828fc7983c1b","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.12_1715339157863_0.8921979525841928","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@aidbox/sdk-r4","version":"1.0.13","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.13","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"f95f1bf8b4cb80132308bbf2d00e0ee142530b55","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.13.tgz","fileCount":434,"integrity":"sha512-NWCnN9ztjJrtZUQ48SDQ2lz7LjxorLDgRq/9jCqvJnBX+93hzN2UG/hZBj/tIKLQtJS+Bc747SxqtZBvBfafsQ==","signatures":[{"sig":"MEUCIQCElghlxiVzwg47Kt7/mKiBa4qHqEP+/xfZwf24njMpkAIgDdfOQE8RiSuxA0aFm+yyUsY4FQhlydzhSKf9EjsGVXY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1876576},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"38ebaccbf24fc1d87cbbdca9744955bcbb871cec","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.13_1716369220092_0.49644794185382013","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"@aidbox/sdk-r4","version":"1.0.14","keywords":[],"author":"","license":"ISC","_id":"@aidbox/sdk-r4@1.0.14","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"dist":{"shasum":"c7f1edc90afcecd7c09790396ed2cdb7fdbc7aa8","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.14.tgz","fileCount":434,"integrity":"sha512-q1u+cFRNuo1Nrd/F+UO7del++pd5Kh9y7dg3kmVBM8h+nR6csRlyvj164mu+2ll66R2Kho8UirkwaudN+QkXrw==","signatures":[{"sig":"MEQCIHND2JSVobq341MvaUjQvPgDSsw0u33qLqBLrS/jbj0GAiBi5G2ZGxcccpDlnfX17zVPGkyePOwbqDHkJ6hcU2yDGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1876645},"main":"index.js","types":"index.d.ts","engines":{"node":">=18"},"gitHead":"1d109f0b35c7b8ded79ce9fcf0808afb660f43c7","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"_npmVersion":"8.19.2","description":"Default Aidbox SDK with HL7-R4 package","directories":{},"_nodeVersion":"18.12.1","dependencies":{"tslib":"^2.6.1","@juanelas/base64":"^1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"10.9.1","prettier":"^2.8.4","type-fest":"^4.3.1","typescript":"4.9.5","@types/node":"^20.4.4","@type-challenges/utils":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk-r4_1.0.14_1729681463617_0.25570267866565777","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@aidbox/sdk-r4","version":"1.0.15","description":"Default Aidbox SDK with HL7-R4 package","main":"index.js","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\""},"keywords":[],"author":"","license":"ISC","types":"index.d.ts","engines":{"node":">=18"},"dependencies":{"@juanelas/base64":"^1.1.2","tslib":"^2.6.1"},"devDependencies":{"@type-challenges/utils":"^0.1.1","@types/node":"^20.4.4","prettier":"^2.8.4","ts-node":"10.9.1","typescript":"4.9.5","type-fest":"^4.3.1"},"gitHead":"1d109f0b35c7b8ded79ce9fcf0808afb660f43c7","_id":"@aidbox/sdk-r4@1.0.15","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-2/64s0TVVRVLel3TwOdHX34sgzX9V21dqMwOmc3QBdmJ8t9iQ0CnaCxGro90hOiT2u9kyR6lVcq+0GX2e+ZC6w==","shasum":"e81375ce8fec8a2b801ac03da3452b3429ab9b10","tarball":"https://registry.npmjs.org/@aidbox/sdk-r4/-/sdk-r4-1.0.15.tgz","fileCount":434,"unpackedSize":1876714,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyoqM4L/BC3GTORLe8DMbANcdfogke+RX+Q/qMEouE4gIgd/Yg902EM0bywTqayv6h2qg3hoFXjIkUV7+TUaPM6Ww="}]},"_npmUser":{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"},"directories":{},"maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-r4_1.0.15_1730308221873_0.4761272736042752"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-16T14:05:53.642Z","modified":"2024-10-30T17:10:22.446Z","1.0.0":"2023-06-16T14:05:54.253Z","1.0.1":"2023-06-16T14:11:45.733Z","1.0.2":"2023-06-16T14:14:40.153Z","1.0.3":"2023-06-16T14:20:52.839Z","1.0.4":"2024-02-02T12:00:25.629Z","1.0.5":"2024-02-02T12:04:54.176Z","1.0.6":"2024-02-02T12:06:57.598Z","1.0.7":"2024-02-02T14:14:46.552Z","1.0.8":"2024-02-02T14:25:14.768Z","1.0.9":"2024-02-02T14:34:27.801Z","1.0.10":"2024-02-07T13:06:30.548Z","1.0.11":"2024-02-07T13:13:08.368Z","1.0.12":"2024-05-10T11:05:58.118Z","1.0.13":"2024-05-22T09:13:40.350Z","1.0.14":"2024-10-23T11:04:23.846Z","1.0.15":"2024-10-30T17:10:22.242Z"},"license":"ISC","keywords":[],"description":"Default Aidbox SDK with HL7-R4 package","maintainers":[{"name":"octoshikari","email":"funyloony@gmail.com"},{"name":"aidbox-main","email":"hello@health-samurai.io"},{"name":"gena.razmakhnin","email":"gena.razmakhnin@gmail.com"}],"readme":"# Aidbox JavaScript SDK FHIR-R4\n\n## How to use\n\n**Important:** Before we start we have to make sure that\naidbox [client](https://docs.aidbox.app/tutorials/security-and-access-control/basic-auth-tutorial#basic-auth) is\nconfigured\nand your [access policies](https://docs.aidbox.app/security-and-access-control-1/security/access-control) provide\ngranular access to resources you're trying to reach.\n\n```javascript\nimport { Client } from 'aidbox-sdk';\n\nexport const aidbox = new Client('<HOST_URL>', {\n  auth: {\n    method: 'basic',\n    credentials: {\n      username: '<CLIENT_NAME>',\n      password: '<CLIENT_SECRET>',\n    },\n  },\n});\n```\n\nThis code creates a new instance of the SDK from the aidbox-sdk package, and sets it up to connect to an Aidbox server\nrunning on `<HOST_URL>`.\nYou would need to replace `<CLIENT_NAME>` and `<CLIENT_SECRET>` with the actual client ID and client secret that you\nconfigured earlier, also SDK support two types of API (Aidbox,\nFHIR [see difference](https://docs.aidbox.app/modules-1/fhir-resources/aidbox-and-fhir-formats)) just provide one of\nthem as third parameter.\n\nBy using aidbox-sdk in your project, you can easily interact with an Aidbox server and perform actions like reading and\nwriting resources, searching for resources, and more.\n\nThen you can use aidboxClient in wherever you want\n\n```javascript\nimport { aidbox } from '../aidbox-client';\n\nasync function getPatients() {\n  return aidbox.resource.list('Patient');\n}\n```\n\n## API\n\n### resource.list\n\nlist method accepts the name of the resource and is the basis for the subsequent complication of the request\n\n#### where\n\nMethod where add additional parameters for searching\n\nFor example, you want to find all patients with name John, so\n\n```typescript\nresource.list('Patient').where('name', 'John');\n```\n\nOr, you want to find all patients with name John or Steve\n\n```typescript\nresource.list('Patient').where('name', ['John', 'Steve']);\n```\n\nAlso, method where support prefixes for numbers and date, just pass it as third parameter\n\n```typescript\nresource.list('Patient').where('birthdate', '2014-06-30', 'gt');\n```\n\n#### Sort\n\nMethod sort add additional parameters for sorting\n\nFor example, you want to display the oldest patients\n\n```typescript\nresource.list('Patient').sort('birthdate', 'asc');\n```\n\nAnd also, you want to sort this data by patients name\n\n```typescript\nresource.list('Patient').sort('birthdate', 'asc').sort('name', 'asc');\n```\n\n#### Count\n\nMethod count used for make limit the number of resource returned by request\n\n```typescript\nresource.list('Patient').count(10);\n```\n\n#### Summary\n\nTo request only a portion of the resources from a server, you can use the summary function. This function allows you to\nspecify the type of summary you want to receive, such as **true, false, text, data, or count**.\n\nBy default, when you make a request to a server, it will return all resource.\n\nThe summary function accepts several types of summaries, each of which provides a different level of detail about the\ndata. For example:\n\n- true - limited subset of elements from the resource\n- false - all parts of the resource\n- text - only the text, id, meta, and top-level mandatory elements\n- data - resources without the text element\n- count - count of the matching resources, without returning the actual matches\n\n  summary(\"data\")\n\n#### Elements\n\nIf you need to retrieve specific elements of a resource from a server, you can use the elements function. This function\nallows you to specify which parts of the resource you are interested in, and can help to reduce the amount of data\nreturned by the server.\n\nBy using the elements function, you can customize your requests to retrieve only the data that you need, rather than\nrequesting the entire dataset. This can be particularly useful when dealing with large datasets or when you only need a\nsmall subset of the available data.\n\nTo use the elements function, simply pass in the elements you want to retrieve as arguments. For example, if you only\nneed the name and address fields from a resource, you can make a request using the following syntax:\n\n```typescript\nresource.list('Patient').elements(['name', 'address']);\n```\n\nThis request will return only the name and address fields for each resource, rather than the entire dataset. By reducing\nthe amount of data returned, you can help to streamline your requests and improve the performance of your application.\n\n### resource.get\n\nThe get function is a tool for retrieving a single resource by its ID.\n\nTo use the getResource function, you must pass in the resource type and ID as arguments. For example, if you want to\nretrieve a patient resource with the ID some-id, you can make a request using the following syntax:\n\n```typescript\nresource.get('Patient', 'id');\n```\n\n### resource.create\n\nThe createResource function is used to create a new resource.\n\nThe first argument is a resource name, the second one is body of resource\n\n```typescript\nresource.create('Patient', { active: true });\n```\n\n### resource.update()\n\nThe update function is used to update a specific resource identified by its id with a partial set of data\nprovided in the third parameter. This function allows for partial updates of a resource without having to send the\nentire resource object.\n\nThe first parameter specifies the name of the resource to be updated. The second parameter identifies the specific\nresource to be updated.\n\n```typescript\nresource.update('Patient', 'c58f29eb-f28d-67c1-0400-9af3aba3d58c', {\n  active: false,\n});\n```\n\n### ### resource.delete()\n\nThe deleteResource function is used to delete a specific resource identified by its id.\n\n```typescript\nresource.delete('Patient', 'c58f29eb-f28d-67c1-0400-9af3aba3d58c');\n```\n\n### createSubscription\n\nAidbox subscription is a way to subscribe and get notifications about updating resources on the server. See\nour [subscription sample](https://github.com/Aidbox/aidbox-sdk-js/tree/main/subscription-sample) for more details.\n\n```javascript\nawait client.subsSubscription.create({\n  id: 'patient-created',\n  status: 'active',\n  trigger: { Patient: { event: ['create'] } },\n  channel: { endpoint: 'https://aidbox/patient-created' },\n});\n```\n\n### sendLog\n\nAidbox has the ability to extend its logs. There is\nan [endpoint](https://docs.aidbox.app/core-modules/logging-and-audit/extending-access-logs#usdloggy-endpoint) that\naccepts logs with the defined structure from your application. These logs are ingested into the elastic log.\n\n```javascript\nawait client.sendLog({\n    type: \"ui\",\n    message: {event: \"YOUR_EVENT\", id: \"id\", ...},\n    v: \"APP_VERSION\",\n    fx: \"fetchUsers\"\n})\n```\n\n### Bundle request\n\nSDK has helpers to prepare data for bundle request.\n\n```javascript\nclient.transformToBundle(\n  [\n    {\n      resourceType: 'Patient',\n      name: [\n        {\n          given: [''],\n          family: '',\n        },\n      ],\n    },\n  ],\n  'POST',\n);\n```\n\nBundle requests could be a [transaction or batch](https://docs.aidbox.app/api-1/fhir-api/bundle#post-endpoint) type. SDK\nuses the \"transaction\" type by default but you can change it by providing it in the second parameter.\n\n```javascript\nconst data = ArrayOfPatients.map(client.bundleEntryPost);\n\nawait client.bundleRequest(data, 'batch');\n```\n\n## Task API\n\nQueues are a valuable tool for achieving reliable, asynchronous, scalable, and retry-safe code execution.\nBy using queues, we can ensure that tasks or messages are processed reliably, even in the face of failures or system\ndisruptions.\nThe asynchronous nature of queues allows tasks to be processed independently, enabling parallelism and reducing wait\ntimes.\n\n```javascript\nimport { Engine } from 'aidbox-javascript-sdk';\n\nconst client = new Engine('http://localhost:8888', {\n  username: 'test',\n  password: 'secret',\n});\n```\n\n### Definition\n\nFirst of all we have to create task's schema with settings that apply restrictions on\ninput and output arguments for entity like this one:\n\n```clojure\n SendMessage\n{:zen/tags #{awf.task/definition zen/schema}\n :type     zen/map\n :keys     {:params {:type    zen/map\n                     :require #{:phone :message}\n                     :keys    {:phone   {:type zen/string}\n                               :message {:type zen/string}}}\n            :result {:type    zen/map\n                     :require #{:status}\n                     :keys    {:status {:type zen/string}}}}}\n```\n\n[More information about task definition](https://docs.aidbox.app/modules-1/workflow-engine/task#1.-specify-task-definition)  \nNotice: we have to regenerate SDK package each time we made changes into configuration project\n\n### Implementation\n\nNext step is creating business logic that will be considered as a worker,\nthe worker will be handling each task, we can\n\n```javascript\nclient.task.implement(\n  'SendMessage',\n  async ({ params, status }) => {\n    const { message, phone } = params;\n\n    try {\n      await fetch('https://message-sending-server.com/', {\n        method: 'POST',\n        body: JSON.stringify({ message, phone }),\n      });\n\n      return { status: 'success' };\n    } catch (error) {\n      return { status: 'failure' };\n    }\n  },\n  { batchSize: 5 },\n);\n```\n\n### Execution\n\nThe way to execute a single task with unique context\n\n```javascript\nawait client.task.execute('SendMessage', {\n  phone: '+1234567890',\n  message: 'Hi!',\n});\n```\n\n## Workflow Engine\n\nAidbox provides Workflow Engine module, so you're able to define your own sequence\nof async tasks on top of Task API. In many business processes, certain tasks depend on the completion of other tasks.\nDefining task dependencies through workflow implementation allows the developer\nto control the order in which tasks are executed.\n\n```javascript\nimport { Engine } from 'aidbox-javascript-sdk';\n\nconst client = new Engine('http://localhost:8888', {\n  username: 'test',\n  password: 'secret',\n});\n```\n\n### Workflow Definition\n\n```clojure\n CheckOutWorkflow\n{:zen/tags #{awf.workflow/definition zen/schema}\n :type     zen/map\n :pool     decision-pool\n :keys     {:params {:type    zen/map\n                     :require #{:clientId}\n                     :keys    {:clientId {:type zen/string}}}\n            :result {:type zen/map\n                     :keys {:messageId {:type zen/string}}}\n            :error  {:type zen/map\n                     :keys {:message {:type zen/string}}}}}\n```\n\n[More information about workflow definition](https://docs.aidbox.app/modules-1/workflow-engine/workflow#1.-specify-workflow-definition)  \nNotice: we have to regenerate SDK package each time we made changes into configuration project\n\n### Workflow Implementation\n\n```javascript\nawait client.workflow.implement(\n  'CheckOutWorkflow',\n  async ({ params }, { execute, complete, fail }) => {\n    if (params.event === 'awf.workflow.event/workflow-init') {\n      const response = await fetch('https://server.com/get-client');\n      const { phone } = response.json();\n      return [\n        execute({\n          definition: 'SendMessage',\n          params: { phone, message: 'Hi!' },\n        }),\n      ];\n    }\n\n    try {\n      const response = await fetch('https://workflow-state.com');\n      const data = response.json();\n\n      if (\n        params.event === 'awf.workflow.event/task-completed' &&\n        data.step === 1\n      ) {\n        return [execute({ definition: 'UpdateInformation', params: {} })];\n      }\n\n      if (\n        params.event === 'awf.workflow.event/task-completed' &&\n        data.step === 2\n      ) {\n        return [complete({})];\n      }\n    } catch (error) {\n      return [fail({ error })];\n    }\n\n    return [];\n  },\n);\n```\n\n### Workflow Execution\n\n```javascript\nawait client.workflow.execute('CheckOutWorkflow', { clientId: '' });\n```\n","readmeFilename":"README.md"}