System is MS SQL SERVER 2008 R2.
I have a field in a table called Clinical notes. The data types is longdesctype(text). Within this field is kept running notes from every user's data entry. Our system (Trizetto) logs each unique entry with the date and an 8 digit username between chevrons.
For example <04/29/2014 08:51 - GunderKa> OR <04/21/2014 08:18 - SullivaJ> Between these entries are notes typed in paragraph style:
For example:
<04/29/2014 08:51 - BallLuci>
Patient was admitted for possible apendectomy on night of 4/28 with normal BP.
She states she ate too many hot dogs at the festival and felt a sharp pain in her abdomen
Suggest exploritory surgery to rule out aliens.
<04/30/2014 08:18 - SullivaJ>
Inpatient stay approved for 2 nights, waterbed OK. Dr FeelGood to attend.
<04/30/2014 20:18 - BennyJac>
Post surgery patient is stable and wants a BigMac.
I want to capture every instance of <Date & Name> .... without the intermittent notes.
From the back end, without a GUI, the field is one very long paragraph. How do I capture only the chevrons and the text within the chevrons?
I have a field in a table called Clinical notes. The data types is longdesctype(text). Within this field is kept running notes from every user's data entry. Our system (Trizetto) logs each unique entry with the date and an 8 digit username between chevrons.
For example <04/29/2014 08:51 - GunderKa> OR <04/21/2014 08:18 - SullivaJ> Between these entries are notes typed in paragraph style:
For example:
<04/29/2014 08:51 - BallLuci>
Patient was admitted for possible apendectomy on night of 4/28 with normal BP.
She states she ate too many hot dogs at the festival and felt a sharp pain in her abdomen
Suggest exploritory surgery to rule out aliens.
<04/30/2014 08:18 - SullivaJ>
Inpatient stay approved for 2 nights, waterbed OK. Dr FeelGood to attend.
<04/30/2014 20:18 - BennyJac>
Post surgery patient is stable and wants a BigMac.
I want to capture every instance of <Date & Name> .... without the intermittent notes.
From the back end, without a GUI, the field is one very long paragraph. How do I capture only the chevrons and the text within the chevrons?