Input File Requirements - DeepPhe/DeepPhe-Release GitHub Wiki

DeepPhe Input Files

DeepPhe can only process plain text files. It does not handle files with embedded note text, markup tags or binary formats (word, pdf).

DeepPhe Input File Directories

DeepPhe associates notes with patients based upon directory structure. Create a single directory to contain a collection of patients. Within that directory create a directory per patient. Place all notes associated with a patient in that patient's directory.

Example of a Notes Directory Structure

DeepPhe Input File Names

Follow these naming conventions to produce better results. DeepPhe places importance on different sections based on the type of report/note. Use the following filename suffixes preceded by the underscore _ character:

Clinical Notes:

  • NOTE
  • PGN
  • DS

Pathology Reports:

  • SP
  • PATH

Radiology Reports:

  • RAD

Examples

Explanation of the origin of the abbreviations used

  • PGN - Progress Note
  • DS - Discharge Summary
  • NOTE - Clinical Note
  • SP - Surgical Pathology
  • PATH - Pathology Report
  • RAD - Radiology Report