class IncidentRegisterPresenter extends RecordRegisterPresenter {

    @Override
    protected ItemValuesMap getItemValuesByRecordId(Long recordId) throws JSONException {
        Incident incidentItem = incidentService.getById(recordId);
        String incidentJson = new String(incidentItem.getContent().getBlob());
        final ItemValuesMap itemValues = new ItemValuesMap(JsonUtils.toMap(new Gson().fromJson
                (incidentJson, JsonObject.class)));
        itemValues.addStringItem(IncidentService.INCIDENT_ID, incidentItem.getUniqueId());

        addProfileItems(itemValues, incidentItem.getRegistrationDate(),
                incidentItem.getUniqueId(), null, recordId);

        return itemValues;
    }

    @Inject public  IncidentRegisterPresenter(IncidentService incidentService, IncidentFormService
            incidentFormService);

}