@Component
@Named("org.phenotips.data.rest.internal.DefaultPatientsFetchResourceImpl")
@Singleton
public class DefaultPatientsFetchResourceImpl extends XWikiResource implements PatientsFetchResource
{
<BUG>private static final ObjectMapper OBJECT_MAPPER = getCustomObjectMapper();

private static final String SERIALIZER_LABEL = "PrimaryEntitySerializer";</BUG>
@Inject
private Logger logger;

@Component
@Named("org.phenotips.data.rest.internal.DefaultPatientsFetchResourceImpl")
@Singleton
public class DefaultPatientsFetchResourceImpl extends XWikiResource implements PatientsFetchResource
{
private final ObjectMapper objectMapper = getCustomObjectMapper();
@Inject
private Logger logger;
