You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2013/06/11 21:23:19 UTC

svn commit: r1491916 [14/26] - in /ctakes/trunk/ctakes-regression-test/testdata/expectedoutput: CoreferenceCPETest/ POSTaggerCPETest/ RegressionPipelineCPETest/

Modified: ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc1_07543210_sample_unknown.txt.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc1_07543210_sample_unknown.txt.xml?rev=1491916&r1=1491915&r2=1491916&view=diff
==============================================================================
--- ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc1_07543210_sample_unknown.txt.xml (original)
+++ ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc1_07543210_sample_unknown.txt.xml Tue Jun 11 19:23:17 2013
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CAS version="2">
-    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 7/27/99&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;�Bad headaches�&#13;&#10;HISTORY OF PRESENT ILLNESS &#13;&#10;Patient Perspective&#13;&#10;She thinks her headaches may be like those in the past. However, she now has high blood&#13;&#10;pressure and is concerned because her mother had high blood pressure and died of a&#13;&#10;stroke. She is also concerned that they make her irritable with her family.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Illnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and d
 eveloped a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;2 Revised: 7/27/99&#13;&#10;Psychiatric Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;CURRENT HEALTH STATUS&#13;&#10;Medications&#13;&#10;Aspirin for headaches&#13;&#10;Multivitamin 1 per day&#13;&#10;Hydrochlorothiazide 25 mg per day (x 7 years)&#13;&#10;No herbs or supplements&#13;&#10;Allergies/Drug Reactions&#13;&#10;Ampicillin causes rash&#13;&#10;Health Screening&#13;&#10;- Last pap smear 2000, normal.&#13;&#10;- Normal mammogram in 2000.&#13;&#10;- Does breast self-exams monthly&#13;&#10;- Cholesterol = 220 (in 2000
 )&#13;&#10;Diet, Sleep, Exercise&#13;&#10;- Diet � Low in calcium with little milk or cheese. She frequently eats mid-morning and&#13;&#10;evening snacks that are high in fat. She does follow a low salt diet.&#13;&#10;- Sleep � Generally good, average 7 hr&#13;&#10;- Exercise � �No time�&#13;&#10;Habits&#13;&#10;- Alcohol � Rare drink (wine) only, no history of abuse&#13;&#10;- Drugs � Never tried illegal drugs&#13;&#10;Alternative Therapies&#13;&#10;None&#13;&#10;Patient Centered Medicine 2&#13;&#10;PSYCHOSOCIAL HISTORY&#13;&#10;- 4 yr ago her husband died suddenly of heart attack, leaving little savings and no&#13;&#10;insurance.&#13;&#10;- Lives alone, recently moved to a small apartment to be near daughter&#13;&#10;- Cosmetic saleswoman for 15 years at Sears. Likes her job but feels stressed by demands&#13;&#10;from the new manager&#13;&#10;- Not sexually active since the death of her husband who was her only partner&#13;&#10;- Denies d
 epression&#13;&#10;- Feels safe at work and home&#13;&#10;FAMILY HISTORY&#13;&#10;- Mother died, 67, stroke; had varicose veins, headaches, hypertension&#13;&#10;- Father died, 43, train accident&#13;&#10;- One brother, 56, has high blood pressure, otherwise well&#13;&#10;- One brother, 51, apparently well except for mild arthritis&#13;&#10;- Daughter, 23, �migraine headaches,� otherwise well&#13;&#10;- Son, 21, well&#13;&#10;- Son, 20, well&#13;&#10;REVIEW OF SYSTEMS:&#13;&#10;General: Has gained about 10 lb in the past 4 yr, no fatigue&#13;&#10;Skin: No rashes or other changes&#13;&#10;Head: See present illness.&#13;&#10;Eyes: Reading glasses for 5 yr, last checked 1 yr ago. No double or blurry vision&#13;&#10;Ears: Hearing good. No tinnitus, vertigo, infections&#13;&#10;Nose, Sinuses: occasional mild cold. No hay fever, sinus trouble&#13;&#10;Mouth and Throat: Last to dentist 2 yr ago. Occasional canker sore&#13;&#10;Neck: No lumps, goiter, pain&#13;&#10;Breasts
 : No lumps, pain, discharge.&#13;&#10;Respiratory: No cough, wheezing, shortness of breath, pneumonia, tuberculosis.&#13;&#10;Cardiac: No known heart disease. No orthopnea, chest pain, palpitations.&#13;&#10;Gastrointestinal: Appetite good; no reflux. Bowel movement about once daily though&#13;&#10;sometimes has hard stools for 2-3 d when especially tense; no diarrhea or&#13;&#10;bleeding. No pain, jaundice, gallbladder or liver trouble&#13;&#10;Urinary: No frequency, dysuria, hematuria or flank pain&#13;&#10;Genitoreproductive: Regular menstrual periods. No vaginal discharge or itch&#13;&#10;Musculoskeletal: Mild aching low back pain often after a long day�s work; no radiation&#13;&#10;down legs; used to do back exercises, but not now. No other joint pain&#13;&#10;Patient Centered Medicine 2&#13;&#10;Peripheral Vascular: Varicose veins appeared in both legs during first pregnancy. Has had&#13;&#10;swollen ankles after prolonged standing for 10 yr; no history of&#13;&#1
 0;phlebitis or leg pain&#13;&#10;Neurological: No fainting, seizures, tremors, weakness, or tingling. Memory good&#13;&#10;Psychiatric: No anxiety or nervousness or depression&#13;&#10;Endocrine: No known thyroid trouble, temperature intolerance. Sweating average. No&#13;&#10;symptoms or history of diabetes&#13;&#10;Hematologic: No easy bleeding. No anemia&#13;&#10;Adapted from Bates� Guide to Physical Examination and History Taking, Chapter 21, The Patient�s Record, pp. 722-&#13;&#10;726"/>
