Jim Fiorato
02/24/2026, 4:24 PMtrue, I get a bunch of validation errors.
Looking through the source code, $set-accounts strictly validates the resources it is propagating the account information to.
I haven't been running the project in strictMode, so normal resource CRUD work bypasses validation.
But looking at the strictMode setting on projects I see this message:
Whether this project uses strict FHIR validation. This setting has been deprecated, and can only be set by a super admin.
Why is $set-accounts doing validation on my project that does not have strictMode enabled?
Is strictMode truly deprecated? If so, is it deprecated in favor of another validation mechanism?Alex
02/24/2026, 6:09 PMstrictMode: false setting only affects writes made through your user context. For $set-accounts all of its writes go through the system repo, which always has strictMode hardcoded to true.
This means that resources in your project which were written while strictMode was off may not pass validation with $set-accounts, resulting in the validation errors you're seeing.
You’ll need to identify and fix the failing resources before running $set-accounts with propagate: true. You can use the $validate to find which resources will fail without actually writing them.
We recommend always using strictMode: true.Jim Fiorato
02/24/2026, 6:35 PMreshma
02/28/2026, 6:09 PMJim Fiorato
03/05/2026, 11:26 AM