Closed natjoe4 closed 1 year ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Statements | 85.01% (+0.03% 🔼) |
1990/2341 |
🟡 | Branches | 73.65% (+0.06% 🔼) |
1750/2376 |
🟢 | Functions | 87.1% | 351/403 |
🟢 | Lines | 85.29% (+0.03% 🔼) |
1919/2250 |
364 tests passing in 28 suites.
Report generated by 🧪jest coverage report action from e9615095db7c95f2a621d10353318f1a912f2109
Summary
Passing in a canonical url of format
url|version
is now supported for libraryDataRequirements operations.New behavior
Previously, passing in a canonical url of format
url|version
for--root-lib-ref
would throw an error since it tried to match the full canonical to theurl
field for each library in the bundle. Now the canonical is parsed correctly and matches url and version when appropriateCode changes
extractLibrariesFromLibraryBundle
to parse canonical url of formaturl|version
and pass through url and version to extractLibrariesFromBundle` when appropriateextractLibrariesFromBundle
to take optionalrootLibVersion
param and matches it to Library.version when presentTesting guidance
npm run check
npm run build
node build/cli.js libraryDataRequirements -m "ecqm-content-r4-2021/bundles/measure/ColorectalCancerScreeningsFHIR/ColorectalCancerScreeningsFHIR-bundle.json" --root-lib-ref "http://ecqi.healthit.gov/ecqms/Library/ColorectalCancerScreeningsFHIR|0.0.003"
make sure an error is not thrown and resulting dataRequirements are as expected.