def METHOD_NAME(self):
    with self.assertRaisesRegexp(
        IntegrityError, "[NOT NULL constraint|null value in column].*fhir_id.*"
    ):
        self._create_user(
            "john",
            "password",
            first_name="John",
            last_name="Smith",
            email="john@smith.net",
            fhir_id=None,
        )