Skip to content
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

Implement patient ID / document ID parsing in FlatFileSingleItemReader #21

Open
hkkenneth opened this issue Feb 17, 2017 · 1 comment
Open
Assignees
Labels

Comments

@hkkenneth
Copy link

Update

                doc.setPerPersonDocumentId("placeholder");
                doc.setPersonId("placeholder");
                // TODO: parsing of person ID from file name

Currently, no customization. Just assume the file name is patID-docID.txt

@mbelousov
Copy link

mbelousov commented Mar 31, 2017

We need to implement a simple rule: If no file pattern is given, threat each file as a separate patient file.
Also, use patient subfolders (i.e. {pat-id}/file.txt) instead of {pat-id}-{doc-id} might be a better option.

@mbelousov mbelousov reopened this Mar 31, 2017
@mbelousov mbelousov added the v1.0 label Mar 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants