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 2014/04/18 21:48:35 UTC

svn commit: r1588552 [41/42] - in /ctakes/sandbox/ctakes-web-client: ./ .settings/ WebContent/ WebContent/META-INF/ WebContent/WEB-INF/ WebContent/WEB-INF/lib/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org...

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/boundaryData.txt
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/boundaryData.txt?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/boundaryData.txt (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/boundaryData.txt Fri Apr 18 19:47:21 2014
@@ -0,0 +1,22 @@
+but
+however
+nevertheless
+notwithstanding
+though
+although
+if
+when
+how
+what
+which
+while
+since
+then
+i
+he
+she
+they
+we
+;
+.
+)
\ No newline at end of file

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/boundaryData.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/negationContradictionWords.txt
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/negationContradictionWords.txt?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/negationContradictionWords.txt (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/negationContradictionWords.txt Fri Apr 18 19:47:21 2014
@@ -0,0 +1,8 @@
+quit
+quits
+stop
+stops
+stopped
+discontinue
+discontinues
+discontinued
\ No newline at end of file

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/context/negationContradictionWords.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/nonsmoker.dictionary
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/nonsmoker.dictionary?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/nonsmoker.dictionary (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/nonsmoker.dictionary Fri Apr 18 19:47:21 2014
@@ -0,0 +1,4 @@
+non-smoker
+nonsmoker
+non-smoking
+nonsmoking

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/smoker.dictionary
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/smoker.dictionary?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/smoker.dictionary (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/data/smoker.dictionary Fri Apr 18 19:47:21 2014
@@ -0,0 +1,15 @@
+smoke
+smokes
+smoked
+smoking
+smoker
+tobacco
+tobaccos
+tob
+nicotine
+cigar
+cigars
+cig
+cigs
+cigarette
+cigarettes
\ No newline at end of file

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml Fri Apr 18 19:47:21 2014
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+	<name>org.apache.ctakes.smokingstatus.types.TypeSystem</name>
+	<description />
+	<version>1.0</version>
+	<vendor />
+	<imports>
+		<import name="org.apache.ctakes.typesystem.types.TypeSystem" />
+	</imports>
+	<types>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.i2b2.type.RecordSentence</name>
+			<description>Represents a single sentence from an I2B2 record.
+			</description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>recordID</name>
+					<description>ID of record that this sentence belongs to.
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>classification</name>
+					<description>Smoking status classification for the given sentence.
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordTextBegin</name>
+					<description>Begin offset of the sentence relative to the entire
+						record text.
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordTextEnd</name>
+					<description>End offset of the sentence relative to the entire
+						record text.
+					</description>
+					<rangeTypeName>uima.cas.Integer</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.SmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.NonSmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.SmokingDocumentClassification
+			</name>
+			<description>Represents classification related to the document
+			</description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>classification</name>
+					<description>represents the document level classification that
+						RecordResolutionAnnotator assigns
+					</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+				<featureDescription>
+					<name>recordID</name>
+					<description>Represents the document record id</description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.UnknownSmokerNamedEntityAnnotation
+			</name>
+			<description />
+			<supertypeName>org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
+			</supertypeName>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.NumericAttributeValue
+			</name>
+			<description>Corresponds to the ARFF numeric attributes.
+			</description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>numericValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</name>
+			<description></description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>attributeName</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.NominalAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>nominalValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.StringAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>attributeStringValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.DateAttributeValue
+			</name>
+			<description></description>
+			<supertypeName>org.apache.ctakes.smokingstatus.type.libsvm.AttributeValue
+			</supertypeName>
+			<features>
+				<featureDescription>
+					<name>dateValue</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+		<typeDescription>
+			<name>org.apache.ctakes.smokingstatus.type.libsvm.DocumentID</name>
+			<description></description>
+			<supertypeName>uima.tcas.Annotation</supertypeName>
+			<features>
+				<featureDescription>
+					<name>documentID</name>
+					<description></description>
+					<rangeTypeName>uima.cas.String</rangeTypeName>
+				</featureDescription>
+			</features>
+		</typeDescription>
+	</types>
+</typeSystemDescription>

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml Fri Apr 18 19:47:21 2014
@@ -0,0 +1,408 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : mayo_sections.xml.xml
+    Created on : June 15, 2012, 5:34 PM
+    Author     : ROBYN
+    Description:
+        creates a translation for the MITRE Zoner from Mayo section headers
+        to MITRE sections
+-->
+
+<root>
+<sections>
+  <!-- ADDENDUM --> 
+  <section>
+    <regex>((addendum)\s*\:)</regex>
+    <label>addendum</label>
+  </section>
+  <!-- Revision History -->
+  <section>
+    <regex>(\[start section id=\"20100\"\])</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- Referral Source -->
+  <section>
+    <regex>(\[start section id=\"20101\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Chief Complaint / Reason for Visit -->
+  <section>
+    <regex>(\[start section id=\"20102\"\])</regex>
+    <label>chief complaint</label>
+  </section>
+  <!-- History of Present Illness -->
+  <section>
+    <regex>(\[start section id=\"20103\"\])</regex>
+    <label>history of present illness</label>
+  </section>
+  <!-- Current Medications -->
+  <section>
+    <regex>(\[start section id=\"20104\"\])</regex>
+    <label>medication</label>
+  </section>
+  <!-- Allergies -->
+  <section>
+    <regex>(\[start section id=\"20105\"\])</regex>
+    <label>allergy</label>
+  </section>
+  <!-- System Reviews -->
+  <section>
+    <regex>(\[start section id=\"20106\"\])</regex>
+    <label>review of systems</label>
+  </section>
+  <!-- Past Medical / Surgical History -->
+  <section>
+    <regex>(\[start section id=\"20107\"\])</regex>
+    <label>past medical history</label>
+  </section>
+  <!-- Social History -->
+  <section>
+    <regex>(\[start section id=\"20108\"\])</regex>
+    <label>social history</label>
+  </section>
+  <!-- Family History  -->
+  <section>
+    <regex>(\[start section id=\"20109\"\])</regex>
+    <label>family history</label>
+  </section>
+  <!-- Vital Signs -->
+  <section>
+    <regex>(\[start section id=\"20110\"\])</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- Physical Examination -->
+  <section>
+    <regex>(\[start section id=\"20111\"\])</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- Impression / Report / Plan -->
+  <section>
+    <regex>(\[start section id=\"20112\"\])</regex>
+    <label>impression/plan</label>
+  </section>
+  <!-- Diagnosis -->
+  <section>
+    <regex>(\[start section id=\"20113\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Administrative -->
+  <section>
+    <regex>(\[start section id=\"20114\"\])</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- Special Instructions -->
+  <section>
+    <regex>(\[start section id=\"20115\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Advance Directives -->
+  <section>
+    <regex>(\[start section id=\"20116\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Service Contributors   -->
+  <section>
+    <regex>(\[start section id=\"20117\"\])</regex>
+    <label>service specialty</label>
+  </section>
+  <!-- Immunizations -->
+  <section>
+    <regex>(\[start section id=\"20118\"\])</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- Admission Findings / Test Results  -->
+  <section>
+    <regex>(\[start section id=\"20119\"\])</regex>
+    <label>clinical findings</label>
+  </section>
+  <!-- Problem Oriented Hosp. Course (I/O/P) -->
+  <section>
+    <regex>(\[start section id=\"20120\"\])</regex>
+    <label>hospital course</label>
+  </section>
+  <!-- Final Physical Examination -->
+  <section>
+    <regex>(\[start section id=\"20121\"\])</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- Adverse Reactions  -->
+  <section>
+    <regex>(\[start section id=\"20122\"\])</regex>
+    <label>complications</label>
+  </section>
+  <!-- Diet / Nutrition -->
+  <section>
+    <regex>(\[start section id=\"20123\"\])</regex>
+    <label>diet</label>
+  </section>
+  <!-- Discharge Condition  -->
+  <section>
+    <regex>(\[start section id=\"20124\"\])</regex>
+    <label>condition</label>
+  </section>
+  <!-- Condition at Discharge -->
+  <section>
+    <regex>(\[start section id=\"20125\"\])</regex>
+    <label>condition</label>
+  </section>
+  <!-- Ongoing Care Orders   -->
+  <section>
+    <regex>(\[start section id=\"20126\"\])</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- Admission Physical Exam -->
+  <section>
+    <regex>(\[start section id=\"20127\"\])</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- Ongoing Care -->
+  <section>
+    <regex>(\[start section id=\"20128\"\])</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- Follow Up Agreements -->
+  <section>
+    <regex>(\[start section id=\"20129\"\])</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- PFH and CVI Dates -->
+  <section>
+    <regex>(\[start section id=\"20130\"\])</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- there is no 20131 -->
+  <!-- Findings/Procedures/Surgeries -->
+  <section>
+    <regex>(\[start section id=\"20132\"\])</regex>
+    <label>operations/procedures</label>
+  </section>
+  <!-- Admission Medications  -->
+  <section>
+    <regex>(\[start section id=\"20133\"\])</regex>
+    <label>medication</label>
+  </section>
+  <!-- Discharge Activity -->
+  <section>
+    <regex>(\[start section id=\"20134\"\])</regex>
+    <label>discharge activity</label>
+  </section>
+  <!-- Anticipated Problems and Suggested Interventions -->
+  <section>
+    <regex>(\[start section id=\"20135\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Post op services related to Surgical Procedure -->
+  <section>
+    <regex>(\[start section id=\"20136\"\])</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- EMTALA Statement -->
+  <section>
+    <regex>(\[start section id=\"20137\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Patient Education -->
+  <section>
+    <regex>(\[start section id=\"20138\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Principle Diagnosis -->
+  <section>
+    <regex>(\[start section id=\"20139\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Secondary Diagnoses -->
+  <section>
+    <regex>(\[start section id=\"20140\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Final Pathology Diagnosis -->
+  <section>
+    <regex>(\[start section id=\"20141\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Supervisor Present -->
+  <section>
+    <regex>(\[start section id=\"20142\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Pre-Procedure Information -->
+  <section>
+    <regex>(\[start section id=\"20143\"\])</regex>
+    <label>procedure description</label>
+  </section>
+  <!-- Precedure Information -->
+  <section>
+    <regex>(\[start section id=\"20144\"\])</regex>
+    <label>procedure description</label>
+  </section>
+  <!-- Subjective -->
+  <section>
+    <regex>(\[start section id=\"20145\"\])</regex>
+    <label>subjective</label>
+  </section>
+  <!-- Labs -->
+  <section>
+    <regex>(\[start section id=\"20146\"\])</regex>
+    <label>laboratory</label>
+  </section>
+  <!-- Wound -->
+  <section>
+    <regex>(\[start section id=\"20147\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Informed Consent  -->
+  <section>
+    <regex>(\[start section id=\"20148\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Post-Procedure Film -->
+  <section>
+    <regex>(\[start section id=\"20149\"\])</regex>
+    <label>radiology</label>
+  </section>
+  <!-- Patient Disposition -->
+  <section>
+    <regex>(\[start section id=\"20150\"\])</regex>
+    <label>disposition</label>
+  </section>
+  <!-- Specimins Removed -->
+  <section>
+    <regex>(\[start section id=\"20151\"\])</regex>
+    <label>laboratory</label>
+  </section>
+  <!-- Findings   -->
+  <section>
+    <regex>(\[start section id=\"20152\"\])</regex>
+    <label>clinical findings</label>
+  </section>
+  <!-- Primary Surgeon(s) -->
+  <section>
+    <regex>(\[start section id=\"20153\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Assistants -->
+  <section>
+    <regex>(\[start section id=\"20154\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Complications -->
+  <section>
+    <regex>(\[start section id=\"20155\"\])</regex>
+    <label>complications</label>
+  </section>
+  <!-- Drains -->
+  <section>
+    <regex>(\[start section id=\"20156\"\])</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- Anesthesia  -->
+  <section>
+    <regex>(\[start section id=\"20157\"\])</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- Fluids -->
+  <section>
+    <regex>(\[start section id=\"20158\"\])</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- Estimated Blood Loss -->
+  <section>
+    <regex>(\[start section id=\"20159\"\])</regex>
+    <label>clinical findings</label>
+  </section>
+  <!-- Prescriptions -->
+  <section>
+    <regex>(\[start section id=\"20160\"\])</regex>
+    <label>medication</label>
+  </section>
+  <!-- Follow-Up Letter -->
+  <section>
+    <regex>(\[start section id=\"20161\"\])</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- May Return to Work -->
+  <section>
+    <regex>(\[start section id=\"20162\"\])</regex>
+    <label>work return</label>
+  </section>
+  <!-- Instructions to Include   -->
+  <section>
+    <regex>(\[start section id=\"20163\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- Procedure Performed and Description -->
+  <section>
+    <regex>(\[start section id=\"20164\"\])</regex>
+    <label>procedure description</label>
+  </section>
+  <!-- Post-Procedure Diagnosis -->
+  <section>
+    <regex>(\[start section id=\"20165\"\])</regex>
+    <label>diagnoses</label>
+  </section>
+  <!-- Reason for Transfer -->
+  <section>
+    <regex>(\[start section id=\"20166\"\])</regex>
+    <label>reason for hospitalization</label>
+  </section>
+  <!-- Condition at Transfer   -->
+  <section>
+    <regex>(\[start section id=\"20167\"\])</regex>
+    <label>condition</label>
+  </section>
+  <!-- Summary of Care -->
+  <section>
+    <regex>(\[start section id=\"20168\"\])</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- Physician Attestation -->
+  <section>
+    <regex>(\[start section id=\"20169\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Brief Hospital Course -->
+  <section>
+    <regex>(\[start section id=\"20170\"\])</regex>
+    <label>hospital course</label>
+  </section>
+  <!-- there is no 20171 -->
+  <!-- Condition at Discharge -->
+  <section>
+    <regex>(\[start section id=\"20172\"\])</regex>
+    <label>condition</label>
+  </section>
+  <!-- Discharge Disposition   -->
+  <section>
+    <regex>(\[start section id=\"20173\"\])</regex>
+    <label>disposition</label>
+  </section>
+  <!-- Contact Information -->
+  <section>
+    <regex>(\[start section id=\"20174\"\])</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- Service Contributor / SUM2 -->
+  <section>
+    <regex>(\[start section id=\"20175\"\])</regex>
+    <label>attending physician</label>
+  </section>
+  <!-- Instructions for Continuing care -->
+  <section>
+    <regex>(\[start section id=\"20176\"\])</regex>
+    <label>instructions</label>
+  </section>
+  <!-- There is no 20177 -->
+  <!-- Consults -->
+  <section>
+    <regex>(\[start section id=\"20178\"\])</regex>
+    <label>consultants</label>
+  </section>
+  <!-- Radiological Review -->
+  <section>
+    <regex>(\[start section id=\"20179\"\])</regex>
+    <label>radiology</label>
+  </section>
+</sections>
+</root>

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml Fri Apr 18 19:47:21 2014
@@ -0,0 +1,641 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+<fragments> 
+<!-- Modifier Components of Section Headings -->
+  <fragment>
+    <name>admit</name>
+    <expansion>(?:admit(?:ting)?|admission)</expansion>
+  </fragment>
+<fragment>
+  <name>be</name>
+  <expansion>(\s+(?:am|is|are|was|were))</expansion>
+</fragment>
+  <fragment>
+    <name>left-time-mods</name>  
+    <expansion>((?:(?:pre-)?<fragment-ref name="admit"/>|current|discharge|follow[\s+\-]?up|home|interim|initial|postpartum|(?:pre|post)op(?:erative)?|transfer)\s+)</expansion>
+  </fragment>
+  <fragment>
+    <name>left-descr-mods</name>  
+    <expansion>((?:brief(?:\s+resume\s+of)?|overall|other|additional|pertinent|relevant|(?:list\s+of\s+)?other|plan\s+for|standardized|summary\s+of|doctor(?:\s+\&apos;)?s)\s+)</expansion>
+  </fragment>
+<fragment>
+  <name>include</name>
+  <expansion>(\s+(?:include[ds]?))</expansion>
+</fragment>
+  <fragment>
+    <name>right-time-mods</name>
+    <expansion>(\s+(?:(?:(?:UP)?ON|AS|AT|\@|OF|FOR|(?:PRIOR\s+TO)|(?:DURING))\s+(?:(?:(?:THE|THAT|THIS)\s+)?(?:TIME|DAY)\s+OF\s+)?(?:ADMISSION|ADMIT|DEATH|DISCHARGE|TRANSFER|COMPLICATIONS?|HOME|HOSPITALIZATION|OUTPATIENT)))</expansion>
+  </fragment>
+  <fragment>
+    <name>right-descr-mods</name>
+    <expansion>(\s+(?:(?:by\s+(?:problems?|(?:organ\s+)?systems?|issues?|report))|(?:\s+of\s+note)))</expansion>
+  </fragment>
+  <fragment>
+    <name>right-location-mods</name>
+    <expansion>(\s+in\s+the\s+emergency\s+department)</expansion>
+  </fragment>
+<!-- Core Components of Section Headings -->
+<!--HISTORY/SUBJECTIVE-->
+  <fragment>
+    <name>allergies1</name>
+    <expansion>(?:allergies|allergy|adverse\s+drug\s+reactions?)</expansion>
+  </fragment>
+  <fragment>
+    <name>allergies2</name>
+    <expansion>(allergy(\s*\/\s*reaction)?\s+profile)</expansion>
+  </fragment>
+  <fragment>
+    <name>famhistory</name>
+    <expansion>(?:family\s+(?:(?:medical|social)\s+)?history|fhx?|fam\s+hx)</expansion>
+  </fragment>
+  <fragment>
+    <name>sochistory</name>
+    <expansion>(social\s+history|social\s+hx|\bshx?|soc\s*hx|habits)</expansion>
+  </fragment>
+<!--MEDICATIONS-->
+  <fragment>
+    <name>medication1</name>       
+    <expansion>(medications?|medication\s*\(\s*s\s*\)|regimen|treatment\s+cycle)</expansion>
+  </fragment>
+  <fragment>
+    <name>medication2</name>
+    <expansion>(meds?)</expansion>
+  </fragment>
+<!--EXAM/LAB/OBJECTIVE-->
+  <fragment>
+    <name>physicalexam1</name>
+    <expansion>((physical|surgical)(\s+exam(ination)?|\s+findings)?|\bpe|\*pe|on\s+exam(ination)?|examination\s+data)</expansion>
+  </fragment>
+  <fragment>
+    <name>physicalexam2</name>
+    <expansion>((daily|patient)\s+status)</expansion>
+  </fragment>
+<!--ASSESSMENT/DISPOSITION/PLAN/INSTRUCTIONS-->
+<!--IN-PATIENT COURSE-->
+<!--DIAGNOSIS-->
+<!--PROCEDURE/TREATMENT-->
+<!--MAYO CLINIC STYLE DATE -->
+  <fragment>
+    <name>time</name>
+    <expansion>(\d?\d\:\d\d[aApP][mM])</expansion>
+  </fragment>
+  <fragment>
+    <name>mayodate</name>
+    <expansion>(([0123])?\d(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)(\d\d)?\d\d\s+<fragment-ref name="time"/>)</expansion>
+  </fragment>
+  <fragment>
+    <name>mayodate2</name>
+    <expansion>([01]?\d/\d?\d/(\d\d)?\d\d\s+<fragment-ref name="time"/>)</expansion>
+  </fragment>
+</fragments>
+
+<!-- Section Heading Patterns -->
+<sections>
+  <!-- ADDENDUM --> 
+  <section>
+    <regex>((addendum)\s*\:)</regex>
+    <label>addendum</label>
+  </section>
+  <!-- ADMISSION DATE --> 
+  <section>
+    <regex>(?:(?:(?:admission\s+date)|(date\s+of\s+admission))\s*\:)</regex>
+    <label>admission date</label>
+  </section>
+  <!-- AGE --> 
+  <section>
+    <regex>age\s*\:</regex>
+    <label>age</label>
+  </section>
+  <!-- ALLERGY --> 
+  <section>
+    <regex>(?:(?:<fragment-ref name="allergies1"/>|<fragment-ref name="allergies2"/>)\s*\:)</regex>
+    <label>allergy</label>
+  </section>
+  <!-- APPOINTMENTS --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))?(appointments?(?:\(?:\s+s\s+\))?)\s*(?:\(\s+s\s+\))?\s*\:)</regex>
+    <label>appointments</label>
+  </section>
+  <!-- ASSESSMENT --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>|<fragment-ref name="left-descr-mods"/>)?(assessment)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>assessment</label>
+  </section>
+   <!-- ASSESSMENT/PLAN --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|<fragment-ref name="right-descr-mods"/>)?((?:assessment\s*(?:and|\&amp;|\/)\s*plan)|(?:a\s*(?:\&amp;|\/)\s*p))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>assessment/plan</label>
+  </section>
+  <!-- ATTENDING MD --> 
+  <section>
+    <regex>(?:attend(?:ing)?(?:\s+physician)?\s*\:)</regex>
+    <label>attending md</label>
+  </section>
+  <section>
+    <regex ignore-case="false">([A-Z]{2,2}\d{3,3}\/\d{4,4}\s+[A-Z]+\s+([A-Z]\.\s+)?[A-Z]+\s+\,(?:\s+(?:jr|iii)\s*\,\s*)?\s+M\.D\.)\s*\:</regex>
+    <label>attending md</label>
+  </section>
+  <!-- CHIEF COMPLAINT --> 
+  <section>
+    <regex find-all="false">(?:(?:chief\s+complaint)|(?:patient\s+states\s+complaint)\s*\:)</regex>
+    <label>chief complaint</label>
+  </section>
+  <!-- CLINICAL FINDINGS --> 
+  <section>
+    <regex>((clinical\s+findings?)\s*\:)</regex>
+    <label>clinical findings</label>
+  </section>
+  <!-- CODE STATUS --> 
+  <section>
+    <regex find-all="false">(?:((code(?:\s+status)?)\s*\:))</regex>
+    <label>code status</label>
+  </section>
+  <!-- COMMENTS --> 
+  <section>
+    <regex>(((?:additional\s+)comments)\s*\:)</regex>
+    <label>comments</label>
+  </section>
+  <!-- COMPLICATIONS --> 
+  <section>
+    <regex find-all="false">(?:((complications?)\s*\:))</regex>
+    <label>complications</label>
+  </section>
+  <!--CONDITION  --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(condition)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>condition</label>
+  </section>
+  <!-- CONSULTANTS --> 
+  <section>
+    <regex>((consultants?)\s*\:)</regex>
+    <label>consultants</label>
+  </section>
+  <!-- CONSULTATION SUMMARY --> 
+  <section>
+    <regex>((consults)\s*\:)</regex>
+    <label>consultation summary</label>
+  </section>
+  <!--DATE OF BIRTH  --> 
+  <section>
+    <regex>date\s+of\s+birth\s*\:</regex>
+    <label>date of birth</label>
+  </section>
+  <!--DATE OF EXPIRATION  --> 
+  <section>
+    <regex>date\s+of\s+expiration\s*\:</regex>
+    <label>date of expiration</label>
+  </section>
+  <!-- DIAGNOSES --> 
+  <section>
+    <regex>(((?:principal\s+discharge\s+diagnosis\s*;\s*responsible\s+after\s+study\s+for\s+causing\s+admission\s*\)\s?))\s?)</regex>
+    <label>diagnoses</label>
+  </section>
+  <section>
+    <regex>((?:other\s+diagnosis\s*;\s*conditions\s*\,\s*infections\s*,\s*complications\s*,\s*affecting\s+treatment\s*\/?\s*stay)\s?)</regex>
+    <label>diagnoses</label>
+  </section>
+  <section>
+    <regex>(((?:cause\s+of\s+death\s+and\s+)?((?:final|principal|principle|primary|associated|secondary|additional|other)\s+)?(((?:pre-)?admission|admit(?:ting)?|discharge|(?:pre|post)?operative)\s+)?(?:problems\s+and\s+)?diagnos[ei]s(?:\s*\(\s*es\s*\))?)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>diagnoses</label>
+  </section>
+   <!-- DICTATION\/AUTHOR DETAILS --> 
+  <section>
+    <regex>((?:(?:(?:entered|dictated)\s+by\b)|dictator)\s*\:)</regex>
+    <label>dictation/author details</label>
+  </section>
+  <section>
+    <regex ignore-case="false">((?:(?:[A-Z]+\.?)\s+)*[A-Z]+\s*\,\s+M\.D\.\s+DICTATING\s+FOR\s*\:)</regex>
+    <label>dictation/author details</label>
+  </section>
+  <section>
+    <regex ignore-case="false">(This\s+report\s+was\s+created\s+by\s+[A-Z])</regex>
+    <label>dictation/author details</label>
+  </section>
+  <!-- DIET --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(diet)\s*\:)</regex>
+    <label>diet</label>
+  </section>
+  <!-- DISCHARGE ACTIVITY --> 
+  <section>
+    <regex>(((?:discharge\s+)?activity)\s*\:)</regex>
+    <label>discharge activity</label>
+  </section>
+  <section>
+    <regex>(^((?:discharge\s+)?activity)\s*)(\n)</regex>
+    <label>discharge activity</label>
+  </section>
+  <!-- DISCHARGE DATE --> 
+  <section>
+    <regex>((discharge\s+date)|(date\s+of\s+discharge))\s*\:</regex>
+    <label>discharge date</label>
+  </section>
+  <!-- DISCHARGE DETAILS --> 
+  <section>
+    <regex>((discharge\s+patient\s+on)\s*\:)</regex>
+    <label>discharge details</label>
+  </section>
+   <!-- DISCHARGE ORDERS --> 
+  <section>
+    <regex>(((?:doctor\'?s\s+)?discharge\s+orders)\s*\:)</regex>
+    <label>discharge orders</label>
+  </section>
+  <!-- DISCHARGE NOTIFICATION SUMMARY --> 
+  <section>
+    <regex>(ed\s+discharge\s+notification\s*\/\s*summary)(\s+)</regex>
+    <label>discharge notification summary</label>
+  </section>
+  <!-- DISPOSITION --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(disposition)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>disposition</label>
+  </section>
+  <!-- EMERGENCY DEPARTMENT COURSE --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?((?:ed\s+course)|(?:emergency\s+department\s+course)|(?:in\s+(?:the\s+)?ed|\bed))<fragment-ref name="right-descr-mods"/>?(\s*\:|\*+))</regex>
+    <label>emergency department course</label>
+  </section>
+  <!-- EVALUATION DATE --> 
+  <section>
+    <regex>evaluation\s+date\s*\:</regex>
+    <label>evaluation date</label>
+  </section>
+   <!-- EVENTS --> 
+  <section>
+    <regex>((events)\s*\:)</regex>
+    <label>events</label>
+  </section>
+  <!-- FAMILY HISTORY --> 
+  <section>
+    <regex find-all="false">(?:(?:<fragment-ref name="famhistory"/>)\s*\:)</regex>
+    <label>family history</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:(?:FAMILY\s+HISTORY\s+[a-z]+))</regex>
+    <label>family history</label>
+  </section>
+  <!-- FOLLOW-UP --> 
+  <section>
+    <regex>((discharged?\s+wound\s+care)\s*\:)</regex>
+    <label>discharge wound care</label>
+  </section>
+  <section>
+    <regex>(((?:discharged?\s+follow[\s\-]?up(?:\s+care)?)|((?:standardized\s+)?discharge\s+orders\s+\(\s+medications\s+instructions\s+to\s+patient\s+\,\s+follow-up\s+care\s+\))|(disposition\s*\,\s+follow[\s+\-]up\s+and\s+instructions\s+to\s+patient)|(?:follow[\s\-]?up))\s*\:)</regex>
+    <label>follow-up</label>
+  </section>
+  <section>
+    <regex>((((?:discharged?\s+follow[\s\-]?up(?:\s+care)?))|((?:standardized\s+)?discharge\s+orders\s+\(\s+medications\s+instructions\s+to\s+patient\s+\,\s+follow-up\s+care\s+\))|(disposition\s*\,\s+follow[\s+\-]up\s+and\s+instructions\s+to\s+patient)|(?:follow[\s\-]?up))\s*)(\n)</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- GENDER --> 
+  <section>
+    <regex>sex\s*\:</regex>
+    <label>gender</label>
+  </section>
+  <!-- HEALTH STATUS --> 
+  <section>
+    <regex>^(health\s+status)\s*(\n)</regex>
+    <label>health status</label>
+  </section>
+  <!-- HISTORY OF PRESENT ILLNESS/REASON FOR HOSPITALIZATION --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:history\s+(?:of\s+(?:the\s+)?)?(?:present|physical)\s+illness|hpi)\s+and\s+(?:(?:history\s+and\s+)?reasons?\s+(?:for\s+)?(?:hospitalization|admission|admit))\s*\:)</regex>
+    <label>history of present illness/reason for hospitalization</label>
+  </section>
+  <section>
+    <regex find-all="false">((?:(?:history\s+and\s+)?reasons?\s+(?:for\s+)?(?:hospitalization|admission|admit))\s*\:)</regex>
+    <label>reason for hospitalization</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(((history\s+(of\s+(the\s+)?)?)?(present|physical)\s+illness)|hpi)\s*\:)</regex>
+    <label>history of present illness</label>
+  </section>
+  <section>
+    <regex>(((?:history\s+(?:of\s+(?:the\s+)?)?(?:present|physical)\s+illness)|hpi)\s*)\n</regex>
+    <label>history of present illness</label>
+  </section>
+  <section>
+    <regex>(^(<fragment-ref name="left-descr-mods"/>)?((?:clinical\s+)?history)\s*\:)</regex>
+    <label>history of present illness</label>
+  </section>
+  <!-- HOSPITAL COURSE --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>?(\s*\:|\*+|\-+))</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>?)(\s*\n)</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>(\*+(hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization))</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>((hosp(?:ital)?\s+course(\s+and\s+treatment)?)|(summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>\s+([a-z]+|\())</regex>
+    <label>hospital course</label>
+  </section>
+  <!-- IMPRESSION --> 
+  <section>
+    <regex find-all="false">((impressions?|imp)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>impression</label>
+  </section>
+ <!-- IMPRESSION\/PLAN --> 
+  <section>
+    <regex>((?:impression\s+and\s+plan)\s*\:)</regex>
+    <label>impression/plan</label>
+  </section>
+  <!-- IMPRESSION\/PLAN --> 
+  <section>
+    <regex>((?:impression\s+and\s+plan)\s*)(\n)</regex>
+    <label>impression/plan</label>
+   </section>
+  <!-- INSTRUCTIONS --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))+(instructions?)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>instructions</label>
+  </section>
+   <section>
+    <regex>(^(instructions?)(<fragment-ref name="right-time-mods"/>)?\s*)(\n)</regex>
+    <label>instructions</label>
+  </section>
+  <!--LABORATORY/STUDIES  --> 
+  <section>
+    <regex>((?:(<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))?((?:summary\s+of\s+)?(?:(?:diagnostic\s+)?(?:laboratory|labs?|laboratories|diagnostic|radiologic)(?:(?:\s+and\s+)|(?:\/))?\s*(?:radiologic\s+)?(?:studies|data|results|exams?(?:inations?)?|evaluation|values|findings|tests?|x\-rays?)?)|(?:tests\/procedures|(?:studies\/(?:procedures|tests))|(?:proc(?:edures)?\/tests)|tests))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>(((?:new|discrete|(?:today\s+\'s))\s+results(?:\s+only)?)\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>(((?:new|discrete|(?:today\s+\'s))\s+results(?:\s+only)?)\s*)\n</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)\s*data(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>((?:\-+|\*+|\_+)\s*)(data(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <!-- MEDICATION --> 
+  <section>
+    <regex>(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\:</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex>^(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\n</regex>
+    <label>medication</label>
+  </section>
+  <section>
+     <regex>(<fragment-ref name="left-time-mods"/>)(<fragment-ref name="medication2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+     <regex>^(<fragment-ref name="medication2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)\s+on\s+transfer\s+from(\s+[A-Z]+)+(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex ignore-case="false" >(MEDICATIONS(<fragment-ref name="right-time-mods"/>)?)(\s+[a-z]+)</regex>
+    <label>medication</label>
+  </section>
+  <!--OB-GYN HISTORY  --> 
+  <section>
+    <regex>(((?:(?:past\s+)?ob\-gyn\s+history))\s*\:)</regex>
+    <label>ob-gyn history</label>
+  </section>
+  <section>
+    <regex>(((?:past\s+obstetric\s+history))\s*\:)</regex>
+    <label>obstetric history</label>
+  </section>
+  <section>
+    <regex>^(((?:past\s+gyn(?:ocologic(?:al)?)?\s+history))\s*\:)</regex>
+    <label>gynocologic history</label>
+  </section>
+  <!-- OBJECTIVE --> 
+  <section>
+    <regex find-all="false">(?:objective\s*\:?\n)</regex>
+    <label>objective</label>
+  </section>
+  <section>
+    <regex find-all="false">(?:^o\s*\:\n)</regex>
+    <label>objective</label>
+  </section>
+  <!--OPERATIONS/PROCEDURES  --> 
+  <section>
+    <regex>(((?:((?:principal|principle|primary|special)\s+)?(?:operations?\s+(?:and|or)\s+)?procedures?(\s+(?:and|or)\s+operations?)?(?:\s+performed)?)|(operations\s*\/\s*procedures)|(?:operations?))\s*\:)</regex>
+    <label>operations/procedures</label>
+  </section>
+  <section>
+    <regex>((((?:associated|secondary|additional|other)\s+)(?:operations?\s+(?:and|or)\s+)?procedures?(\s+(?:and|or)\s+operations?)?)\s*\:)</regex>
+    <label>operations/procedures</label>
+  </section>
+  <section>
+    <regex>((procedure\s+note)\s*\:)</regex>
+    <label>procedure description</label>
+  </section>
+    <section>
+    <regex>((procedure\s+in\s+detail)\s*\:)</regex>
+    <label>procedure description</label>
+  </section>
+  <section>
+    <regex>((postpartum\s+diagnostic\s+procedures)\s*\:)</regex>
+    <label>postpartum diagnostic procedures</label>
+  </section>
+  <section>
+    <regex>((postpartum\s+therapeutic\s+procedures)\s*\:)</regex>
+    <label>postpartum therapeutic procedures</label>
+  </section>
+  <section>
+    <regex>((other\s+postpartum\s+therapies)\s*\:)</regex>
+    <label>other poastpartum treatment</label>
+  </section>
+   <section>
+    <regex>^procedure:\s*$</regex>
+    <label>operations/procedures</label>
+  </section>
+  <!-- PAST CARDIAC HISTORY --> 
+  <section>
+    <regex>((past\s+cardiac\s+history)\s*\:)</regex>
+    <label>past cardiac history</label>
+  </section>
+  <!-- PAST MEDICAL HISTORY --> 
+  <section>
+    <regex>(past\s+(medical\s+)?history|medical\s+history|pmhx?|pmedhx)\s*\:</regex>
+    <label>past medical history</label>
+  </section>
+  <section>
+    <regex>((past\s+(?:medical\s+)?history|medical\s+history|pmhx?|pmedhx)\/(<fragment-ref name="sochistory"/>)\s*\:)</regex>
+    <label>past medical history</label>
+  </section>
+  <!-- PAST SURGICAL HISTORY --> 
+  <section>
+    <regex>(past\s+surgical\s+history)\s*\:</regex>
+    <label>past surgical history</label>
+  </section>
+  <!-- PATIENT INFO --> 
+  <section>
+    <regex ignore-case="false">(\*+\s+(FINAL\s+)?DISCHARGE\s+ORDERS\s+\*+)</regex>
+    <label>patient info</label>
+  </section>
+  <!-- PHYSICAL EXAMINATION --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>)(<fragment-ref name="right-time-mods"/>)?<fragment-ref name="right-location-mods"/>?(?:\s*\:|\-[^a-z]))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="right-location-mods"/>)?)((\s+vss?)(?:\s*\:|\-[^a-z]))</regex>
+    <label>physical examination</label>
+ </section>
+  <section>
+    <regex>((?:\-+|\*+|\_+|(<fragment-ref name="left-descr-mods"/>))\s*(?:exam(?:ination)?(?:\s+data)?(<fragment-ref name="right-time-mods"/>)\s*\:))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>^((<fragment-ref name="left-time-mods"/>)(?:exam(?:ination)?)(?:\s*\:))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>^((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>))(\n)</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- PLAN  --> 
+  <section>
+    <regex ignore-case="false">(?:^((<fragment-ref name="left-time-mods"/>)?(\bplans?)(\s*\:[^\d]|\s*\*)))</regex>
+    <label>plan</label>
+  </section>
+  <section>
+    <regex ignore-case="false">(?:^((<fragment-ref name="left-time-mods"/>)?(\bplans?))(\s*\n))</regex>
+    <label>plan</label>
+  </section>
+  <!-- PLAN: DISPOSITION/PLAN  --> 
+  <section>
+    <regex>(((?:disposition\s*(?:and|\&amp;|\/)\s*plan)|(?:disposition\s*(?:\&amp;|\/)plan))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>plan</label>
+  </section>
+  <!-- PLAN: TO DO\/PLAN --> 
+  <section>
+    <regex>(((?:to\s+do\s*\/\s*plans?))\s*\:)</regex>
+    <label>plan</label>
+  </section>
+  <!-- PRELIMINARY REPORT CONTENT --> 
+  <section>
+    <regex>(($pch)\s*\:)(\s+)</regex>
+    <label>preliminary report content</label>
+  </section>
+  <!-- PREOPERATIVE STATUS --> 
+  <section>
+    <regex>((preoperative\s+(?:cardiac\s+)?status)\s*\:)</regex>
+    <label>preoperative stastus</label>
+  </section>
+  <!-- PREVIOUS CARDIOVASCULAR INTERVENTIONS --> 
+  <section>
+    <regex>((previous\s+cardiovascular\s+interventions?)\s*\:)</regex>
+    <label>previous cardiovascular interventions</label>
+  </section>
+  <!-- PRIMARY CARE PHYSICIAN --> 
+  <section>
+    <regex find-all="false">(?:pcp\s+name\s*\:)</regex>
+    <label>primary care physician</label>
+  </section>
+  <!-- PROBLEMS --> 
+  <section>
+    <regex>(((?:(?:patient\s+)?problem\s+list)|(?:significant\s+problems)|(?:(?:(?:his|her)\s+)?problems\s+and\s+management\s+are\s+as\s+follows) )<fragment-ref name="right-descr-mods"/>?\s*[\:;\*+])</regex>
+    <label>problems</label>
+  </section>
+  <!-- RADIOLOGY --> 
+  <section>
+    <regex find-all="false">(?:(?:radiology(?:\s+(?:studies|data|results))?)\s*\:)</regex>
+    <label>radiology</label>
+  </section>
+  <!-- REASON FOR CONSULTATION  --> 
+  <section>
+    <regex find-all="false">(?:reason\s+(?:for\s+)?consultation\s*\:)</regex>
+    <label>reason for consultation</label>
+  </section>
+  <!-- REPORT STATUS --> 
+  <section>
+    <regex>((report\s+status)\s*\:)</regex>
+    <label>report status</label>
+  </section>
+  <!--REVIEW OF SYSTEMS  --> 
+  <section>
+    <regex find-all="false">(?:(review\s+(?:of\s+)?systems|ros)\s*\:)</regex>
+    <label>review of systems</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:(REVIEW\s+OF\s+SYSTEMS)(\s+[a-z]+))</regex>
+    <label>review of systems</label>
+  </section>
+  <!-- SERVICE SPRECIALTY --> 
+  <section>
+    <regex find-all="false">(?:service\s*\:)</regex>
+    <label>service specialty</label>
+  </section>
+  <!-- SOCIAL HISTORY --> 
+  <section>
+    <regex>(?:^(<fragment-ref name="sochistory"/>)\s*\:)</regex>
+    <label>social history</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:((SOCIAL\s+HISTORY|HABITS))(\s+[a-z]+))</regex>
+    <label>social history</label>
+  </section>
+  <!-- SUBJECTIVE --> 
+  <section>
+    <regex find-all="false">(?:subjective\s*\:?\n)</regex>
+    <label>subjective</label>
+  </section>
+  <section>
+    <regex find-all="false">(?:^s\s*\:\n)</regex>
+    <label>subjective</label>
+  </section>
+  <!-- TRANSCRIPTION DETAILS --> 
+  <section>
+    <regex>(((?:escription\s+document)|batch)\s*\:)</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- TREATMENT --> 
+  <section>
+    <regex>(((?:treatment\s+rendered))\s*\:?)</regex>
+    <label>treatment</label>
+  </section>
+  <section>
+    <regex>((((?:other\s+treatments?\s*\/\s*procedures\s+\(\s+not\s+in\s+o\.r\.\s+\)))|(other\s+treatments?\s+and\s+procedures))\s*\:?)</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- UNIT NUMBER --> 
+  <section>
+    <regex find-all="false">(?:unit\s+number\s*\:)</regex>
+    <label>unit number</label>
+  </section>
+    <!-- WORK RETURN --> 
+  <section>
+    <regex>((return\s+to\s+work)\s*\:)</regex>
+    <label>work return</label>
+  </section>
+  <!--  SECTIONS for Mayo style radiology reports -->
+  <section>
+    <regex>(?:<fragment-ref name="mayodate"/>\s+Exam\:)</regex>
+    <label>radiology exam type</label>
+  </section>
+  <section>
+    <regex>(?:ORIGINAL REPORT)</regex>
+    <label>radiology exam report</label>
+  </section>
+  <section>
+    <regex>(?:<fragment-ref name="mayodate2"/>\s+\*+\s+Final\s+\*+)</regex>
+  </section>
+  <section>
+    <regex>(?:Indications\:)</regex> 
+    <label>reason for examination</label>
+  </section>
+</sections>
+</root>
+

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.06162011.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.06162011.xml?rev=1588552&view=auto
==============================================================================
--- ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.06162011.xml (added)
+++ ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.06162011.xml Fri Apr 18 19:47:21 2014
@@ -0,0 +1,604 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+<fragments> 
+<!-- Modifier Components of Section Headings -->
+  <fragment>
+    <name>admit</name>
+    <expansion>(?:admit(?:ting)?|admission)</expansion>
+  </fragment>
+<fragment>
+  <name>be</name>
+  <expansion>(\s+(?:am|is|are|was|were))</expansion>
+</fragment>
+  <fragment>
+    <name>left-time-mods</name>  
+    <expansion>((?:(?:pre-)?<fragment-ref name="admit"/>|current|discharge|follow[\s+\-]?up|home|interim|initial|postpartum|(?:pre|post)op(?:erative)?|transfer)\s+)</expansion>
+  </fragment>
+  <fragment>
+    <name>left-descr-mods</name>  
+    <expansion>((?:brief(?:\s+resume\s+of)?|overall|other|additional|pertinent|relevant|(?:list\s+of\s+)?other|plan\s+for|standardized|summary\s+of|doctor(?:\s+\&apos;)?s)\s+)</expansion>
+  </fragment>
+<fragment>
+  <name>include</name>
+  <expansion>(\s+(?:include[ds]?))</expansion>
+</fragment>
+  <fragment>
+    <name>right-time-mods</name>
+    <expansion>(\s+(?:(?:(?:UP)?ON|AS|AT|\@|OF|FOR|(?:PRIOR\s+TO)|(?:DURING))\s+(?:(?:(?:THE|THAT|THIS)\s+)?(?:TIME|DAY)\s+OF\s+)?(?:ADMISSION|ADMIT|DEATH|DISCHARGE|TRANSFER|COMPLICATIONS?|HOME|HOSPITALIZATION|OUTPATIENT)))</expansion>
+  </fragment>
+  <fragment>
+    <name>right-descr-mods</name>
+    <expansion>(\s+(?:(?:by\s+(?:problems?|(?:organ\s+)?systems?|issues?|report))|(?:\s+of\s+note)))</expansion>
+  </fragment>
+  <fragment>
+    <name>right-location-mods</name>
+    <expansion>(\s+in\s+the\s+emergency\s+department)</expansion>
+  </fragment>
+<!-- Core Components of Section Headings -->
+<!--HISTORY/SUBJECTIVE-->
+  <fragment>
+    <name>allergies1</name>
+    <expansion>(?:allergies|allergy|adverse\s+drug\s+reactions?)</expansion>
+  </fragment>
+  <fragment>
+    <name>allergies2</name>
+    <expansion>(allergy(\s*\/\s*reaction)?\s+profile)</expansion>
+  </fragment>
+  <fragment>
+    <name>famhistory</name>
+    <expansion>(?:family\s+(?:(?:medical|social)\s+)?history|fhx?|fam\s+hx)</expansion>
+  </fragment>
+  <fragment>
+    <name>sochistory</name>
+    <expansion>(social\s+history|social\s+hx|\bshx?|soc\s*hx|habits)</expansion>
+  </fragment>
+<!--MEDICATIONS-->
+  <fragment>
+    <name>medication1</name>       
+    <expansion>(medications?|medication\s*\(\s*s\s*\)|regimen|treatment\s+cycle)</expansion>
+  </fragment>
+  <fragment>
+    <name>medication2</name>
+    <expansion>(meds?)</expansion>
+  </fragment>
+<!--EXAM/LAB/OBJECTIVE-->
+  <fragment>
+    <name>physicalexam1</name>
+    <expansion>((physical|surgical)(\s+exam(ination)?|\s+findings)?|\bpe|\*pe|on\s+exam(ination)?|examination\s+data)</expansion>
+  </fragment>
+  <fragment>
+    <name>physicalexam2</name>
+    <expansion>((daily|patient)\s+status)</expansion>
+  </fragment>
+<!--ASSESSMENT/DISPOSITION/PLAN/INSTRUCTIONS-->
+<!--IN-PATIENT COURSE-->
+<!--DIAGNOSIS-->
+<!--PROCEDURE/TREATMENT-->
+</fragments>
+<!-- Core Components of Section Headings -->
+<!-- Section Heading Patterns -->
+<sections>
+  <!-- ADDENDUM --> 
+  <section>
+    <regex>((addendum)\s*\:)</regex>
+    <label>addendum</label>
+  </section>
+  <!-- ADMISSION DATE --> 
+  <section>
+    <regex>(?:(?:(?:admission\s+date)|(date\s+of\s+admission))\s*\:)</regex>
+    <label>admission date</label>
+  </section>
+  <!-- AGE --> 
+  <section>
+    <regex>age\s*\:</regex>
+    <label>age</label>
+  </section>
+  <!-- ALLERGY --> 
+  <section>
+    <regex>(?:(?:<fragment-ref name="allergies1"/>|<fragment-ref name="allergies2"/>)\s*\:)</regex>
+    <label>allergy</label>
+  </section>
+  <!-- APPOINTMENTS --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))?(appointments?(?:\(?:\s+s\s+\))?)\s*(?:\(\s+s\s+\))?\s*\:)</regex>
+    <label>appointments</label>
+  </section>
+  <!-- ASSESSMENT --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>|<fragment-ref name="left-descr-mods"/>)?(assessment)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>assessment</label>
+  </section>
+   <!-- ASSESSMENT/PLAN --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|<fragment-ref name="right-descr-mods"/>)?((?:assessment\s*(?:and|\&amp;|\/)\s*plan)|(?:a\s*(?:\&amp;|\/)\s*p))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>assessment/plan</label>
+  </section>
+  <!-- ATTENDING MD --> 
+  <section>
+    <regex>(?:attend(?:ing)?(?:\s+physician)?\s*\:)</regex>
+    <label>attending md</label>
+  </section>
+  <section>
+    <regex ignore-case="false">([A-Z]{2,2}\d{3,3}\/\d{4,4}\s+[A-Z]+\s+([A-Z]\.\s+)?[A-Z]+\s+\,(?:\s+(?:jr|iii)\s*\,\s*)?\s+M\.D\.)\s*\:</regex>
+    <label>attending md</label>
+  </section>
+  <!-- CHIEF COMPLAINT --> 
+  <section>
+    <regex find-all="false">(?:(?:chief\s+complaint)|(?:patient\s+states\s+complaint)\s*\:)</regex>
+    <label>chief complaint</label>
+  </section>
+  <!-- CLINICAL FINDINGS --> 
+  <section>
+    <regex>((clinical\s+findings?)\s*\:)</regex>
+    <label>clinical findings</label>
+  </section>
+  <!-- CODE STATUS --> 
+  <section>
+    <regex find-all="false">(?:((code(?:\s+status)?)\s*\:))</regex>
+    <label>code status</label>
+  </section>
+  <!-- COMMENTS --> 
+  <section>
+    <regex>(((?:additional\s+)comments)\s*\:)</regex>
+    <label>comments</label>
+  </section>
+  <!-- COMPLICATIONS --> 
+  <section>
+    <regex find-all="false">(?:((complications?)\s*\:))</regex>
+    <label>complications</label>
+  </section>
+  <!--CONDITION  --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(condition)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>condition</label>
+  </section>
+  <!-- CONSULTANTS --> 
+  <section>
+    <regex>((consultants?)\s*\:)</regex>
+    <label>consultants</label>
+  </section>
+  <!-- CONSULTATION SUMMARY --> 
+  <section>
+    <regex>((consults)\s*\:)</regex>
+    <label>consultation summary</label>
+  </section>
+  <!--DATE OF BIRTH  --> 
+  <section>
+    <regex>date\s+of\s+birth\s*\:</regex>
+    <label>date of birth</label>
+  </section>
+  <!--DATE OF EXPIRATION  --> 
+  <section>
+    <regex>date\s+of\s+expiration\s*\:</regex>
+    <label>date of expiration</label>
+  </section>
+  <!-- DIAGNOSES --> 
+  <section>
+    <regex>(((?:principal\s+discharge\s+diagnosis\s*;\s*responsible\s+after\s+study\s+for\s+causing\s+admission\s*\)\s?))\s?)</regex>
+    <label>diagnoses</label>
+  </section>
+  <section>
+    <regex>((?:other\s+diagnosis\s*;\s*conditions\s*\,\s*infections\s*,\s*complications\s*,\s*affecting\s+treatment\s*\/?\s*stay)\s?)</regex>
+    <label>diagnoses</label>
+  </section>
+  <section>
+    <regex>(((?:cause\s+of\s+death\s+and\s+)?((?:final|principal|principle|primary|associated|secondary|additional|other)\s+)?(((?:pre-)?admission|admit(?:ting)?|discharge|(?:pre)?operative)\s+)?(?:problems\s+and\s+)?diagnos[ei]s(?:\s*\(\s*es\s*\))?)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>diagnoses</label>
+  </section>
+   <!-- DICTATION\/AUTHOR DETAILS --> 
+  <section>
+    <regex>((?:(?:(?:entered|dictated)\s+by\b)|dictator)\s*\:)</regex>
+    <label>dictation/author details</label>
+  </section>
+  <section>
+    <regex ignore-case="false">((?:(?:[A-Z]+\.?)\s+)*[A-Z]+\s*\,\s+M\.D\.\s+DICTATING\s+FOR\s*\:)</regex>
+    <label>dictation/author details</label>
+  </section>
+  <section>
+    <regex ignore-case="false">(This\s+report\s+was\s+created\s+by\s+[A-Z])</regex>
+    <label>dictation/author details</label>
+  </section>
+  <!-- DIET --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(diet)\s*\:)</regex>
+    <label>diet</label>
+  </section>
+  <!-- DISCHARGE ACTIVITY --> 
+  <section>
+    <regex>(((?:discharge\s+)?activity)\s*\:)</regex>
+    <label>discharge activity</label>
+  </section>
+  <section>
+    <regex>(^((?:discharge\s+)?activity)\s*)(\n)</regex>
+    <label>discharge activity</label>
+  </section>
+  <!-- DISCHARGE DATE --> 
+  <section>
+    <regex>((discharge\s+date)|(date\s+of\s+discharge))\s*\:</regex>
+    <label>discharge date</label>
+  </section>
+  <!-- DISCHARGE DETAILS --> 
+  <section>
+    <regex>((discharge\s+patient\s+on)\s*\:)</regex>
+    <label>discharge details</label>
+  </section>
+   <!-- DISCHARGE ORDERS --> 
+  <section>
+    <regex>(((?:doctor\'?s\s+)?discharge\s+orders)\s*\:)</regex>
+    <label>discharge orders</label>
+  </section>
+  <!-- DISCHARGE NOTIFICATION SUMMARY --> 
+  <section>
+    <regex>(ed\s+discharge\s+notification\s*\/\s*summary)(\s+)</regex>
+    <label>discharge notification summary</label>
+  </section>
+  <!-- DISPOSITION --> 
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(disposition)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>disposition</label>
+  </section>
+  <!-- EMERGENCY DEPARTMENT COURSE --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?((?:ed\s+course)|(?:emergency\s+department\s+course)|(?:in\s+(?:the\s+)?ed|\bed))<fragment-ref name="right-descr-mods"/>?(\s*\:|\*+))</regex>
+    <label>emergency department course</label>
+  </section>
+  <!-- EVALUATION DATE --> 
+  <section>
+    <regex>evaluation\s+date\s*\:</regex>
+    <label>evaluation date</label>
+  </section>
+   <!-- EVENTS --> 
+  <section>
+    <regex>((events)\s*\:)</regex>
+    <label>events</label>
+  </section>
+  <!-- FAMILY HISTORY --> 
+  <section>
+    <regex find-all="false">(?:(?:<fragment-ref name="famhistory"/>)\s*\:)</regex>
+    <label>family history</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:(?:FAMILY\s+HISTORY\s+[a-z]+))</regex>
+    <label>family history</label>
+  </section>
+  <!-- FOLLOW-UP --> 
+  <section>
+    <regex>((discharged?\s+wound\s+care)\s*\:)</regex>
+    <label>discharge wound care</label>
+  </section>
+  <section>
+    <regex>(((?:discharged?\s+follow[\s\-]?up(?:\s+care)?)|((?:standardized\s+)?discharge\s+orders\s+\(\s+medications\s+instructions\s+to\s+patient\s+\,\s+follow-up\s+care\s+\))|(disposition\s*\,\s+follow[\s+\-]up\s+and\s+instructions\s+to\s+patient)|(?:follow[\s\-]?up))\s*\:)</regex>
+    <label>follow-up</label>
+  </section>
+  <section>
+    <regex>((((?:discharged?\s+follow[\s\-]?up(?:\s+care)?))|((?:standardized\s+)?discharge\s+orders\s+\(\s+medications\s+instructions\s+to\s+patient\s+\,\s+follow-up\s+care\s+\))|(disposition\s*\,\s+follow[\s+\-]up\s+and\s+instructions\s+to\s+patient)|(?:follow[\s\-]?up))\s*)(\n)</regex>
+    <label>follow-up</label>
+  </section>
+  <!-- GENDER --> 
+  <section>
+    <regex>sex\s*\:</regex>
+    <label>gender</label>
+  </section>
+  <!-- HEALTH STATUS --> 
+  <section>
+    <regex>^(health\s+status)\s*(\n)</regex>
+    <label>health status</label>
+  </section>
+  <!-- HISTORY OF PRESENT ILLNESS/REASON FOR HOSPITALIZATION --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:history\s+(?:of\s+(?:the\s+)?)?(?:present|physical)\s+illness|hpi)\s+and\s+(?:(?:history\s+and\s+)?reasons?\s+(?:for\s+)?(?:hospitalization|admission|admit))\s*\:)</regex>
+    <label>history of present illness/reason for hospitalization</label>
+  </section>
+  <section>
+    <regex find-all="false">((?:(?:history\s+and\s+)?reasons?\s+(?:for\s+)?(?:hospitalization|admission|admit))\s*\:)</regex>
+    <label>reason for hospitalization</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(((history\s+(of\s+(the\s+)?)?)?(present|physical)\s+illness)|hpi)\s*\:)</regex>
+    <label>history of present illness</label>
+  </section>
+  <section>
+    <regex>(((?:history\s+(?:of\s+(?:the\s+)?)?(?:present|physical)\s+illness)|hpi)\s*)\n</regex>
+    <label>history of present illness</label>
+  </section>
+  <section>
+    <regex>(^(<fragment-ref name="left-descr-mods"/>)?((?:clinical\s+)?history)\s*\:)</regex>
+    <label>history of present illness</label>
+  </section>
+  <!-- HOSPITAL COURSE --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>?(\s*\:|\*+|\-+))</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(?:hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>?)(\s*\n)</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>(\*+(hosp(?:ital)?\s+course(?:\s+and\s+treatment)?)|(?:summary\s+of\s+hospitalization))</regex>
+    <label>hospital course</label>
+  </section>
+  <section>
+    <regex>((hosp(?:ital)?\s+course(\s+and\s+treatment)?)|(summary\s+of\s+hospitalization)<fragment-ref name="right-descr-mods"/>\s+([a-z]+|\())</regex>
+    <label>hospital course</label>
+  </section>
+  <!-- IMPRESSION --> 
+  <section>
+    <regex find-all="false">((impressions?|imp)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>impression</label>
+  </section>
+ <!-- IMPRESSION\/PLAN --> 
+  <section>
+    <regex>((?:impression\s+and\s+plan)\s*\:)</regex>
+    <label>impression/plan</label>
+  </section>
+  <!-- IMPRESSION\/PLAN --> 
+  <section>
+    <regex>((?:impression\s+and\s+plan)\s*)(\n)</regex>
+    <label>impression/plan</label>
+   </section>
+  <!-- INSTRUCTIONS --> 
+  <section>
+    <regex>(((<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))+(instructions?)(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>instructions</label>
+  </section>
+   <section>
+    <regex>(^(instructions?)(<fragment-ref name="right-time-mods"/>)?\s*)(\n)</regex>
+    <label>instructions</label>
+  </section>
+  <!--LABORATORY/STUDIES  --> 
+  <section>
+    <regex>((?:(<fragment-ref name="left-time-mods"/>)|(<fragment-ref name="left-descr-mods"/>))?((?:summary\s+of\s+)?(?:(?:diagnostic\s+)?(?:laboratory|labs?|laboratories|diagnostic|radiologic)(?:(?:\s+and\s+)|(?:\/))?\s*(?:radiologic\s+)?(?:studies|data|results|exams?(?:inations?)?|evaluation|values|findings|tests?|x\-rays?)?)|(?:tests\/procedures|(?:studies\/(?:procedures|tests))|(?:proc(?:edures)?\/tests)|tests))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>(((?:new|discrete|(?:today\s+\'s))\s+results(?:\s+only)?)\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>(((?:new|discrete|(?:today\s+\'s))\s+results(?:\s+only)?)\s*)\n</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)\s*data(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <section>
+    <regex>((?:\-+|\*+|\_+)\s*)(data(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>laboratory</label>
+  </section>
+  <!-- MEDICATION --> 
+  <section>
+    <regex>(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\:</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex>^(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\n</regex>
+    <label>medication</label>
+  </section>
+  <section>
+     <regex>(<fragment-ref name="left-time-mods"/>)(<fragment-ref name="medication2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+     <regex>^(<fragment-ref name="medication2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="be"/>|<fragment-ref name="include"/>?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="medication1"/>)\s+on\s+transfer\s+from(\s+[A-Z]+)+(<fragment-ref name="be"/>|<fragment-ref name="include"/>)?\s*\:)</regex>
+    <label>medication</label>
+  </section>
+  <section>
+    <regex ignore-case="false" >(MEDICATIONS(<fragment-ref name="right-time-mods"/>)?)(\s+[a-z]+)</regex>
+    <label>medication</label>
+  </section>
+  <!--OB-GYN HISTORY  --> 
+  <section>
+    <regex>(((?:(?:past\s+)?ob\-gyn\s+history))\s*\:)</regex>
+    <label>ob-gyn history</label>
+  </section>
+  <section>
+    <regex>(((?:past\s+obstetric\s+history))\s*\:)</regex>
+    <label>obstetric history</label>
+  </section>
+  <section>
+    <regex>^(((?:past\s+gyn(?:ocologic(?:al)?)?\s+history))\s*\:)</regex>
+    <label>gynocologic history</label>
+  </section>
+  <!-- OBJECTIVE --> 
+  <section>
+    <regex find-all="false">(?:objective\s*\:?\n)</regex>
+    <label>objective</label>
+  </section>
+  <section>
+    <regex find-all="false">(?:^o\s*\:\n)</regex>
+    <label>objective</label>
+  </section>
+  <!--OPERATIONS/PROCEDURES  --> 
+  <section>
+    <regex>(((?:((?:principal|principle|primary|special)\s+)?(?:operations?\s+(?:and|or)\s+)?procedures?(\s+(?:and|or)\s+operations?)?(?:\s+performed)?)|(operations\s*\/\s*procedures)|(?:operations?))\s*\:)</regex>
+    <label>operations/procedures</label>
+  </section>
+  <section>
+    <regex>((((?:associated|secondary|additional|other)\s+)(?:operations?\s+(?:and|or)\s+)?procedures?(\s+(?:and|or)\s+operations?)?)\s*\:)</regex>
+    <label>operations/procedures</label>
+  </section>
+  <section>
+    <regex>((procedure\s+note)\s*\:)</regex>
+    <label>procedure description</label>
+  </section>
+  <section>
+    <regex>((postpartum\s+diagnostic\s+procedures)\s*\:)</regex>
+    <label>postpartum diagnostic procedures</label>
+  </section>
+  <section>
+    <regex>((postpartum\s+therapeutic\s+procedures)\s*\:)</regex>
+    <label>postpartum therapeutic procedures</label>
+  </section>
+  <section>
+    <regex>((other\s+postpartum\s+therapies)\s*\:)</regex>
+    <label>other poastpartum treatment</label>
+  </section>
+  <!-- PAST CARDIAC HISTORY --> 
+  <section>
+    <regex>((past\s+cardiac\s+history)\s*\:)</regex>
+    <label>past cardiac history</label>
+  </section>
+  <!-- PAST MEDICAL HISTORY --> 
+  <section>
+    <regex>(past\s+(medical\s+)?history|medical\s+history|pmhx?|pmedhx)\s*\:</regex>
+    <label>past medical history</label>
+  </section>
+  <section>
+    <regex>((past\s+(?:medical\s+)?history|medical\s+history|pmhx?|pmedhx)\/(<fragment-ref name="sochistory"/>)\s*\:)</regex>
+    <label>past medical history</label>
+  </section>
+  <!-- PAST SURGICAL HISTORY --> 
+  <section>
+    <regex>(past\s+surgical\s+history)\s*\:</regex>
+    <label>past surgical history</label>
+  </section>
+  <!-- PATIENT INFO --> 
+  <section>
+    <regex ignore-case="false">(\*+\s+(FINAL\s+)?DISCHARGE\s+ORDERS\s+\*+)</regex>
+    <label>patient info</label>
+  </section>
+  <!-- PHYSICAL EXAMINATION --> 
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>)(<fragment-ref name="right-time-mods"/>)?<fragment-ref name="right-location-mods"/>?(?:\s*\:|\-[^a-z]))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>)(<fragment-ref name="right-time-mods"/>)?(<fragment-ref name="right-location-mods"/>)?)((\s+vss?)(?:\s*\:|\-[^a-z]))</regex>
+    <label>physical examination</label>
+ </section>
+  <section>
+    <regex>((?:\-+|\*+|\_+|(<fragment-ref name="left-descr-mods"/>))\s*(?:exam(?:ination)?(?:\s+data)?(<fragment-ref name="right-time-mods"/>)\s*\:))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>^((<fragment-ref name="left-time-mods"/>)(?:exam(?:ination)?)(?:\s*\:))</regex>
+    <label>physical examination</label>
+  </section>
+  <section>
+    <regex>^((<fragment-ref name="left-descr-mods"/>)?(<fragment-ref name="left-time-mods"/>)?(<fragment-ref name="physicalexam1"/>|<fragment-ref name="physicalexam2"/>))(\n)</regex>
+    <label>physical examination</label>
+  </section>
+  <!-- PLAN  --> 
+  <section>
+    <regex ignore-case="false">(?:^((<fragment-ref name="left-time-mods"/>)?(\bplans?)(\s*\:[^\d]|\s*\*)))</regex>
+    <label>plan</label>
+  </section>
+  <section>
+    <regex ignore-case="false">(?:^((<fragment-ref name="left-time-mods"/>)?(\bplans?))(\s*\n))</regex>
+    <label>plan</label>
+  </section>
+  <!-- PLAN: DISPOSITION/PLAN  --> 
+  <section>
+    <regex>(((?:disposition\s*(?:and|\&amp;|\/)\s*plan)|(?:disposition\s*(?:\&amp;|\/)plan))(<fragment-ref name="right-time-mods"/>)?\s*\:)</regex>
+    <label>plan</label>
+  </section>
+  <!-- PLAN: TO DO\/PLAN --> 
+  <section>
+    <regex>(((?:to\s+do\s*\/\s*plans?))\s*\:)</regex>
+    <label>plan</label>
+  </section>
+  <!-- PRELIMINARY REPORT CONTENT --> 
+  <section>
+    <regex>(($pch)\s*\:)(\s+)</regex>
+    <label>preliminary report content</label>
+  </section>
+  <!-- PREOPERATIVE STATUS --> 
+  <section>
+    <regex>((preoperative\s+(?:cardiac\s+)?status)\s*\:)</regex>
+    <label>preoperative stastus</label>
+  </section>
+  <!-- PREVIOUS CARDIOVASCULAR INTERVENTIONS --> 
+  <section>
+    <regex>((previous\s+cardiovascular\s+interventions?)\s*\:)</regex>
+    <label>previous cardiovascular interventions</label>
+  </section>
+  <!-- PRIMARY CARE PHYSICIAN --> 
+  <section>
+    <regex find-all="false">(?:pcp\s+name\s*\:)</regex>
+    <label>primary care physician</label>
+  </section>
+  <!-- PROBLEMS --> 
+  <section>
+    <regex>(((?:(?:patient\s+)?problem\s+list)|(?:significant\s+problems)|(?:(?:(?:his|her)\s+)?problems\s+and\s+management\s+are\s+as\s+follows) )<fragment-ref name="right-descr-mods"/>?\s*[\:;\*+])</regex>
+    <label>problems</label>
+  </section>
+  <!-- RADIOLOGY --> 
+  <section>
+    <regex find-all="false">(?:(?:radiology(?:\s+(?:studies|data|results))?)\s*\:)</regex>
+    <label>radiology</label>
+  </section>
+  <!-- REASON FOR CONSULTATION  --> 
+  <section>
+    <regex find-all="false">(?:reason\s+(?:for\s+)?consultation\s*\:)</regex>
+    <label>reason for consultation</label>
+  </section>
+  <!-- REPORT STATUS --> 
+  <section>
+    <regex>((report\s+status)\s*\:)</regex>
+    <label>report status</label>
+  </section>
+  <!--REVIEW OF SYSTEMS  --> 
+  <section>
+    <regex find-all="false">(?:(review\s+(?:of\s+)?systems|ros)\s*\:)</regex>
+    <label>review of systems</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:(REVIEW\s+OF\s+SYSTEMS)(\s+[a-z]+))</regex>
+    <label>review of systems</label>
+  </section>
+  <!-- SERVICE SPRECIALTY --> 
+  <section>
+    <regex find-all="false">(?:service\s*\:)</regex>
+    <label>service specialty</label>
+  </section>
+  <!-- SOCIAL HISTORY --> 
+  <section>
+    <regex>(?:^(<fragment-ref name="sochistory"/>)\s*\:)</regex>
+    <label>social history</label>
+  </section>
+  <section>
+    <regex ignore-case="false" find-all="false">(?:((SOCIAL\s+HISTORY|HABITS))(\s+[a-z]+))</regex>
+    <label>social history</label>
+  </section>
+  <!-- SUBJECTIVE --> 
+  <section>
+    <regex find-all="false">(?:subjective\s*\:?\n)</regex>
+    <label>subjective</label>
+  </section>
+  <section>
+    <regex find-all="false">(?:^s\s*\:\n)</regex>
+    <label>subjective</label>
+  </section>
+  <!-- TRANSCRIPTION DETAILS --> 
+  <section>
+    <regex>(((?:escription\s+document)|batch)\s*\:)</regex>
+    <label>transcription details</label>
+  </section>
+  <!-- TREATMENT --> 
+  <section>
+    <regex>(((?:treatment\s+rendered))\s*\:?)</regex>
+    <label>treatment</label>
+  </section>
+  <section>
+    <regex>((((?:other\s+treatments?\s*\/\s*procedures\s+\(\s+not\s+in\s+o\.r\.\s+\)))|(other\s+treatments?\s+and\s+procedures))\s*\:?)</regex>
+    <label>other treatments/procedures</label>
+  </section>
+  <!-- UNIT NUMBER --> 
+  <section>
+    <regex find-all="false">(?:unit\s+number\s*\:)</regex>
+    <label>unit number</label>
+  </section>
+    <!-- WORK RETURN --> 
+  <section>
+    <regex>((return\s+to\s+work)\s*\:)</regex>
+    <label>work return</label>
+  </section>
+</sections>
+</root>
+

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.06162011.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.out.xml
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.out.xml?rev=1588552&view=auto
==============================================================================
    (empty)

Propchange: ctakes/sandbox/ctakes-web-client/src/main/resources/org/mitre/medfacts/uima/section_regex.out.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain