Skip to content

Conversation

@avirgulto
Copy link

Describe your changes

When a medication request contains medicationreference instead of medication codableconcept it doesn't work. We need to handle when the MedicationRequest contains a medicationReference instead of a medicationCodeableConcept.

Test case: The Turalio MedicationRequest (pat036-mr-turalio) for Alice Smith (pat036) contains a medicationReference instead of a medicationCodeableConcept.
To Test:
Go through steps as normal for alice smiths's turalio medicaiton. Should see etasu status as expected.

Issue ticket number and Jira link

https://jira.mitre.org/browse/REMS-668

Checklist before requesting a review

  • I have performed a self-review of my code
  • Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

  • Review the code changes and make sure they all make sense and are necessary.
  • Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

Workflow

Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.

@plarocque4 plarocque4 self-assigned this May 14, 2024
@plarocque4
Copy link

The change look great and work well from the request generator. I tested the same medication/patient from the pharmacy and the SMART on FHIR app and found that the ETASU check wasn't updating properly. This is likely a similar problem. We need to decide if we should fix it here or with another ticket.

Copy link

@plarocque4 plarocque4 left a comment

Choose a reason for hiding this comment

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

This works well for queries from the request generator.

@plarocque4 plarocque4 merged commit 4879152 into dev May 17, 2024
@plarocque4 plarocque4 deleted the 668-etasu-med-reference branch May 17, 2024 17:04
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