Skip to content

Conversation

@dmendelowitz
Copy link
Contributor

Summary

This PR adds a new CTC Adverse Event Extractor that is just a duplicate of the Adverse Event Extractor.

New behavior

You can now extract using the CTCAdverseEventExtractor and receive the same results as the normal AdverseEventExtractor

Code changes

  • AdverseEvent files duplicated and renamed to CTCAdverseEvent (CTCAdverseEventExtractor.js, CTCAdverseEventTemplate.js, ctc-adverse-event-information.csv)
  • CTCAdverseEvent added to relevant client files (mCODEClient.js, ResourceGenerator.js, index.js)

Testing guidance

Run the extractor with CTCAdverseEventExtractor in your config:

{
  "label": "ctcAdverseEvent",
  "type": "CSVCTCAdverseEventExtractor",
  "constructorArgs": {
    "filePath": "./test/sample-client-data/ctc-adverse-event-information.csv"
  }
}

You should get the same output as if you were running the AdverseEventExtractor

@julianxcarter julianxcarter merged commit 882188b into develop Nov 19, 2021
@julianxcarter julianxcarter deleted the duplicate-ae branch November 19, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants