Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A47B200C2F for ; Mon, 6 Mar 2017 17:47:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 88EAC160B76; Mon, 6 Mar 2017 16:47:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D18F7160B66 for ; Mon, 6 Mar 2017 17:47:36 +0100 (CET) Received: (qmail 30197 invoked by uid 500); 6 Mar 2017 16:47:36 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 30188 invoked by uid 99); 6 Mar 2017 16:47:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 16:47:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7F0A0C05B0 for ; Mon, 6 Mar 2017 16:47:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 59a7Vue0rIBu for ; Mon, 6 Mar 2017 16:47:34 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0C82F5F297 for ; Mon, 6 Mar 2017 16:47:34 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 30012E0419 for ; Mon, 6 Mar 2017 16:47:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D1C552416A for ; Mon, 6 Mar 2017 16:47:32 +0000 (UTC) Date: Mon, 6 Mar 2017 16:47:32 +0000 (UTC) From: "James Joseph Masanz (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CTAKES-357) Adding support for mention of Medical Devices MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Mar 2017 16:47:37 -0000 [ https://issues.apache.org/jira/browse/CTAKES-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Joseph Masanz updated CTAKES-357: --------------------------------------- Affects Version/s: 3.2.2 Issue Type: Improvement (was: Bug) > Adding support for mention of Medical Devices > --------------------------------------------- > > Key: CTAKES-357 > URL: https://issues.apache.org/jira/browse/CTAKES-357 > Project: cTAKES > Issue Type: Improvement > Components: ctakes-type-system > Affects Versions: 3.2.1, 3.2.2 > Reporter: Bruce Tietjen > Priority: Minor > Fix For: future enhancement > > > To add support for annotating Medical Devices: > Adding a DeviceMention that uses EntityMention as the supertype: > TypeSystem.xml: > > org.apache.ctakes.typesystem.type.textsem.DeviceMention > Corresponds to the UMLS Devices semantic group: medical device and research device. > org.apache.ctakes.typesystem.type.textsem.EntityMention > > > entity > > org.apache.ctakes.typesystem.type.refsem.Entity > > > > Changes to UmlsToSnomedConsumerImpl.java: > - add a configuration parameter for deviceTuis (along side the existing medicationTuis, procedureTuis, etc.) > static private final String DEVICE_TUIS_PRP_KEY = "deviceTuis"; > private Set _deviceTuiSet = new HashSet<>(); > - load the list in the constructor (UmlsToSnomedConsumerImpl) and add it to _validTuiSet: > _deviceTuiSet = loadList( props.getProperty( DEVICE_TUIS_PRP_KEY ) ); // 8 > _validTuiSet.addAll( _deviceTuiSet ); > - add code to getNamedEntityType to set their type to CONST.NE_TYPE_ID_DEVICE > } else if ( _deviceTuiSet.contains( tui ) ) { > return CONST.NE_TYPE_ID_DEVICE; > } > - in consumeHits, add: > } else if ( conceptKey == CONST.NE_TYPE_ID_DEVICE ) { > neAnnot = new DeviceMention( jcas ); > } -- This message was sent by Atlassian JIRA (v6.3.15#6346)