-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
58 additions
and
52 deletions.
There are no files selected for viewing
76 changes: 41 additions & 35 deletions
76
sample data/sampleanaforaprojectfile/.schema/demomedicalschema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema> | ||
<entities type="MedicalEntities" color="a60000"> | ||
<entity type="Disease/Disorder" color="103ffb" hotkey="d"> | ||
<properties> | ||
<property type="UMLS CUI" input="text"></property> | ||
<property type="Polarity" input="choice">Positive, Negative</property> | ||
<property type="Type" input="multichoice">Chronic,Acute,Drug-Resistant</property> | ||
<property type="Location" input="list" maxlink="1" instanceOf="Anatomy"/> | ||
</properties> | ||
</entity> | ||
<entity type="Medication" color="459d1b" hotkey="m"> | ||
<properties/> | ||
</entity> | ||
<entity type="Anatomy" color="FF2A1A" hotkey="a"> | ||
<properties/> | ||
</entity> | ||
</entities> | ||
<relations type="MedicalRelations" color="006363" > | ||
<relation type="Treats" color="522290" hotkey="t"> | ||
<properties> | ||
<property type="Treated" input="link" maxlink="1" instanceOf="Disease/Disorder"/> | ||
<property type="Treatment" input="link" maxlink="1" instanceOf="Medication"/> | ||
<property type="Outcome" input="choice">Unsure, Success, Failure</property> | ||
</properties> | ||
</relation> | ||
|
||
<relation type="Causes" color="D97999" hotkey="t"> | ||
<properties> | ||
<property type="Causer" input="link" maxlink="1" instanceOf="Disease/Disorder, Medication"/> | ||
<property type="ThingCaused" input="link" maxlink="1" instanceOf="Disease/Disorder"/> | ||
</properties> | ||
</relation> | ||
</relations> | ||
</schema> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema> | ||
<definition> | ||
<entities type="Entities" color="a60000"> | ||
<entity type="Disease/Disorder" color="FFA3A3" hotkey="d"> | ||
<properties> | ||
<property type="UMLS CUI" input="text"></property> | ||
<property type="Polarity" input="choice">Positive, Negative</property> | ||
<property type="Type" input="multichoice">,Chronic,Acute,Drug-Resistant,Inoperable</property> | ||
<property type="Location" input="list" maxlink="1" instanceOf="Anatomy"/> | ||
</properties> | ||
</entity> | ||
|
||
<entity type="Medication/Intervention" color="65CF69" hotkey="m"> | ||
<properties> | ||
<property type="Generic Name" input="text"></property> | ||
</properties> | ||
</entity> | ||
|
||
<entity type="Anatomy" color="FFA321" hotkey="a"> | ||
<properties> | ||
</properties> | ||
</entity> | ||
|
||
<entity type="Temporal Expression" color="FFFF85" hotkey="x"> | ||
<properties> | ||
</properties> | ||
</entity> | ||
</entities> | ||
|
||
<relations type="MedicalRelations" color="006363" > | ||
<relation type="Treats" color="33cccc" hotkey="t"> | ||
<properties> | ||
<property type="Treated" input="list" maxlink="1" instanceOf="Disease/Disorder"/> | ||
<property type="Treatment" input="list" maxlink="1" instanceOf="Medication/Intervention"/> | ||
<property type="Outcome" input="choice">Unsure, Success, Failure</property> | ||
</properties> | ||
</relation> | ||
</relations> | ||
</definition> | ||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters