-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ere 306 muster16svg extractor parser implementation #19
Closed
OmarMalass
wants to merge
34
commits into
main
from
ERE-306-Muster16SVGExtractorParser-Implementation
Closed
Ere 306 muster16svg extractor parser implementation #19
OmarMalass
wants to merge
34
commits into
main
from
ERE-306-Muster16SVGExtractorParser-Implementation
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Parsing and cleaning fields with help of regex. - TODO: parse prescription info. - Added tests.
- Updated tests. - Moved Regex-Patterns to Parser class. - Updated tests: * reflecting parser changes. * added a new test. * using SVGExtractor's output as parser's test input.
* Updated IMuster16FormParser and child classes.
* added safe-space when parsing the target year.
* access modifiers and package.
* Delegating extraction of nameAndAddress-field subfields to PatientDetailsIntermediateExtractor. * Delegating formatting of indivisible fields to Muster16AtomicFormatter. * Class FormattingChain enables applying filters in a declarative way. - Refactoring
- MedicationDataIntermediateParser: * Initial parsing of the medication entry. * Omits redundant lines. * Merge related medication lines. - MedicationLine: * The model that the MedicationDataIntermediateParser uses. - MedicationMatchers: * Matches an entry with a medication in the dataset, enabling proper merging of lines and extraction of PZN (TODO). - DataProvider: * Loads and provides medication records from dataset. - MedicationRecord: * Represents a medication entry from the dataset. - Added tests. - Refactoring: Moved tests to package: regxer
- Removed parsing logic the class. - Updated the fields to private final.
- Added DataProvider interface. - FormDataProvider: provides medication-forms as FormRecord.
- Calculates the similarity between the entry string and a medication-record.
- implemented TODOs. - integrated SimilarityCalculator.
- This is the medication-string parsing delegate. - Completed matching/extraction of PZN, form and size. - TODO: parse name, dosage, and instructions.
- Separated delegate package into delegate.medication & delegate.patient.
- Name and dosage parsing and formatting. - Added tests.
- Fixed prefix result. - Disabled tests based on secret samples. - Removed prefix from bundle.
…er-Implementation' into ERE-306-Muster16SVGExtractorParser-Implementation
ManuelB
approved these changes
Jun 13, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool code that can be merged. I especially like the following:
- usage of a smart approach of string matching using similarity metrics and fuzzywuzzy as implementation
- the usage of the KBV abbreviations for Darreichungsform
- Usage of multiple unit tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.