Skip to content

Extract visit dates from medical records #3

@lkacenja

Description

@lkacenja

We want to create a new level of processing. From the CLI we should be able to add (or exclude) additional metadata extraction to the VMRT scripts. In this case we want to search each OCR result for GRLS vet visit dates. The steps to do this should be something like the following:

  1. Plan and get approval for a new level of processing. Perhaps a class that can be applied via a CLI flag. Could also be something we read from an environment or settings file.
  2. Search medical record text for date-like strings.
  3. Get a list of vet visit dates and types keyed by dog.
  4. Look for a visit date within a few days of the suggested date. For each document pick the singular date closest to the visit we have listed in the OPS DB. Otherwise, choose no date.
  5. Include this meta data in the report output.
  6. Add a pytest to cover this and create a github action for triggering it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions