I have a plain text like:
Patient Name: Anakin Skywalker
DOB: 31/12/9999
DOS:
Complaint Knee:
The patient reports left knee pain, the pain is described as aching, sharp and stiffness. The
frequency of symptoms are described as frequent (50-75% of awake time). 7/10 on VAS.
History of Present Illness Knee:
Patient denies any radiating symptoms. The patient reports crepitus on active motion in the left
knee and in the right knee. The patient reports morning stiffness in bilateral knees lasting less than
20-30 minutes.
Palpation:
Left Knee Pain with Palpation?
No
Right Knee Pain with Palpation?
No
Knee Range of Motion:
Left Knee
Range of Motion Normal
Pain with Movement? No
Right Knee
Range of Motion Normal
Pain with Movement? No
During the knee testing instability has been noted. Functional knee testing as noted below.
Physical Exam
Plan:
Patient has been recommended the following for bilateral knees:
Injectable:
The patient will be treated with a series 3 viscosupplementation procedures for placement of
Euflexxa (J7323) in the knee. This will be performed at a frequency of once per week for 3 weeks.
The patient will receive a dosage of 20 mg / 2 ml per knee.
Diagnoses
Unilateral primary osteoarthritis, left knee - M17.12
Unilateral primary osteoarthritis, right knee - M17.11
Bilateral primary osteoarthritis of knee - M17.0
Medical Offices Of Old Galactic Empire, LLC
666 Highway 66 Death Star
Electronically signed by Palpatine, Emperor MD. on Tuesday, July 31, 9999 at 05:22 PM
,
Medical Offices Of Old Galactic Empire, LLC
666 Highway 66 Death Star
In the text, I have to recognize sections with the names:
- Complaint Knee
- History of Present Illness Knee
- Palpation
- Physical Exam
- Plan
- Diagnoses
I need to find boundaries of the section.
Actually, I can find the beginning of the sections using predefined section names list.
The major problem is recognizing of the end of the sections in the case when one of sections in the document is not recognized by the section name.
I am interested in any ideas and hypotheses on how such a problem can be solved.