Skip to content

Commit 53e3b32

Browse files
committed
Add component descriptor to all transforms
1 parent 8a749ce commit 53e3b32

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.ohnlp.medxn</groupId>
88
<artifactId>medxn</artifactId>
9-
<version>1.0.7</version>
9+
<version>1.0.8</version>
1010
<description>The MedXN medication Information extraction pipeline</description>
1111

1212
<repositories>

src/main/java/org/ohnlp/medxn/backbone/MedXNOutputToOHDSIFormatTransform.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.apache.beam.sdk.values.Row;
1111
import org.joda.time.Instant;
1212
import org.ohnlp.backbone.api.Transform;
13+
import org.ohnlp.backbone.api.annotations.ComponentDescription;
1314
import org.ohnlp.backbone.api.components.OneToOneTransform;
1415
import org.ohnlp.backbone.api.exceptions.ComponentInitializationException;
1516

@@ -32,6 +33,10 @@
3233
* <b>Important:</b> Requires that the OHDSI vocabulary load query first be run and loaded into backbone resources folder
3334
* as ohdsi_rxnorm_map.csv. Please refer to documentation for further details
3435
*/
36+
@ComponentDescription(
37+
name = "MedXN OHDSI Converter",
38+
desc = "Converts MedXN Output to the OHDSI Format for NOTE_NLP Table"
39+
)
3540
public class MedXNOutputToOHDSIFormatTransform extends OneToOneTransform {
3641
private static ThreadLocal<SimpleDateFormat> sdf = ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX"));
3742
private Schema schema;

0 commit comments

Comments
 (0)