You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Steven Bethard (JIRA)" <ji...@apache.org> on 2013/02/15 01:13:12 UTC

[jira] [Commented] (CTAKES-57) Type System updates for 3.x-incubating

    [ https://issues.apache.org/jira/browse/CTAKES-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578831#comment-13578831 ] 

Steven Bethard commented on CTAKES-57:
--------------------------------------

So I finally got back around to this. Yes, TimeMention is okay as a band-aid for now. It has the features I need, even if it's semantically wrong to have a getTime method for things of type DATE, DURATION, SET, etc. 

I've also plugged away at the rest of SHARPKnowtatorXMLReader. And thank you guys for your work on it!

Here are the remaining roadblocks:

* ElementRelation vs. BinaryTextRelation. All of the manual annotations describe spans of text, so they're read in as XXXMention or XXXModifier types. Correspondingly, whenever the annotations describe a relation between an XXXMention and an XXXModifier, this is read in as a BinaryTextRelation so that we can set arguments appropriately. However, several of the features on XXXMention types have *ElementRelation* values. For example, DiseaseDisorderMention:alleviatingFactor is an ElementRelation, DiseaseDisorderMention:associatedSignSymptom is a ManifestationOf, DiseaseDisorderMention:bodyLocation is a LocationOf, etc. I think these should be BinaryTextRelations, since their arguments are Mentions/Modifiers, not Elements.

* Most of the MedicationEventMention features (medicationStatusChange, medicationDosage, medicationDuration, etc.) take Attribute values, not Mention values (e.g. medicationStatusChange takes a MedicationStatusChange value, but should take a MedicationStatusChangeModifier value).

* MedicationEventMention doesn't have any feature where I can put an associated MedicationAllergyModifier, or an associated start date.

* There's no DateMention (or DateModifier?) for start dates. There's a DateAnnotation, but it doesn't have the necessary "month" and "day" attributes.

* ProcedureMention doesn't have anywhere I can put an associated ProcedureDeviceModifier

                
> Type System updates for 3.x-incubating
> --------------------------------------
>
>                 Key: CTAKES-57
>                 URL: https://issues.apache.org/jira/browse/CTAKES-57
>             Project: cTAKES
>          Issue Type: Improvement
>    Affects Versions: 2.6-incubating
>            Reporter: James Joseph Masanz
>            Assignee: James Joseph Masanz
>             Fix For: 3.1-incubating
>
>
> Opening 2 issues regarding the type system. This one is for changes that will require refactoring and may affect current users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira