Conversation
|
Nothing wrong with the resource, it's code in the rems-admin's src/hooks/hookResources.ts that causes the Bad Request to happen. Running everything on the latest dev branch (except test-ehr on this, and using my existing Docker containers/images for rems-setup's Mongo and Keycloak instances whose configs haven't changed). |
|
Upon looking up '2183126' (Turalio's code) I also see that within rems-admin, it's referenced in src/fhir/utilities.ts for the FhirUtilities.prepopulateDB method as well, so if Addyi's not added in there then it won't show up in rems-admin when you click the reset REMS admin button in the settings panel |
jtquach1
left a comment
There was a problem hiding this comment.
I think the changes in test-ehr are fine, but rems-admin might need a separate PR to fulfill this ticket- also see my comments above (that I forgot to put in this review)
|
nvm saw the other pr |



Describe your changes
Add support for Addyi, a medication that does not have ETASU and only has a medication guide.
These changes are needed to support the no_etasu branch in rems-admin.
Issue ticket number and Jira link
REMS-616
Checklist before requesting a review
devnot main (the only exception to this is releases fromdevand hotfix branches)Checklist for conducting a review
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.