anchor.diff:  		{error, _Reason} ->
   			{error, 500}
   	end.
  -update_nrf(NrfRequest) ->
  +update_nrf1(RatingDataRef, NrfRequest) ->
   	try
   		case mochijson:decode(NrfRequest) of
   			{struct, _Attributes} = NrfStruct ->
  
positive.code: 				{error, 400, Problem}
  		end
  	of
  		{struct, _Attributes1} = NrfResponse ->
  			ReponseBody = mochijson:encode(NrfResponse),
  			ok = ocs_log:acct_log(diameter, server(),
  					start, LogRequest, LogResponse, undefined),
  			{200, [], ReponseBody };
  
negative.code: 				case rate(NrfMap, interim) of
  					ServiceRating when is_list(ServiceRating) ->
  						UpdatedMap = maps:update("serviceRating", ServiceRating, NrfMap),
  						NrfResponse = nrf(UpdatedMap),
  						{NrfResponse, log_request(RatingDataRef, 1, NrfMap),
  								log_reply(RatingDataRef, 1, UpdatedMap)};
  					{error, out_of_credit} ->
  						Problem = error_response(out_of_credit, undefined),
  						{error, 403, Problem};
  