+    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 7/27/99&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;“Bad headaches”&#13;&#10;HISTORY OF PRESENT ILLNESS &#13;&#10;Patient Perspective&#13;&#10;She thinks her headaches may be like those in the past. However, she now has high blood&#13;&#10;pressure and is concerned because her mother had high blood pressure and died of a&#13;&#10;stroke. She is also concerned that they make her irritable with her family.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Illnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and d
 eveloped a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;2 Revised: 7/27/99&#13;&#10;Psychiatric Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;CURRENT HEALTH STATUS&#13;&#10;Medications&#13;&#10;Aspirin for headaches&#13;&#10;Multivitamin 1 per day&#13;&#10;Hydrochlorothiazide 25 mg per day (x 7 years)&#13;&#10;No herbs or supplements&#13;&#10;Allergies/Drug Reactions&#13;&#10;Ampicillin causes rash&#13;&#10;Health Screening&#13;&#10;- Last pap smear 2000, normal.&#13;&#10;- Normal mammogram in 2000.&#13;&#10;- Does breast self-exams monthly&#13;&#10;- Cholesterol = 220 (in 2000
 )&#13;&#10;Diet, Sleep, Exercise&#13;&#10;- Diet – Low in calcium with little milk or cheese. She frequently eats mid-morning and&#13;&#10;evening snacks that are high in fat. She does follow a low salt diet.&#13;&#10;- Sleep – Generally good, average 7 hr&#13;&#10;- Exercise – “No time”&#13;&#10;Habits&#13;&#10;- Alcohol – Rare drink (wine) only, no history of abuse&#13;&#10;- Drugs – Never tried illegal drugs&#13;&#10;Alternative Therapies&#13;&#10;None&#13;&#10;Patient Centered Medicine 2&#13;&#10;PSYCHOSOCIAL HISTORY&#13;&#10;- 4 yr ago her husband died suddenly of heart attack, leaving little savings and no&#13;&#10;insurance.&#13;&#10;- Lives alone, recently moved to a small apartment to be near daughter&#13;&#10;- Cosmetic saleswoman for 15 years at Sears. Likes her job but feels stressed by demands&#13;&#10;from the new manager&#13;&#10;- Not sexually active since the death of her husband who was her only partner&#13;&#10;- Denies d
 epression&#13;&#10;- Feels safe at work and home&#13;&#10;FAMILY HISTORY&#13;&#10;- Mother died, 67, stroke; had varicose veins, headaches, hypertension&#13;&#10;- Father died, 43, train accident&#13;&#10;- One brother, 56, has high blood pressure, otherwise well&#13;&#10;- One brother, 51, apparently well except for mild arthritis&#13;&#10;- Daughter, 23, “migraine headaches,” otherwise well&#13;&#10;- Son, 21, well&#13;&#10;- Son, 20, well&#13;&#10;REVIEW OF SYSTEMS:&#13;&#10;General: Has gained about 10 lb in the past 4 yr, no fatigue&#13;&#10;Skin: No rashes or other changes&#13;&#10;Head: See present illness.&#13;&#10;Eyes: Reading glasses for 5 yr, last checked 1 yr ago. No double or blurry vision&#13;&#10;Ears: Hearing good. No tinnitus, vertigo, infections&#13;&#10;Nose, Sinuses: occasional mild cold. No hay fever, sinus trouble&#13;&#10;Mouth and Throat: Last to dentist 2 yr ago. Occasional canker sore&#13;&#10;Neck: No lumps, goiter, pain&#13;&#10;Breasts
 : No lumps, pain, discharge.&#13;&#10;Respiratory: No cough, wheezing, shortness of breath, pneumonia, tuberculosis.&#13;&#10;Cardiac: No known heart disease. No orthopnea, chest pain, palpitations.&#13;&#10;Gastrointestinal: Appetite good; no reflux. Bowel movement about once daily though&#13;&#10;sometimes has hard stools for 2-3 d when especially tense; no diarrhea or&#13;&#10;bleeding. No pain, jaundice, gallbladder or liver trouble&#13;&#10;Urinary: No frequency, dysuria, hematuria or flank pain&#13;&#10;Genitoreproductive: Regular menstrual periods. No vaginal discharge or itch&#13;&#10;Musculoskeletal: Mild aching low back pain often after a long day’s work; no radiation&#13;&#10;down legs; used to do back exercises, but not now. No other joint pain&#13;&#10;Patient Centered Medicine 2&#13;&#10;Peripheral Vascular: Varicose veins appeared in both legs during first pregnancy. Has had&#13;&#10;swollen ankles after prolonged standing for 10 yr; no history of&#13;&#1
 0;phlebitis or leg pain&#13;&#10;Neurological: No fainting, seizures, tremors, weakness, or tingling. Memory good&#13;&#10;Psychiatric: No anxiety or nervousness or depression&#13;&#10;Endocrine: No known thyroid trouble, temperature intolerance. Sweating average. No&#13;&#10;symptoms or history of diabetes&#13;&#10;Hematologic: No easy bleeding. No anemia&#13;&#10;Adapted from Bates’ Guide to Physical Examination and History Taking, Chapter 21, The Patient’s Record, pp. 722-&#13;&#10;726"/>
     <org.apache.ctakes.typesystem.type.structured.DocumentID _indexed="1" _id="1" documentID="doc1_07543210_sample_unknown.txt"/>
     <uima.tcas.DocumentAnnotation _indexed="1" _id="10" _ref_sofa="3" begin="0" end="4444" language="x-unspecified"/>
     <org.apache.ctakes.typesystem.type.textspan.Segment _indexed="1" _id="15" _ref_sofa="3" begin="0" end="4444" id="SIMPLE_SEGMENT"/>

