pub async fn create_user<Repo: Repository + Send + Sync + 'static, Search: SearchEngine + Send + Sync + 'static, Terminology: FHIRTerminology + Send + Sync + 'static>(
services: &AppState<Repo, Search, Terminology>,
tenant: &TenantId,
user_resource: User,
password: Option<&str>,
) -> Result<User, OperationOutcomeError>