anchor.diff:  			undefined
   	end.
   
  +-spec get_option(Option) -> Result 
  +	when
  +		Option :: atom(),
  +		NrfUri :: term().
  +%% @doc Get the Nrf endpoint uri.
  +get_option(Option) -> 
  +	Options = case application:get_env(ocs, diameter) of
  +		{ok, [{acct,[{_, _, Oplist}]}]} ->
  +			Oplist;
  +		{ok, [{auth,[{_, _, Oplist}]}]} ->
  +			Oplist;
  +		{ok, [{acct,[{_, _, Oplist}]}, {auth,[{_, _, []}]}]} ->
  +			Oplist;
  +		{ok, [{auth,[{_, _, []}]}, {acct,[{_, _, Oplist}]}]} ->
  +			Oplist;
  +	end,
  +	case lists:keyfind(Option, 1, Options) of
  +		{Option, Uri} ->
  +		false ->
  +			undefined
  +	end. 
  +
  
positive.code: 	post_request_iec1(SubscriberIds, SessionId, ServiceRating).
  %% @hidden
  post_request_iec1(SubscriberIds, SessionId, ServiceRating) ->
  	{ok, NrfUri} = application:get_env(ocs, nrf_uri),
  	{ok, Profile} = application:get_env(ocs, nrf_profile),
  	TS = erlang:system_time(?MILLISECOND),
  	InvocationTimeStamp = ocs_log:iso8601(TS),
  
negative.code: %% @doc POST SCUR rating data to a Nrf Rating Server.
  post_request_scur(SubscriberIds, SvcContextId,
  		SessionId, MSCC, Location, initial) ->
  	Path = get_option(nrf_uri) ++ ?BASE_URI,
  	ServiceRating = initial_service_rating(MSCC, binary_to_list(SvcContextId),
  			Location, undefined),
  	post_request_scur1(SubscriberIds, SessionId, ServiceRating, Path);
  post_request_scur(SubscriberIds, SvcContextId,
  		SessionId, MSCC, Location, interim) ->
  	Path = get_option(nrf_uri) ++ get_ref(SessionId) ++ "/" ++ "update",
  	ServiceRating = update_service_rating(MSCC, binary_to_list(SvcContextId),
  			Location),
  	post_request_scur1(SubscriberIds, SessionId, ServiceRating, Path);
  post_request_scur(SubscriberIds, SvcContextId,
  		SessionId, MSCC, Location, final) ->
  	Path = get_option(nrf_uri) ++ get_ref(SessionId) ++ "/" ++ "release",
  	ServiceRating = final_service_rating(MSCC, binary_to_list(SvcContextId),
  			undefined, Location),
  	post_request_scur1(SubscriberIds, SessionId, ServiceRating, Path).
  