1414import org .checkerframework .checker .nullness .qual .UnknownKeyFor ;
1515import org .ohnlp .backbone .api .annotations .ComponentDescription ;
1616import org .ohnlp .backbone .api .annotations .ConfigurationProperty ;
17+ import org .ohnlp .backbone .api .annotations .InputColumnProperty ;
1718import org .ohnlp .backbone .api .components .LoadFromMany ;
1819import org .ohnlp .backbone .api .config .InputColumn ;
1920import org .ohnlp .backbone .api .exceptions .ComponentInitializationException ;
@@ -55,30 +56,45 @@ public class MedtatorOutputTransform extends LoadFromMany {
5556 path = "note_id_raw_col" ,
5657 desc = "The input column to use containing the note identifier from the raw text collection"
5758 )
59+ @ InputColumnProperty (
60+ sourceTags = {"Raw Text" }
61+ )
5862 private InputColumn note_identifer_raw_col ;
5963
6064 @ ConfigurationProperty (
6165 path = "note_text_raw_col" ,
6266 desc = "The input column to use containing the note text from the annotated entities"
6367 )
68+ @ InputColumnProperty (
69+ sourceTags = {"Entity Annotations" }
70+ )
6471 private InputColumn note_text_raw_col ;
6572
6673 @ ConfigurationProperty (
6774 path = "note_id_ann_col" ,
6875 desc = "The input column to use containing the note identifier from the annotated entities"
6976 )
77+ @ InputColumnProperty (
78+ sourceTags = {"Entity Annotations" }
79+ )
7080 private InputColumn note_identifer_ann_col ;
7181
7282 @ ConfigurationProperty (
7383 path = "note_ann_start_col" ,
7484 desc = "The input column to use containing the annotation start index from the annotated entities"
7585 )
86+ @ InputColumnProperty (
87+ sourceTags = {"Entity Annotations" }
88+ )
7689 private InputColumn ann_start_ann_col ;
7790
7891 @ ConfigurationProperty (
7992 path = "note_ann_end_col" ,
8093 desc = "The input column to use containing the annotation end index from the annotated entities"
8194 )
95+ @ InputColumnProperty (
96+ sourceTags = {"Entity Annotations" }
97+ )
8298 private InputColumn ann_end_ann_col ;
8399
84100 @ ConfigurationProperty (
@@ -87,6 +103,9 @@ public class MedtatorOutputTransform extends LoadFromMany {
87103 "Defaults to \" ConceptMention\" if left blank" ,
88104 required = false
89105 )
106+ @ InputColumnProperty (
107+ sourceTags = {"Entity Annotations" }
108+ )
90109 private InputColumn ann_type_col ;
91110
92111 @ Override
0 commit comments