Python Forum
Data structure question
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data structure question
#1
I am creating an app that will take a pdf that represents a set of medical treatment records for a given patient. I want to submit the text to processing in medspacy. The desired output is to present a chronological history of the patent - his disease, his treatment. I also want to be able to present the results of key diagnostic tests, the efficacy of treatment, the severity fo symptoms. In pre-processing the text, before going through medspacy, I want to save the text as chunks that represent the text of a given section in the medical record. I want to preserve information about where that section was in the original pdf (page, and the pdf comes bookmarked) and well as the date of the treatment note from which that text came.

My app would have a high priority on speed. It would be kind of an "impulse buy" for the user (see a detailed analysis of the claimant's case). So what type of data structures would be best to use in python? So I would be stored the actual text as information about it (page, date of of treatment, etc)?
Reply
#2
A quick glance at MedSpaCy suggests it works with strings. Sounds like constructing a class with string elements would be useful.
likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a better data structure than classes for a set of employes? Schlangenversteher 5 2,637 Feb-26-2020, 11:43 AM
Last Post: buran
  Data saving structure JosefFilosopio 0 2,132 May-04-2019, 10:48 AM
Last Post: JosefFilosopio
  What data structure I need dervast 3 2,584 Apr-07-2019, 11:50 PM
Last Post: scidam
  Replacing values for specific columns in Panda data structure Padowan 1 14,688 Nov-27-2017, 08:21 PM
Last Post: Padowan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020