Closed ysebiat closed 4 years ago
Merging #250 into develop will decrease coverage by
0.09%
. The diff coverage is94.76%
.
@@ Coverage Diff @@
## develop #250 +/- ##
===========================================
- Coverage 93.40% 93.30% -0.10%
===========================================
Files 204 218 +14
Lines 2503 2526 +23
Branches 75 72 -3
===========================================
+ Hits 2338 2357 +19
- Misses 165 169 +4
Impacted Files | Coverage Δ | |
---|---|---|
...ytechnique/cmap/cnam/etl/config/ConfigLoader.scala | 100.00% <ø> (ø) |
|
...olytechnique/cmap/cnam/etl/events/MedicalAct.scala | 100.00% <ø> (ø) |
|
...chnique/cmap/cnam/etl/extractors/ColumnNames.scala | 100.00% <ø> (ø) |
|
...etl/extractors/events/acts/MedicalActsConfig.scala | 100.00% <ø> (ø) |
|
.../extractors/events/diagnoses/DiagnosesConfig.scala | 100.00% <ø> (ø) |
|
...gs/classification/PharmacologicalClassConfig.scala | 100.00% <ø> (ø) |
|
...rugs/classification/families/Antidepresseurs.scala | 100.00% <ø> (ø) |
|
...drugs/classification/families/Antiepileptics.scala | 100.00% <ø> (ø) |
|
...gs/classification/families/Antihypertenseurs.scala | 100.00% <ø> (ø) |
|
...events/drugs/classification/families/Cardiac.scala | 100.00% <ø> (ø) |
|
... and 144 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2aabbe7...e1d1795. Read the comment docs.
Refactoring the Extractor trait that aims to add coherence and reduce the redundancy of some codes parts. Here are the changes:
getCodes
method. It returns aExtractorCodes
type.ExtractorCodes
is a trait that allows to pass a code that are more complex than a simpleSet
. This allows to have complex codes such as DrugConfig and NgapConfig.BasicExtractor
is a new trait. It is intended forExtractors
that are simple and that usesEventRowExtractor
trait to get all the information from theRow
to build anEvent
.EventRowExtractor
implementation. This allows to unify the extraction of information ofEvent
such patientID and groupID.