bluehalo / node-fhir-server-core

An Open Source secure REST implementation for the HL7 FHIR Specification. For API documentation, please see https://github.com/Asymmetrik/node-fhir-server-core/wiki.
https://asymmetrik.com/healthcare
MIT License
391 stars 119 forks source link

Unable to require bundleEntry schema #266

Closed tferullo closed 3 years ago

tferullo commented 3 years ago

Do you want to request a feature, report a bug, or improve documentation?

bug

If you are reporting a bug?

What is the current behavior? after upgrading to 2.2.0 this doesn't work:

const BundleEntry = FHIRServer.resolveSchema('4_0_0', 'bundleentry');

What is the expected behavior? that it is exported from the index.js file in the resources directory

What are the steps to reproduce? Try resolving the bundleEntry schema as shown above

What OS are you using and what version of node.js and @asymmetrik/node-fhir-server-core are you running?

zeevo commented 3 years ago

Good catch. I'll be fixing this and publishing a new version today.

zeevo commented 3 years ago

@tferullo Try upgrading to 2.2.3