create a _fetch_status function in the docdata adapter to make test mocks easier