BBMRI-cz / fhir-module

A data integration tool for BBMRI-ERIC biobanks.
Apache License 2.0
2 stars 1 forks source link

feat: add support for bbmri data model #7

Closed RadovanTomik closed 1 year ago

RadovanTomik commented 1 year ago

Negotiator pull request:

Description:

This PR adds support for BBMRI-ERIC data model according to the MIABIS and BBMRI.de FHIR specifications.

Checklist:

Make sure you tick all the boxes bellow if they are true or do not apply:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 94.41% and project coverage change: +0.93% :tada:

Comparison is base (b09d253) 92.65% compared to head (3a76f83) 93.59%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7 +/- ## ========================================== + Coverage 92.65% 93.59% +0.93% ========================================== Files 29 34 +5 Lines 790 1108 +318 ========================================== + Hits 732 1037 +305 - Misses 58 71 +13 ``` | [Flag](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz) | `47.47% <51.77%> (-0.72%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz) | `70.57% <68.52%> (+3.10%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz) | Coverage Δ | | |---|---|---| | [main.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-bWFpbi5weQ==) | `0.00% <0.00%> (ø)` | | | [model/condition.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-bW9kZWwvY29uZGl0aW9uLnB5) | `100.00% <ø> (ø)` | | | [util/config.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-dXRpbC9jb25maWcucHk=) | `73.52% <62.50%> (-9.81%)` | :arrow_down: | | [persistence/sample\_donor\_xml\_files\_repository.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-cGVyc2lzdGVuY2Uvc2FtcGxlX2Rvbm9yX3htbF9maWxlc19yZXBvc2l0b3J5LnB5) | `97.05% <75.00%> (-2.95%)` | :arrow_down: | | [service/blaze\_service.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-c2VydmljZS9ibGF6ZV9zZXJ2aWNlLnB5) | `82.73% <88.37%> (+1.96%)` | :arrow_up: | | [persistence/sample\_collection\_json\_repository.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-cGVyc2lzdGVuY2Uvc2FtcGxlX2NvbGxlY3Rpb25fanNvbl9yZXBvc2l0b3J5LnB5) | `91.30% <91.30%> (ø)` | | | [model/sample.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-bW9kZWwvc2FtcGxlLnB5) | `94.44% <92.95%> (-1.21%)` | :arrow_down: | | [model/sample\_donor.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-bW9kZWwvc2FtcGxlX2Rvbm9yLnB5) | `97.95% <94.44%> (-2.05%)` | :arrow_down: | | [model/sample\_collection.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-bW9kZWwvc2FtcGxlX2NvbGxlY3Rpb24ucHk=) | `100.00% <100.00%> (ø)` | | | [persistence/sample\_collection\_repository.py](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz#diff-cGVyc2lzdGVuY2Uvc2FtcGxlX2NvbGxlY3Rpb25fcmVwb3NpdG9yeS5weQ==) | `100.00% <100.00%> (ø)` | | | ... and [10 more](https://app.codecov.io/gh/BBMRI-cz/fhir-module/pull/7?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BBMRI-cz) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.