    @Test
    void testR4DateSearchParams() {

        SearchParameterResolver resolver = new SearchParameterResolver(FhirContext.forR4());

        RuntimeSearchParam param = resolver.getSearchParameterDefinition("ServiceRequest", "authoredOn",
                RestSearchParameterTypeEnum.DATE);
        assertNotNull(param);
        assertEquals("authored", param.getName());
    }