1. Get email to send via AWS SES. yay 🥳 2. Sign ...
# general
c
> 1. Get email to send via AWS SES. yay 🥳 > 2. Sign up a provider via the invite link in the Super Admin project pane. yay 🥳 > 3. Cannot run bots, despite setting up lambda and bot layer in AWS, adding credentials to the server packages/server/medplum.config.json file. Am I supposed to add additional credentials in the AWS CLI? Ok, it sounds like you did the important things. Most likely case is that Bots need to be enabled on a project by a super admin user. I'm checking now, and this is not well documented (sorry ☹️). In short, sign into the app as a Super Admin user. Navigate to https://app.example.com/Project Find your project. Go to the "Edit" tab. Add "bots" in the "Features" field. If not that, do you see anything in the server logs? > 4. Cannot register user using the "register" link on the initial app splash page (For context, my environment is localhost. Setup is copied exactly from https://www.medplum.com/docs/contributing/run-the-stack). Specifically, on the registration form, the "Create Account" button appears to not submit anything from the form when clicked. This problem was spoken about in a post from a few days ago, where the context was hosting in GCP. Similar to Bots, there is a Super Admin step to enable open patient registration. Same as above, sign in as Super Admin, find your project, and set the "Default Patient Access Policy" to the access policy you want to use for open registration. Apologies about the missing docs for those. If you have any questions, let me know. We'll try to get the docs out asap.
x
Hey, Thanks heaps for the very detailed advice! I'm glad I'm on the right path. I will make a quick post responding to the bots question, and will get back to you regarding the login issue (I need a little bit more time to experiment). > Most likely case is that Bots need to be enabled on a project by a super admin user... Navigate to https://app.example.com/Project Find your project. Go to the "Edit" tab. Add "bots" in the "Features" field. I gave this a go (and then did a fresh install of the latest version of Medplum), but I am getting the error attached in the first screenshot. Additonal context, the "Features" menu is not being populated, as indicated by the second screenshot with the empty field and spinner. I had a cursory look through the docs for the endpoint in question
/fhir/R4/ValueSet/$expand
, but I must confess that I don't really know what is going on here.
c
Hmm... Interesting... I'll take a look at that. For now, you should be able to ignore the spinner and manually type "bots". Then select "+ Create bots". I'll look into the 400
The
$expand
operation is the FHIR way of searching for values in ValueSets: https://www.hl7.org/fhir/valueset-operation-expand.html
it looks like the ValueSet for Project.features is not setup correctly (note the "url=undefined" in the URL of the 400 error)
all that means is that autocomplete won't work for the input. you should be able to manually enter "bots" though
181 Views