{"_id":"@d4l/js-fhir-validator","_rev":"9-cbddbaf85a45ea99d6367c996c4fe89b","name":"@d4l/js-fhir-validator","dist-tags":{"latest":"1.0.5"},"versions":{"0.9.0":{"name":"@d4l/js-fhir-validator","version":"0.9.0","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@0.9.0","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"955fd74e783c30431f21cb23cd5f6afe5c89a0e2","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-0.9.0.tgz","fileCount":13605,"integrity":"sha512-ozKYhVEC5hs7ev+x21HsXbuQ/7CjUwhFGgvguh7wJsNcRQipHdexogOmNoj9UWgA74k/gUDpveWrJB0Wpx5m3w==","signatures":[{"sig":"MEUCIG8E7U2+KG77He63yDylsxErdyfPil9y3nrkRtdUfzs5AiEAvlB/ynh091hoDMFuQ+3DQzAUGWCYawWW8hLJ1YrqRZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265943355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqRJVCRA9TVsSAnZWagAAC3AP/3/5rJ1vgRg5850RvhxR\nVCQRNlM4VM0eS5Fdg2Rn7GrBKBI9CPw0RYDLFObfLtGzdhIKq4SKqBrm8/bW\nwp6aqTrSCPNxQ+3flnifm2tQY0WbYOSJlMvrJWzQWRk3VNfVUR7yyIfZNyqQ\nTfn+m80vdwGedvZxFMy59rWEdYZcX1tvTyCu7j03LZMo0AqnBBtlHO1BwNgZ\nlX8ZUjBMYHgRZA4z02wiY31vci95utUtzIvBpx1XYvdqhXfAVLrlJlEYCxQA\ngoABnkjf7b9fZEOjEELDy/v7dYWSdS1H1LyABq1bqSqRb0GZsRNwLFpNjGQf\n0u34Z3P4sIQr58SiZm41K99lyiex5VF3sdjhGxaFYSyCO8RZIbK7ayZgSTSU\n7er7Z04mt7S9xjDC7WQedEuiauaVQUxwA2lL3bwootGE7W68QtBBrjoAQfBo\nv3/1D3TNsk6nKsf4UI62WhDpwMMvxxH6D7bBLBXIkDBCZDLEWzG7+bzkfB10\nKK0bsihOO8wwS3yDMMNTYzb7BjtTcqiucqQbL40Z454FH3+74fLjJbp5SQoe\nMjwVmIqqaSPydTyyRP1VJGVqYeQK5QH0r1UzoEuUvHiaCHhKoTfaAzUxhdce\nz9pff6BuwvvzUL4nUOzmsjB2bpc25thbGMxnIbMXXxq5wIAzhbFr5xBtR/ni\ndfYk\r\n=FEYs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1587718bd9f4ea173b9fd1f617a4a82660120391","scripts":{"test":"jest __tests__/r4; jest __tests__/stu3","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.8","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.15.0","dependencies":{"ajv":"^6.12.6","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_0.9.0_1604915796117_0.6462112676095348","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@d4l/js-fhir-validator","version":"1.0.0","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.0","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"ec0fa41989323709225c44f2fc60b4cfc5e693b7","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.0.tgz","fileCount":13606,"integrity":"sha512-9gKALDzJoD6flpxJobTU1q8FB6qumo+GWmmMp5Zo1DbORVCMd0+X2i6bHJHdc9wjPxeMBK+K+HT+LYcQRlOFxg==","signatures":[{"sig":"MEYCIQDbJMnjyHI1sZ8NL3PP1LP8UhEiIpQaJgZLMykxSlZWvQIhAMwr1jW3XaegBYIx9xsPHSAmTvfBdz9VDYe+vlycnXPu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265946583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqVBJCRA9TVsSAnZWagAA47cP/0TyrBxeKmdYJw6ChaAU\nZXxFOyCL1Mtrhaz9QbVazf3xElWnA4guPtnGPmem808dIYfv+WJVruJOTH9X\nAZ+LZKK3Pf/+1LfAn55spvxcRG14SO7cPYcuRJmM9kDONUR5T1+DQ5k2NHhw\nXTLfilJYl5sv09mC7x+9UsG/lV8WDyF+kRpoPHewWLSaB49qn6aZ6IV3hl1y\nAwTQYY8QBzhckekiXNiHX1+fsmnaMrlZTM5TeRjfVQsVNt2mRqTyfnXmY7e6\n6nqDjbKc286UXv0PbR5fjzVNVJb4CIpGVJH09ZuqV+3gvtEOp5IICLdLT9sf\n8mda7x5Jg+ost/8AMthFJrjg26fB9ZkPyf/g6i8lV9JrXXJ6DP+FGYwKFj2F\nT14LRpm1DjvXgwqtulig2G/dCA4obp/kMA0StMkxYxtWFYRbKfB/S7qoocYg\nHGoUd/yJEXdWoawQW2ooKw8rKD9PMIOsh+ej9VpJY2VIg292wWRBklGC2Yuy\npN1CX80wHJ1rwHxtOkatSV/ZLGRMlAb1sFT3VDCPfy41MwDq78jhJriEo9fA\n4CBA6TTXdkz+ojsQy1MakgJefhFgr51fyuvI4F8VgDI9MlidaCcE1803bUg5\nGzT2zJGDpI47+3pYd1w6vGJCkU3Coie4BurS4L+UFGIgTfxRlTe03pyDxq9R\nAcyW\r\n=Lmmk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c949546fad2f40969f5c091eaea63c6e9e590642","scripts":{"test":"jest __tests__/r4; jest __tests__/stu3","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.8","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.15.0","dependencies":{"ajv":"^6.12.6","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.0_1604931655830_0.7158968995204902","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@d4l/js-fhir-validator","version":"1.0.1","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.1","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"464047de7a76fb8ecf05be58a17ef05022fb00d9","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.1.tgz","fileCount":13606,"integrity":"sha512-X1XSt6/dISnt4G+7UDIiB2HVUO2shO5NRJMmbrQUzZ3uL+DjWV4DJTOLJ4MJ+uE2Pf6zfK12+5ZZF8Jk99kh+Q==","signatures":[{"sig":"MEUCIAECYNAZ4kDreaDb4ai0RYSp0sBA8guYkt4Qa6reCsKRAiEA5kGnWw271Y3nGLENeXfqK+f48pfQeVceJ2dinvR+uc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265946599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqWUGCRA9TVsSAnZWagAAPBcQAKMkzaIIRj0FleJn2jJK\nxL4nCbzf12pGvY/8e3FEp4+QyHT99yTZippEabAXkleFWoK+iASk+zi/wkL8\n6ijJ+GqV/3LRxk0m9S6PKSXH4TjTifDaj3qpKsFXgA6GujDkyXAg+NAdC/Im\n2HKKRuGMOA8ZH6NTHB6zIe53wr1ZZ1q8pXkHoSMfJilhAa5rahWrzlAJHlK7\njKZlc3SKlNm8bbwqv9pOdbY2b3aqr2jF4AZsmEQeIDWT2f+4g0Gi2OV9fLLV\n351Smdj9UliuEPItc0GLxxZic+Gr/HGkPW1BwCAOFacCKdBOFqX5okuKgQSj\neh9Wj9v62mP32Zq3LxOJcpS2nDVP2pAgAsFxyJkp56cKe8OoOE2IKDZjlBo4\nMcSk8PbIjh+RzThfy6NY8f4WJqQWlTVORJx6RDe6bS3PWT0QwhQvW3MGoYdm\n+s1zIGPYSJVovnEhMb/ZcAQPmla6Y0wAmIt+4HS+cSwMLrt6S9X7t2YOS0Ft\n38kEu5IPVCXIkhtkimxHYnwEYusavq24HUCSac88qIopQeZg2UBB3IRanbA8\n1ELbkWRiZoWZj9+s3HIru+HegDMCYn5NkCkgB2TU7Pn7ppxCoRzZEAFLlpQ+\n9sJm38Zmvg/ZXsX4zYQvbHVYwMJHOlsW2ABCfH9YfXz5T258tRfTZ8wG522W\n+08W\r\n=4FoL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6c88e6ce3bb245b4911f9eaf88f2829c77554f9c","scripts":{"test":"jest __tests__/r4; jest __tests__/stu3","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.8","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.15.0","dependencies":{"ajv":"^6.12.6","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.1_1604936965325_0.28965276437777243","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@d4l/js-fhir-validator","version":"1.0.2","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.2","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"59cfaeecffd8ceaee25cc7e9872d46d6891d2e19","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.2.tgz","fileCount":727,"integrity":"sha512-yVm9z+Rf5+QI9nNRqhx4MpHqn9S6Ve6rEcocJtfqT9vDnDiWaBzKpaputRIW1iFLiKfZzcAxDnhIqp7f2L0o8g==","signatures":[{"sig":"MEUCIEjoX9VeBimMWmEmCHYQPCwkh7m5aCAhuwBBSa4VwhQiAiEA2p/Pc6wy+ooSqrszzuvcIThuQGKkZzbndApVHbZ4uHc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":380847586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq9kMCRA9TVsSAnZWagAAQ7kP/2HwMQOX56oKheWKq73z\nooFq5JWogTnoFwO5qM+tBRDjXD8UoO4QNUCa/4kiDc339vHyZduy5XjiFPlh\nHtFOGVpJn9Q/DpZA8CzRzOub+/pfrmS/wPJgjflV0I9xeupz1CcokMiWtKOd\n3qHjTI4a9XsDq/B+oE8XRruqqgQicMO8F9vYC7RyhHgJTMOFdG3GYTrHRRUl\neHUg/IRu0rzKFWy2WWG1yWKMXIqO2gKJcI6PzhrICePqCe+OlPzMJGMbAa4d\n4iJZMgYdtD5wz7jTUQIIZ7eJwXCYvnZi3AbWUJAhvFvcfQgo8lRlskxS/AsE\n78uA5BvENvSXXCnuO4LmVb6mmyKTtN4ZmobsqyGjCRLgNMYBOBxjuWQQaSBb\nkBVAdKim7mGGp33/JXVRO/21bWh8HtDaqT2HtMAJPv8jqLRfWf+E1N+vjuNP\nDIfgjA6jfyhlr5UJK8hVLnxSerZcaPwbOejxaQPnwuxtHnQJmGzZQWM6NGDa\nvGc+OdMe1FK6qHSeJtR8iMAYi2yWbhz5hgx/7+p9CvNoVYlktDKd6BHz8ia+\nBf2ZZO0kRpVxfmyFDIHTyMlb6rfdWfMKgX5zLcpjf2b3dZhvO0F+3RQ3HKvg\nlXEBmZnRTxtboHbOoRecqQ5DSObpP9L3UyR//MF0Aim6N0KJwNHKguUpKXPv\nm8jy\r\n=FBTK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"339c5b0468d69149b5b4749803c2ed7c0f995601","scripts":{"test":"jest __tests__/r4; jest __tests__/stu3","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.8","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.15.0","dependencies":{"ajv":"^6.12.6","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.2_1605097739717_0.04497539900229408","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@d4l/js-fhir-validator","version":"1.0.3","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.3","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"4dfbdd47096714cb10449f84defdd8edbbcfb432","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.3.tgz","fileCount":727,"integrity":"sha512-KXI8w6MuKIIi0U02hkVg04UMMw9settsAnInO8cslLPZhx3VmQSb/8ZZUpdQkGASQ5vD1kjaOD0hMtMLsH6tEw==","signatures":[{"sig":"MEYCIQDorvH3C1Nt3lswL+PvQQeEK8wzLrZIhQZ1fBp3cyjcMQIhAPnw64irgynGp/GHZBR5tyqiP7ug7rTUz7JD2djv01Sz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":362064646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWyBBCRA9TVsSAnZWagAALpIP/j/gShOuqW5U5oHAzfqQ\nGSJaGbCjqdISm4gh361gt837XI45pr3TiIFCuwXlqDnF8/IU8BKn605Yp/w7\nMI/8Lnz857x9kHZ+ZrKwd7YwpIymK/0xgQ8Vr9H8Kxsb6lTsoYtuYEaNHJEJ\njYuGc+R4XyZNPGOofNOUKfBgpINyQhdrGZr1ZhWC/K5qlD52mGO0gTSne90p\nm93SJvikJaX2KIxmd64Dwf0R1H/sqQ1dXR/lBtHg1+M0hAqpbd7BWNwPelR3\nGE1iin0GNX+DPOfP2WE29k+T4P8O52OiJSuA+3Z58A5/6B1Xn4D9o1AXyc1i\n7tckyayDWp76aEUm7KdCgZNBnxG2X0sUHFhNqNBnMBCPMC2XsTCNCADwyb1J\nCId8aoV38HtXpYmtB9pNuF+w4s2mQ/foRibB0jjPt92JWW9n7kBSo+KfTtQJ\nSDjF/5E9hn0gEn25YOb2/1MOWknIM2RO6Yc/3qk/UZXx8b51BTmaIEqZS8ZT\nercAFpSon9wuynDA4aZikxpWBRuFLDGhcR03qtvJb6WsJcsLNKqPODhJBNpF\n5N6gBCxABoQ4NhIP+pOThvn8O9Umg1ygyAeNUvzXR7WSomcz85Wkcdw0AXaR\n/PRo3eb8HAnWTFcvJu6RCImwV650k4wcGFPIWc+ltdUVagB8z+/GdO8RCx9C\n+569\r\n=VVfI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c40b5823772230b9417b6450a66fbfe1fdab8f3e","scripts":{"test":"jest __tests__/r4; jest __tests__/stu3","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.11","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.16.0","dependencies":{"ajv":"^7.2.3","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.3_1616584767771_0.34651671921173555","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@d4l/js-fhir-validator","version":"1.0.4","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.4","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"4fb8c06af9d35679df6ba683cb31a284a1481f57","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.4.tgz","fileCount":727,"integrity":"sha512-yUi8zLr/WcQGIXUczYQyGhP4HQykPFH3FfpG2DiiAH5/8J17wSn+sriWtQczE8F9vQelC4Sd8K3jIc+AEsIuNw==","signatures":[{"sig":"MEUCIHiceYginsyKeY9oURwcORqF6jL/02ZRWwxLlTKpub4/AiEA08jLUpGtqSYu2XDt5jMe2kn8SbBkSfNJv65OBUaZeUU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":364362958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZhr+CRA9TVsSAnZWagAAQTAP/RipMJmv3lJBjF9XGvpT\nSPymbR6uBvt0hHsMBw2LTVi4GVEBkasLad0C7Z4GAMJiJ9uR9vQT0uPqm+Ww\noIbaU7FFuQHD6gCe7slEcAj/AdQjEl3UukVvfyBF4vLPcOF1dwDcfuSfWroH\n3cEH5JdxDi/cfApVZq85aoXdDulhwjDoamCJuMNSJgYb5R+04p/GhHIrqQVC\nonSYzl6z353hB0N96wE2fVcBVbf9V+pIyODUSpNdLml4cN+6JlhOvQNblUFz\njxG4pVSb7bdcDI6Z8RvtyC905l3FdQxvyIpiI9F1SmVtbqKTzVW0B7gWjO9c\ntK3mSbi5la47RKRTl+wXi3h1iScjzBtN7Dc9hxawe8beNvZATrjMQlhvFvgE\nCKqnt6jcyLhXv+d1nvUSdEo62jhxWB/t9rvVOVR0tw3jUerpPhjnRe3geVoq\nioiPXtRNXSCMpH6o7rqLF2wSzU344wTd+seJ0II0Hh2TMjWMgLtc2WKh3kl/\nrGLZvXJdcobsdtOr1BPoPdzgTzz0l3hwifqMWipMeFq7T5a65ofI0FdCApji\nbIyDqOsUtZnuVxTZCuoIAUXhnHZUxBrXFE2uuIjJhLyPVPhHa2CSJh8WZIwi\nljZYaK5dH9LScw5SZJriCB+Qgg3f3jpgj24NrM8465GXnItFr0nYapC8qPe0\ns2GJ\r\n=kqGA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"961f2045a0f23410dda754412bb2113d8f228253","scripts":{"test":"jest __tests__/r4 --runInBand; jest __tests__/stu3 --runInBand","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.11","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.16.0","dependencies":{"ajv":"^8.0.3","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.4_1617304317577_0.8398624484038986","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@d4l/js-fhir-validator","version":"1.0.5","author":"","license":"MIT","_id":"@d4l/js-fhir-validator@1.0.5","maintainers":[{"name":"d4l-team","email":"frontend@data4life.care"}],"homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"dist":{"shasum":"bd740aad2d6c968421e11372a04d5bfb5fa501ab","tarball":"https://registry.npmjs.org/@d4l/js-fhir-validator/-/js-fhir-validator-1.0.5.tgz","fileCount":727,"integrity":"sha512-15lrHIVxupJ6PLYFKxxsf7yZHfpvsqRWBXFUcykT3dVdjwTnWeErrIlR3fX1YqVkMC7iPeQpsfbMTer9PpFkyA==","signatures":[{"sig":"MEUCIQClmPNk4sDNWPvcvVucY7gx7nRJidcIsTYvZknmvKUu+AIgGmU6xtekJ2de7bP2LQNoqzeANw71v1Ykefrjd63SpZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":364362958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbxw0CRA9TVsSAnZWagAA7boP/RlyiC51TUg69fvrXF31\nAPYMHBAhjpLoac+cDeNUTgUQT4KVEJApEDTAikGVYbd8cPqEEeSj4CASJtAd\n1axrvc16CWV0zvvuFBpvX0JrYzlsecRBY/s0GUQTQbLFDQd25xv8DQupnVJz\n9U/VJGWmJgDC3m6JI6YQuS8BHhsRo+3Jv5RaoEeG0EyyDKwP8uoeqILHmivC\n7wbn49IuslZT0YuLkXWqZk3E5wYXMznngAbyxDqcnTjppAZ9L9T5Jk8XoSff\nVgG4FLeXhmaMcZX6+sMkegnQ9iQUNAZs5gB7pn5N8bzMKOc2p125En/KK6tv\ntmuFTV+Wpu04mpK0jtyhq32jINFVFsCf3BdPjKevCXr0HAVnbDw16fLQuX6z\nbZRukSKacs9rkKxGLkN09UHZKIcO1MUWCtjLSLMFq+Qygsy5HxEK7MRE+iJe\nMk+EP1ysqyheiYhcNULkBiRXPDwFWE3ySSlZXa/BsV2OzsEEr0lwpiNn/fs/\ncAO98mm7T32+ET5FpqQY88Wk5N/9eMljoUZnlYCrIWicg2M/LF6UrbRduyAJ\nvb8vW7dztohB47gcfUe2Gwowc+QsAZmYV2pZPf9HgUiAcYQp+7jcMKnxLJUC\nz3yUYJrgmbbSWXM/ptmuB+Is1RdQdCy1WTMVe2P26Uh9wpVp+k6EmbN3A7to\nV6Xb\r\n=nMhs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f90a36015a45cd0e6ad2335919704e0b0fac8166","scripts":{"test":"jest __tests__/r4 --runInBand; jest __tests__/stu3 --runInBand","build":"npm run build:r4; npm run build:index; npm run build:stu3; npm run compress-files","build:r4":"npm run build-json-files; npm run generate-validator-scripts","build:stu3":"npm run build-json-files -- stu3; npm run generate-validator-scripts -- stu3","build:test":"node ./scripts/generate-test-scripts.js","build:index":"npx ajv compile -s fhir.schema.v401.json -o index.js","compress-files":"node ./scripts/compress-files.js","build-json-files":"node ./scripts/build-json-files.js","generate-validator-scripts":"node ./scripts/generate-validator-scripts.js"},"_npmUser":{"name":"d4l-team","email":"frontend@data4life.care"},"repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"_npmVersion":"6.14.11","description":"Runtime FHIR Validator","directories":{},"_nodeVersion":"14.16.0","dependencies":{"ajv":"^8.0.3","terser":"^5.3.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/js-fhir-validator_1.0.5_1617894451367_0.7182200964245282","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-11-09T09:56:36.117Z","modified":"2025-04-01T18:37:36.465Z","0.9.0":"2020-11-09T09:56:36.836Z","1.0.0":"2020-11-09T14:20:56.818Z","1.0.1":"2020-11-09T15:49:26.191Z","1.0.2":"2020-11-11T12:29:00.535Z","1.0.3":"2021-03-24T11:19:29.240Z","1.0.4":"2021-04-01T19:11:58.338Z","1.0.5":"2021-04-08T15:07:32.160Z"},"bugs":{"url":"https://github.com/d4l-data4life/js-fhir-validator/issues"},"license":"MIT","homepage":"https://github.com/d4l-data4life/js-fhir-validator#readme","repository":{"url":"git://github.com/d4l-data4life/js-fhir-validator.git","type":"git"},"description":"Runtime FHIR Validator","maintainers":[{"email":"frontend@data4life.care","name":"d4l-team"},{"email":"tre@gmx.de","name":"davomat"}],"readme":"# JS-FHIR-Validator\n\nRuntime validation for FHIR resources. Exposes resourcetype-specific validators (strongly recommended) or one overall validation function (FHIR 4.0.1 only, caution advised).\n\n## Supported FHIR versions\n\nThis library currently supports FHIR versions 4.0.1 (R4) and 3.0.1 (STU3).\n\n## Limitations\n\nThe validation is based on JSON schemata, not on the StructureDefinition files. Not all of the constraints envisioned in FHIR can be implemented through JSON schemata. Limitations include terminology bindings, slicing and FHIRPath invariants.\n\n**Extensions** and **Profiles** are not supported.\n\n### Cross-referenced resources\n\nMany FHIR resources have the ability to include other resources - by way of `contain`, by being a `Bundle` or other collection-like resource or otherwise referencing them. These resources are not supported because it would require every validation function to possibly load every other validation function.\n\nIf you use any resources that include other resources in this way, we suggest you validate a copy of your original resource without these included and then recursively validate all included resources, like so (using [lodash](https://lodash.com/docs/4.17.15) functions `cloneDeep` and `omit):\n\n```const containedResources = cloneDeep(resource.contained);\n     let resourceToValidate = resource;\n     if (containedResources && containedResources.length) {\n       resourceToValidate = omit(resource, ['contained']);\n       await Promise.all(\n         containedResources.map(containedResource => this.validate(containedResource))\n       );\n     }\n```\n\n### Bug: Enum-Arrays in some STU 3 resources\n\nThe JSON schema definitions for several resources in STU3 results make it impossible to generate a compliant resource under certain conditions and thus will also result in the generated validation functions failing. This includes at least AllergyIntolerance, CapabilityStatement, Composition, DataElement, NutritionOrder, SearchParameter and StructureDefinition.\n\nThese resources may contain properties which are given as a given set of one or more strings from a least in an array (such as the modifier property for SearchParameter), but the schema representation and thus any resource with these properties will fail. As a result, these resources are ommitted in our automatic test generation. When using these resources, we recommend checking any potential failing validation and passing it as true if the validation object errors (see below) refer only to this specific property with the error message `should be equal to one of the allowed values`.\n\n## Usage\n\nBuilt on top of [AJV's](https://ajv.js.org/) command-line based [pre-compilation feature](https://github.com/ajv-validator/ajv-cli#compile-schemas). You need to install ajv-cli globally before.\n\n`npm install -g ajv-cli`\n\nEvery module is a `validate` function that can be directly called and returns true if the object passes.\n\n### Example\n\n```validateUserSuppliedDiagnosticReport(diagnosticReport) => {\n  import('js-fhir-validator/r4/js/diagnosticreport').then(validatorFunction => {\n       // we suggest caching the function in case you want to validate the same resource type multiple times\n       const validationResult = validationFunction(diagnosticReport);\n       // validationResult is either true or false\n       if (validationFunction.errors) { // errors are reset after every call\n         console.log(...)\n       }\n   })\n}\n```\n\n### Finding errors\n\nThe exported module is both a function that can be called as an example as well as an object that contains the JSON schema and the errors collection from its latest call. To read and react to the latest errors, check this property right after the call.\n\n## File size considerations\n\nThe generated validation functions are huge - between 2 and 4 MB before minification. This means that there is a significant performance impact to loading and parsing several of these packages. We strongly urge you to consider means of tree-shaking or asynchronous loading for the validation imports.\n\n### When to use the index.js entry point\n\nIf you need to validate more _than ten different resource types per session_, you can import the repository's entry point (index.js) instead.\n\n## Developer hints\n\n### NPM commands\n\n- `test` runs all tests\n- `build` consecutively runs the script to build per-resource JSON files and then per-resource generator scripts for Fhir version R4,\n- `build:test` generates the test files for both STU3 and R4 resources, matching per-resource validation scripts and the official HL7 FHIR examples\n- `build:index` generates single-file validation script index.js\n- `build:stu3` runs the `build` script for the STU3 resources\n- `build:r4` runs the `build` script for the R4 resources, it's an alias for the standard `build` command\n- `build-json-files` executes the script to build JSON schema files per resource. Called by `build`, takes `stu3` or `r4` as a parameter\n- `generate-validator-scripts` executes the script to build JS validation files per resource using `ajv`. Called by `build`, takes `stu3` or `r4` as a parameter\n\n## Example App\n\nCheck out the example app located in the folder `sample-app`. Its readme contains all commands required to run or build locally.\n\n## Frequently asked questions\n\nWhy should I use this repository over a FHIR json file that AJV parses at runtime?\n\nIndeed that is a very straightforward way to use a JSON-Schema based validation, and the way AJV is used most of the time. It would even make it possible to just have one FHIR.json file for all the resources.\n\nThe downside: You must enable `unsafe-eval` in your content security policies, which is a deal-breaker for many environments and default browser settings.\n\nWhy do you not transpile the code to something ES6-friendly with [lebab](https://github.com/lebab/lebab)?\n\nShout-out to lebab, it's a great project! However, using only the safe transformations doesn't change much in the generated functions, and using the unsafe ones is, well, unsafe.\n","readmeFilename":"README.md"}