anchor.diff:  	</cfquery>
   	<cfreturn cc.collection_cde>
   </cffunction>
  +
  +<!----------------------------------------------------------------------------------------->
  +<cffunction name="saveNewIdentifier" access="remote" returnformat="json" queryformat="column">
  +	<cfargument name="q" required="yes">
  +	<cfif not isdefined("escapeQuotes")>
  +		<cfinclude template="/includes/functionLib.cfm">
  +	</cfif>
  +	<cfoutput>
  +		<cfloop list="#q#" index="kv" delimiters="&">
  +			<cfset k=listfirst(kv,"=")>
  +			<cfset v=replace(kv,k & "=",'')>
  +			<cfset "#k#"=urldecode(v)>
  +		</cfloop>
  +		<cfset fatalerrstr="">
  +		<cfset required="UUID,other_id_type,other_id_value,id_references">
  +		<cfloop list="#required#" index="i">
  +			<cfset thisVal=evaluate("variables." & i)>
  +			<cfif len(thisVal) is 0>
  +				<cfset fatalerrstr=listappend(fatalerrstr,'#i# is required',';')>
  +			</cfif>
  +		</cfloop>
  +
  +		<cfif len(fatalerrstr) is 0>
  +			<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
  +				insert into cf_temp_oids (
  +					status,
  +					EXISTING_OTHER_ID_TYPE,
  +					EXISTING_OTHER_ID_NUMBER,
  +					NEW_OTHER_ID_TYPE,
  +					NEW_OTHER_ID_NUMBER,
  +					NEW_OTHER_ID_REFERENCES,
  +					USERNAME
  +				) values (
  +					'linked to bulkloader',
  +					'UUID',
  +					'#uuid#',
  +					'#other_id_type#',
  +					'#escapeQuotes(other_id_value)#',
  +					'#id_references#',
  +					'#session.USERNAME#'
  +				)
  +			</cfquery>
  +			<cfset fatalerrstr='success'>
  +		</cfif>
  +		<cfreturn fatalerrstr>
  +	</cfoutput>
  +</cffunction>
  +
   <!----------------------------------------------------------------------------------------->
   <cffunction name="saveNewSpecimenAttribute" access="remote" returnformat="json" queryformat="column">
   	<cfargument name="q" required="yes">
  
positive.code: <cffunction name="saveNewSpecimenEvent" access="remote" returnformat="json" queryformat="column">
  	<cfargument name="q" required="yes">
  	<cfoutput>
  		
  		
  		<cfloop list="#q#" index="kv" delimiters="&">
  			<cfset k=listfirst(kv,"=")>
  			<cfset v=replace(kv,k & "=",'')>
  
negative.code: 			</cfif>
  		</cfif>
  	</cfif>
  
  
  
  	<cfloop list="#required#" index="i">
  		<cfset thisVal=evaluate("variables." & i)>
  		<cfif len(thisVal) is 0>
  			<cfset fatalerrstr=listappend(fatalerrstr,'#i# is required',';')>
  		</cfif>
  	</cfloop>
  
  
  		<cfif len(fatalerrstr) is 0>
  			<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
  				insert into cf_temp_specevent (
  