Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Timing to Medication Request Extractor #204

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

dmendelowitz
Copy link
Contributor

Summary

This PR adds timingCode and timingEvent to the Medication Request template to populate the Timing field of the Cancer Related Medication Request extractor

function timingTemplate({ timingCode, timingEvent }) {
return {
timing: {
event: [timingEvent],
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this have the potential for creating a value of [null] or [undefined] when serialized out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed it does. Should be fixed in the latest commit

@rdingwell rdingwell merged commit 8950fb4 into main Dec 4, 2023
8 checks passed
@rdingwell rdingwell deleted the medication-request-timing branch December 4, 2023 14:31
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.

2 participants