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/04/02 19:44:41 UTC
svn commit: r1463641 [5/42] - in /ctakes/trunk: ctakes-assertion-res/
ctakes-assertion-res/.settings/ ctakes-assertion-res/src/
ctakes-assertion-res/src/main/ ctakes-assertion-res/src/main/resources/
ctakes-assertion-res/src/main/resources/org/ ctakes-...
Added: ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/types/TypeSystem.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/types/TypeSystem.xml?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/types/TypeSystem.xml (added)
+++ ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/types/TypeSystem.xml Tue Apr 2 17:41:30 2013
@@ -0,0 +1,73 @@
+<?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.assertion.types.TypeSystem</name>
+ <description/>
+ <version>1.0</version>
+ <vendor/>
+ <types>
+ <typeDescription>
+ <name>org.apache.ctakes.assertion.medfacts.types.Concept</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>conceptType</name>
+ <description>the concept type -- one of problem, treatment, or test</description>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>conceptText</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>externalId</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>originalEntityExternalId</name>
+ <description/>
+ <rangeTypeName>uima.cas.Integer</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.ctakes.assertion.medfacts.types.Assertion</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>assertionType</name>
+ <description>assertion type -- one of present, absent, possible, conditional, hypothetical, or assocated_with_someone_else</description>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ <featureDescription>
+ <name>associatedConcept</name>
+ <description/>
+ <rangeTypeName>org.apache.ctakes.assertion.medfacts.types.Concept</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+</typeSystemDescription>
Added: ctakes/trunk/ctakes-assertion-zoner-res/.classpath
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.classpath?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.classpath (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.classpath Tue Apr 2 17:41:30 2013
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/classes" path="target/generated-sources/jcasgen">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: ctakes/trunk/ctakes-assertion-zoner-res/.project
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.project?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.project (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.project Tue Apr 2 17:41:30 2013
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>ctakes-assertion-zoner-res</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.core.resources.prefs?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.core.resources.prefs (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.core.resources.prefs Tue Apr 2 17:41:30 2013
@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//target/generated-sources/jcasgen=UTF-8
+encoding/<project>=UTF-8
Added: ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.jdt.core.prefs?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.jdt.core.prefs (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.jdt.core.prefs Tue Apr 2 17:41:30 2013
@@ -0,0 +1,88 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=disabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.6
Added: ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.ltk.core.refactoring.prefs
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.ltk.core.refactoring.prefs?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.ltk.core.refactoring.prefs (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.ltk.core.refactoring.prefs Tue Apr 2 17:41:30 2013
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
Added: ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.m2e.core.prefs
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.m2e.core.prefs?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.m2e.core.prefs (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/.settings/org.eclipse.m2e.core.prefs Tue Apr 2 17:41:30 2013
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
Added: ctakes/trunk/ctakes-assertion-zoner-res/LICENSE
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/LICENSE?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/LICENSE (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/LICENSE Tue Apr 2 17:41:30 2013
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
Added: ctakes/trunk/ctakes-assertion-zoner-res/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/pom.xml?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/pom.xml (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/pom.xml Tue Apr 2 17:41:30 2013
@@ -0,0 +1,49 @@
+<?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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.ctakes</groupId>
+ <artifactId>ctakes</artifactId>
+ <version>3.1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>ctakes-assertion-zoner-res</artifactId>
+ <name>Apache cTAKES Resources assertion-zoner</name>
+ <description>Resources Project for assertion-zoner</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ctakes</groupId>
+ <artifactId>ctakes-type-system</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.cleartk</groupId>
+ <artifactId>jcasgen-maven-plugin</artifactId>
+ <configuration>
+ <typeSystem>src/main/resources/org/apache/ctakes/assertion/zoner/types/TypeSystem.xml</typeSystem>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added: ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/META-INF/org.uimafit/types.txt
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/META-INF/org.uimafit/types.txt?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/META-INF/org.uimafit/types.txt (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/META-INF/org.uimafit/types.txt Tue Apr 2 17:41:30 2013
@@ -0,0 +1 @@
+classpath*:org/apache/ctakes/assertion/zoner/types/TypeSystem.xml
Added: ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/apache/ctakes/assertion/zoner/types/TypeSystem.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/apache/ctakes/assertion/zoner/types/TypeSystem.xml?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/apache/ctakes/assertion/zoner/types/TypeSystem.xml (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/apache/ctakes/assertion/zoner/types/TypeSystem.xml Tue Apr 2 17:41:30 2013
@@ -0,0 +1,66 @@
+<?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.assertion.types.TypeSystem</name>
+ <description/>
+ <version>1.0</version>
+ <vendor/>
+ <types>
+ <typeDescription>
+ <name>org.apache.ctakes.assertion.zoner.types.Heading</name>
+ <description>a section heading</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>label</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.ctakes.assertion.zoner.types.Zone</name>
+ <description>A document Zone, including its heading</description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>label</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.ctakes.assertion.zoner.types.Subzone</name>
+ <description/>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>label</name>
+ <description/>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+</typeSystemDescription>
+
Added: ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/mayo_sections.xml Tue Apr 2 17:41:30 2013
@@ -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>
Added: ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml?rev=1463641&view=auto
==============================================================================
--- ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml (added)
+++ ctakes/trunk/ctakes-assertion-zoner-res/src/main/resources/org/mitre/medfacts/uima/section_regex.04162012.xml Tue Apr 2 17:41:30 2013
@@ -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+\')?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|\&|\/)\s*plan)|(?:a\s*(?:\&|\/)\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|\&|\/)\s*plan)|(?:disposition\s*(?:\&|\/)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>
+