Modified: ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_current.txt.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_current.txt.xml?rev=1491916&r1=1491915&r2=1491916&view=diff
==============================================================================
--- ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_current.txt.xml (original)
+++ ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_current.txt.xml Tue Jun 11 19:23:17 2013
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CAS version="2">
-    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 7/27/99&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;�Bad headaches�&#13;&#10;HISTORY OF PRESENT ILLNESS (HPI, Problem by problem)&#13;&#10;For about 3 months Mrs. M. has been increasingly troubled by headaches that are rightsided,&#13;&#10;usually throbbing, and can range from mild to moderately severe. Typically her&#13;&#10;headaches are rated at 4 over 10. She recently had a severe headache that she rated 8 over&#13;&#10;10 and missed work because of this headache. This was associated with nausea and&#13;&#10;vomiting. Headaches have increased in frequency and now average once a wk. The&#13;&#10;headaches usually last from 2 to 4 hours. However, the most recent headache, which was&#13;&#10;the
  most severe, lasted almost 8 hours. During a headache bright lights bother her and she&#13;&#10;just wants to lie down in a dark quiet room and fall asleep. Aspirin provides little relief.&#13;&#10;She has not noticed any association with food or drink. She has no other related symptoms,&#13;&#10;such as fever, dental pain, weakness, numbness or loss of vision. There is no history of head&#13;&#10;injury or trauma. She remembers having a similar kind of headache with nausea and&#13;&#10;vomiting that began at age 15, recurred through her mid-20s, then diminished to one every&#13;&#10;2 or 3 months and disappeared.&#13;&#10;Patient Perspective&#13;&#10;She thinks her headaches may be like those in the past. However, she now has high blood&#13;&#10;pressure and is concerned because her mother had high blood pressure and died of a&#13;&#10;stroke. She is also concerned that they make her irritable with her family.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Il
 lnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and developed a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;2 Revised: 7/27/99&#13;&#10;Psychiatric Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;CURRENT HEALTH STATUS&#13;&#10;Medications&#13;&#10;Aspirin for headaches&#13;&#10;Multivitamin 1 per day&#13;&#10;Hydrochlorothiazide 25 mg per day (x 7 years)&#13;&#10;No herbs or supplements&#13;&#10;Aller
 gies/Drug Reactions&#13;&#10;Ampicillin causes rash&#13;&#10;Health Screening&#13;&#10;- Last pap smear 2000, normal.&#13;&#10;- Normal mammogram in 2000.&#13;&#10;- Does breast self-exams monthly&#13;&#10;- Cholesterol = 220 (in 2000)&#13;&#10;Diet, Sleep, Exercise&#13;&#10;- Diet � Low in calcium with little milk or cheese. She frequently eats mid-morning and&#13;&#10;evening snacks that are high in fat. She does follow a low salt diet.&#13;&#10;- Sleep � Generally good, average 7 hr&#13;&#10;- Exercise � �No time�&#13;&#10;Habits&#13;&#10;- Tobacco � 1 pack cigs per day from age 18&#13;&#10;- Alcohol � Rare drink (wine) only, no history of abuse&#13;&#10;- Drugs � Never tried illegal drugs&#13;&#10;Alternative Therapies&#13;&#10;None&#13;&#10;Patient Centered Medicine 2&#13;&#10;PSYCHOSOCIAL HISTORY&#13;&#10;- 4 yr ago her husband died suddenly of heart attack, leaving little savings and no&#13;&#10;insurance.&#13;&#10;- Lives alone
 , recently moved to a small apartment to be near daughter&#13;&#10;- Cosmetic saleswoman for 15 years at Sears. Likes her job but feels stressed by demands&#13;&#10;from the new manager&#13;&#10;- Not sexually active since the death of her husband who was her only partner&#13;&#10;- Denies depression&#13;&#10;- Feels safe at work and home&#13;&#10;FAMILY HISTORY&#13;&#10;- Mother died, 67, stroke; had varicose veins, headaches, hypertension&#13;&#10;- Father died, 43, train accident&#13;&#10;- One brother, 56, has high blood pressure, otherwise well&#13;&#10;- One brother, 51, apparently well except for mild arthritis&#13;&#10;- Daughter, 23, �migraine headaches,� otherwise well&#13;&#10;- Son, 21, well&#13;&#10;- Son, 20, well&#13;&#10;REVIEW OF SYSTEMS:&#13;&#10;General: Has gained about 10 lb in the past 4 yr, no fatigue&#13;&#10;Skin: No rashes or other changes&#13;&#10;Head: See present illness.&#13;&#10;Eyes: Reading glasses for 5 yr, last checked 1 yr ago. N
 o double or blurry vision&#13;&#10;Ears: Hearing good. No tinnitus, vertigo, infections&#13;&#10;Nose, Sinuses: occasional mild cold. No hay fever, sinus trouble&#13;&#10;Mouth and Throat: Last to dentist 2 yr ago. Occasional canker sore&#13;&#10;Neck: No lumps, goiter, pain&#13;&#10;Breasts: No lumps, pain, discharge.&#13;&#10;Respiratory: No cough, wheezing, shortness of breath, pneumonia, tuberculosis.&#13;&#10;Cardiac: No known heart disease. No orthopnea, chest pain, palpitations.&#13;&#10;Gastrointestinal: Appetite good; no reflux. Bowel movement about once daily though&#13;&#10;sometimes has hard stools for 2-3 d when especially tense; no diarrhea or&#13;&#10;bleeding. No pain, jaundice, gallbladder or liver trouble&#13;&#10;Urinary: No frequency, dysuria, hematuria or flank pain&#13;&#10;Genitoreproductive: Regular menstrual periods. No vaginal discharge or itch&#13;&#10;Musculoskeletal: Mild aching low back pain often after a long day�s work; no radiation&#13;&
 #10;down legs; used to do back exercises, but not now. No other joint pain&#13;&#10;Patient Centered Medicine 2&#13;&#10;Peripheral Vascular: Varicose veins appeared in both legs during first pregnancy. Has had&#13;&#10;swollen ankles after prolonged standing for 10 yr; no history of&#13;&#10;phlebitis or leg pain&#13;&#10;Neurological: No fainting, seizures, tremors, weakness, or tingling. Memory good&#13;&#10;Psychiatric: No anxiety or nervousness or depression&#13;&#10;Endocrine: No known thyroid trouble, temperature intolerance. Sweating average. No&#13;&#10;symptoms or history of diabetes&#13;&#10;Hematologic: No easy bleeding. No anemia&#13;&#10;Adapted from Bates� Guide to Physical Examination and History Taking, Chapter 21, The Patient�s Record, pp. 722-&#13;&#10;726"/>
+    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 7/27/99&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;“Bad headaches”&#13;&#10;HISTORY OF PRESENT ILLNESS (HPI, Problem by problem)&#13;&#10;For about 3 months Mrs. M. has been increasingly troubled by headaches that are rightsided,&#13;&#10;usually throbbing, and can range from mild to moderately severe. Typically her&#13;&#10;headaches are rated at 4 over 10. She recently had a severe headache that she rated 8 over&#13;&#10;10 and missed work because of this headache. This was associated with nausea and&#13;&#10;vomiting. Headaches have increased in frequency and now average once a wk. The&#13;&#10;headaches usually last from 2 to 4 hours. However, the most recent headache, which was&#13;&#10;the
  most severe, lasted almost 8 hours. During a headache bright lights bother her and she&#13;&#10;just wants to lie down in a dark quiet room and fall asleep. Aspirin provides little relief.&#13;&#10;She has not noticed any association with food or drink. She has no other related symptoms,&#13;&#10;such as fever, dental pain, weakness, numbness or loss of vision. There is no history of head&#13;&#10;injury or trauma. She remembers having a similar kind of headache with nausea and&#13;&#10;vomiting that began at age 15, recurred through her mid-20s, then diminished to one every&#13;&#10;2 or 3 months and disappeared.&#13;&#10;Patient Perspective&#13;&#10;She thinks her headaches may be like those in the past. However, she now has high blood&#13;&#10;pressure and is concerned because her mother had high blood pressure and died of a&#13;&#10;stroke. She is also concerned that they make her irritable with her family.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Il
 lnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and developed a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;2 Revised: 7/27/99&#13;&#10;Psychiatric Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;CURRENT HEALTH STATUS&#13;&#10;Medications&#13;&#10;Aspirin for headaches&#13;&#10;Multivitamin 1 per day&#13;&#10;Hydrochlorothiazide 25 mg per day (x 7 years)&#13;&#10;No herbs or supplements&#13;&#10;Aller
 gies/Drug Reactions&#13;&#10;Ampicillin causes rash&#13;&#10;Health Screening&#13;&#10;- Last pap smear 2000, normal.&#13;&#10;- Normal mammogram in 2000.&#13;&#10;- Does breast self-exams monthly&#13;&#10;- Cholesterol = 220 (in 2000)&#13;&#10;Diet, Sleep, Exercise&#13;&#10;- Diet – Low in calcium with little milk or cheese. She frequently eats mid-morning and&#13;&#10;evening snacks that are high in fat. She does follow a low salt diet.&#13;&#10;- Sleep – Generally good, average 7 hr&#13;&#10;- Exercise – “No time”&#13;&#10;Habits&#13;&#10;- Tobacco – 1 pack cigs per day from age 18&#13;&#10;- Alcohol – Rare drink (wine) only, no history of abuse&#13;&#10;- Drugs – Never tried illegal drugs&#13;&#10;Alternative Therapies&#13;&#10;None&#13;&#10;Patient Centered Medicine 2&#13;&#10;PSYCHOSOCIAL HISTORY&#13;&#10;- 4 yr ago her husband died suddenly of heart attack, leaving little savings and no&#13;&#10;insurance.&#13;&#10;- Lives alone
 , recently moved to a small apartment to be near daughter&#13;&#10;- Cosmetic saleswoman for 15 years at Sears. Likes her job but feels stressed by demands&#13;&#10;from the new manager&#13;&#10;- Not sexually active since the death of her husband who was her only partner&#13;&#10;- Denies depression&#13;&#10;- Feels safe at work and home&#13;&#10;FAMILY HISTORY&#13;&#10;- Mother died, 67, stroke; had varicose veins, headaches, hypertension&#13;&#10;- Father died, 43, train accident&#13;&#10;- One brother, 56, has high blood pressure, otherwise well&#13;&#10;- One brother, 51, apparently well except for mild arthritis&#13;&#10;- Daughter, 23, “migraine headaches,” otherwise well&#13;&#10;- Son, 21, well&#13;&#10;- Son, 20, well&#13;&#10;REVIEW OF SYSTEMS:&#13;&#10;General: Has gained about 10 lb in the past 4 yr, no fatigue&#13;&#10;Skin: No rashes or other changes&#13;&#10;Head: See present illness.&#13;&#10;Eyes: Reading glasses for 5 yr, last checked 1 yr ago. N
 o double or blurry vision&#13;&#10;Ears: Hearing good. No tinnitus, vertigo, infections&#13;&#10;Nose, Sinuses: occasional mild cold. No hay fever, sinus trouble&#13;&#10;Mouth and Throat: Last to dentist 2 yr ago. Occasional canker sore&#13;&#10;Neck: No lumps, goiter, pain&#13;&#10;Breasts: No lumps, pain, discharge.&#13;&#10;Respiratory: No cough, wheezing, shortness of breath, pneumonia, tuberculosis.&#13;&#10;Cardiac: No known heart disease. No orthopnea, chest pain, palpitations.&#13;&#10;Gastrointestinal: Appetite good; no reflux. Bowel movement about once daily though&#13;&#10;sometimes has hard stools for 2-3 d when especially tense; no diarrhea or&#13;&#10;bleeding. No pain, jaundice, gallbladder or liver trouble&#13;&#10;Urinary: No frequency, dysuria, hematuria or flank pain&#13;&#10;Genitoreproductive: Regular menstrual periods. No vaginal discharge or itch&#13;&#10;Musculoskeletal: Mild aching low back pain often after a long day’s work; no radiation&#13;&
 #10;down legs; used to do back exercises, but not now. No other joint pain&#13;&#10;Patient Centered Medicine 2&#13;&#10;Peripheral Vascular: Varicose veins appeared in both legs during first pregnancy. Has had&#13;&#10;swollen ankles after prolonged standing for 10 yr; no history of&#13;&#10;phlebitis or leg pain&#13;&#10;Neurological: No fainting, seizures, tremors, weakness, or tingling. Memory good&#13;&#10;Psychiatric: No anxiety or nervousness or depression&#13;&#10;Endocrine: No known thyroid trouble, temperature intolerance. Sweating average. No&#13;&#10;symptoms or history of diabetes&#13;&#10;Hematologic: No easy bleeding. No anemia&#13;&#10;Adapted from Bates’ Guide to Physical Examination and History Taking, Chapter 21, The Patient’s Record, pp. 722-&#13;&#10;726"/>
     <org.apache.ctakes.typesystem.type.structured.DocumentID _indexed="1" _id="1" documentID="doc2_07543210_sample_current.txt"/>
     <uima.tcas.DocumentAnnotation _indexed="1" _id="10" _ref_sofa="3" begin="0" end="5608" language="x-unspecified"/>
     <org.apache.ctakes.typesystem.type.textspan.Segment _indexed="1" _id="15" _ref_sofa="3" begin="0" end="5608" id="SIMPLE_SEGMENT"/>

Modified: ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_past_smoker.txt.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_past_smoker.txt.xml?rev=1491916&r1=1491915&r2=1491916&view=diff
==============================================================================
--- ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_past_smoker.txt.xml (original)
+++ ctakes/trunk/ctakes-regression-test/testdata/expectedoutput/POSTaggerCPETest/doc2_07543210_sample_past_smoker.txt.xml Tue Jun 11 19:23:17 2013
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CAS version="2">
-    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 2/7/10&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;�Insomnia�&#13;&#10;HISTORY OF PRESENT ILLNESS &#13;&#10;She is also concerned that they make her irritable with her family.  She isn't sleeping well, since she quit smoking cigs.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Illnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and developed a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;Psychiatric 
 Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Habits&#13;&#10;tobacco : quit.&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;"/>
+    <uima.cas.Sofa _indexed="0" _id="3" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="Patient Centered Medicine 2&#13;&#10;Revised: 2/7/10&#13;&#10;DATA BASE: SAMPLE HISTORY&#13;&#10;IDENTIFYING DATA &#13;&#10;CM is a 45-year-old, widowed, white saleswoman, born in the U.S.&#13;&#10;CHIEF COMPLAINT&#13;&#10;“Insomnia”&#13;&#10;HISTORY OF PRESENT ILLNESS &#13;&#10;She is also concerned that they make her irritable with her family.  She isn't sleeping well, since she quit smoking cigs.&#13;&#10;PAST MEDICAL HISTORY&#13;&#10;Significant Childhood Illnesses&#13;&#10;Only measles and chickenpox&#13;&#10;Immunizations&#13;&#10;Last tetanus 1998&#13;&#10;Flu vaccine last November&#13;&#10;Adult Illnesses/Hospitalizations&#13;&#10;- Kidney infection 1982 treated with ampicillin and developed a generalized rash.&#13;&#10;- Hypertension x 7 years, well controlled with home BPs normally 120-130/low 80s&#13;&#10;Patient Centered Medicine 2&#13;&#10;Psychiatric 
 Illnesses/Hospitalizations&#13;&#10;None&#13;&#10;Operations&#13;&#10;Tonsillectomy, age 6,&#13;&#10;Appendectomy, age 13&#13;&#10;Habits&#13;&#10;tobacco : quit.&#13;&#10;Injuries/Accidents&#13;&#10;1998 foot laceration, 4 stitches&#13;&#10;Obstetric History&#13;&#10;G3, P3, 3 living children. Menarche age 12. Last menses 2 weeks ago.&#13;&#10;Transfusions&#13;&#10;None&#13;&#10;"/>
     <org.apache.ctakes.typesystem.type.structured.DocumentID _indexed="1" _id="1" documentID="doc2_07543210_sample_past_smoker.txt"/>
     <uima.tcas.DocumentAnnotation _indexed="1" _id="10" _ref_sofa="3" begin="0" end="1004" language="x-unspecified"/>
     <org.apache.ctakes.typesystem.type.textspan.Segment _indexed="1" _id="15" _ref_sofa="3" begin="0" end="1004" id="SIMPLE_SEGMENT"/>