Skip to content

Instantly share code, notes, and snippets.

@MatthewVita
Created June 2, 2019 19:54
Show Gist options
  • Save MatthewVita/93000a05a5d0f4ef6a4267359c63b510 to your computer and use it in GitHub Desktop.
Save MatthewVita/93000a05a5d0f4ef6a4267359c63b510 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?><xmi:XMI xmlns:refsem="http:///org/apache/ctakes/typesystem/type/refsem.ecore" xmlns:util="http:///org/apache/ctakes/typesystem/type/util.ecore" xmlns:relation="http:///org/apache/ctakes/typesystem/type/relation.ecore" xmlns:structured="http:///org/apache/ctakes/typesystem/type/structured.ecore" xmlns:textspan="http:///org/apache/ctakes/typesystem/type/textspan.ecore" xmlns:tcas="http:///uima/tcas.ecore" xmlns:xmi="http://www.omg.org/XMI" xmlns:cas="http:///uima/cas.ecore" xmlns:type="http:///org/apache/ctakes/drugner/type.ecore" xmlns:assertion="http:///org/apache/ctakes/typesystem/type/temporary/assertion.ecore" xmlns:textsem="http:///org/apache/ctakes/typesystem/type/textsem.ecore" xmlns:syntax="http:///org/apache/ctakes/typesystem/type/syntax.ecore" xmi:version="2.0">
<cas:NULL xmi:id="0"/>
<tcas:DocumentAnnotation xmi:id="1" sofa="6" begin="0" end="25" language="en"/>
<textspan:Segment xmi:id="13" sofa="6" begin="0" end="25" id="SIMPLE_SEGMENT"/>
<textspan:Sentence xmi:id="19" sofa="6" begin="0" end="25" sentenceNumber="0"/>
<syntax:WordToken xmi:id="25" sofa="6" begin="0" end="6" tokenNumber="0" normalizedForm="severe" partOfSpeech="JJ" capitalization="0" numPosition="0" canonicalForm="severe"/>
<syntax:WordToken xmi:id="37" sofa="6" begin="7" end="14" tokenNumber="1" normalizedForm="bipolar" partOfSpeech="JJ" capitalization="0" numPosition="0" canonicalForm="bipolar"/>
<syntax:WordToken xmi:id="49" sofa="6" begin="15" end="16" tokenNumber="2" normalizedForm="I" partOfSpeech="NN" capitalization="0" numPosition="0" canonicalForm="I"/>
<syntax:WordToken xmi:id="61" sofa="6" begin="17" end="25" tokenNumber="3" normalizedForm="disorder" partOfSpeech="NN" capitalization="0" numPosition="0" canonicalForm="disorder"/>
<textsem:RomanNumeralAnnotation xmi:id="73" sofa="6" begin="15" end="16" id="3" typeID="0" segmentID="SIMPLE_SEGMENT" discoveryTechnique="0" confidence="0.0" polarity="0" uncertainty="0" conditional="false" generic="false" historyOf="0"/>
<syntax:NP xmi:id="91" sofa="6" begin="0" end="25" chunkType="NP"/>
<textsem:DiseaseDisorderMention xmi:id="109" sofa="6" begin="0" end="25" id="0" ontologyConceptArr="96" typeID="2" segmentID="SIMPLE_SEGMENT" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0"/>
<textsem:DiseaseDisorderMention xmi:id="197" sofa="6" begin="7" end="25" id="2" ontologyConceptArr="184" typeID="2" segmentID="SIMPLE_SEGMENT" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0"/>
<textsem:DiseaseDisorderMention xmi:id="153" sofa="6" begin="17" end="25" id="4" ontologyConceptArr="140" typeID="2" segmentID="SIMPLE_SEGMENT" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0"/>
<textsem:SignSymptomMention xmi:id="241" sofa="6" begin="0" end="6" id="1" ontologyConceptArr="228" typeID="3" segmentID="SIMPLE_SEGMENT" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0"/>
<syntax:ConllDependencyNode xmi:id="275" sofa="6" begin="0" end="25" id="0"/>
<syntax:ConllDependencyNode xmi:id="289" sofa="6" begin="0" end="6" id="1" form="severe" lemma="severe" cpostag="JJ" postag="JJ" feats="_" head="331" deprel="amod" pdeprel="_"/>
<syntax:ConllDependencyNode xmi:id="303" sofa="6" begin="7" end="14" id="2" form="bipolar" lemma="bipolar" cpostag="JJ" postag="JJ" feats="_" head="317" deprel="amod" pdeprel="_"/>
<syntax:ConllDependencyNode xmi:id="317" sofa="6" begin="15" end="16" id="3" form="i" lemma="i" cpostag="NN" postag="NN" feats="_" head="331" deprel="nn" pdeprel="_"/>
<syntax:ConllDependencyNode xmi:id="331" sofa="6" begin="17" end="25" id="4" form="disorder" lemma="disorder" cpostag="NN" postag="NN" feats="_" head="275" deprel="root" pdeprel="_"/>
<structured:DocumentID xmi:id="345" documentID="UnknownDocument7"/>
<syntax:TerminalTreebankNode xmi:id="353" sofa="6" begin="0" end="6" nodeType="JJ" nodeValue="severe" leaf="true" parent="423" headIndex="0" index="0" tokenIndex="0"/>
<syntax:TerminalTreebankNode xmi:id="366" sofa="6" begin="7" end="14" nodeType="JJ" nodeValue="bipolar" leaf="true" parent="423" headIndex="0" index="1" tokenIndex="1"/>
<syntax:TerminalTreebankNode xmi:id="379" sofa="6" begin="15" end="16" nodeType="NN" nodeValue="i" leaf="true" parent="423" headIndex="0" index="2" tokenIndex="2"/>
<syntax:TerminalTreebankNode xmi:id="392" sofa="6" begin="17" end="25" nodeType="NN" nodeValue="disorder" leaf="true" parent="423" headIndex="0" index="3" tokenIndex="3"/>
<syntax:TreebankNode xmi:id="423" sofa="6" begin="0" end="25" nodeType="NP" leaf="false" parent="405" children="353 366 379 392" headIndex="3"/>
<syntax:TopTreebankNode xmi:id="405" sofa="6" begin="0" end="25" nodeType="TOP" leaf="false" children="423" headIndex="0" treebankParse="(TOP (NP (JJ severe) (JJ bipolar) (NN i) (NN disorder)))" terminals="353 366 379 392"/>
<cas:Sofa xmi:id="6" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="severe bipolar i disorder"/>
<refsem:UmlsConcept xmi:id="96" codingScheme="SNOMEDCT_US" code="371599001" oid="371599001#SNOMEDCT_US" score="0.0" disambiguated="false" cui="C1276786" tui="T048" preferredText="Severe bipolar I disorder"/>
<refsem:UmlsConcept xmi:id="184" codingScheme="SNOMEDCT_US" code="371596008" oid="371596008#SNOMEDCT_US" score="0.0" disambiguated="false" cui="C0853193" tui="T048" preferredText="Bipolar I disorder"/>
<refsem:UmlsConcept xmi:id="140" codingScheme="SNOMEDCT_US" code="64572001" oid="64572001#SNOMEDCT_US" score="0.0" disambiguated="false" cui="C0012634" tui="T047" preferredText="Disease"/>
<refsem:UmlsConcept xmi:id="228" codingScheme="SNOMEDCT_US" code="446431000124107" oid="446431000124107#SNOMEDCT_US" score="0.0" disambiguated="false" cui="C1519275" tui="T033" preferredText="Grade 3 Severe Adverse Event"/>
<cas:View sofa="6" members="1 13 19 25 37 49 61 73 91 109 197 153 241 275 289 303 317 331 345 353 366 379 392 423 405"/>
</xmi:XMI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment