Skip to content

Conversation

@julianxcarter
Copy link
Contributor

Summary

Adds support for the resolvedDate, expectation, and seriousnessOutcome extensions to the CTC AE Extractor. Also adds new valueSet helper functions.

New behavior

The CTC AE Extractor now extracts values for the three optional simple extensions found on the CTC AE resource.

Code changes

  1. Support for the three new simple extensions added to the CTC AE Extractor and Template.
  2. Three new helper functions have been added to valueSetUtils.js; getConceptFromVSExpansion and getConceptFromVSCompose return a concept from the respective parts of a ValueSet, and getDisplayFromConcept returns the displayText of a given concept from a valueSet when provided the code and codeSystem of that concept.
  3. Documentation updates to reflect the new fields in CSV_Templates.xlsx and docs/ctc-adverse-event.csv.

Testing guidance

Ensure unit tests pass, and that running the framework with the new values present in a CSV results in a valid CTC AE resource.

Copy link
Contributor

@dmendelowitz dmendelowitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good! My only comment is that I think it would be good to update the tests for the template in ctcAdverseEvent.test.js and it's related fixtures

@julianxcarter
Copy link
Contributor Author

Knew I was missing something! Thanks for the heads up on that @dmendelowitz 🙂

@dmendelowitz dmendelowitz merged commit 7533e92 into develop Dec 9, 2021
@dmendelowitz dmendelowitz deleted the ctcae-simple-extensions branch December 9, 2021 18:43
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