@@ -232,41 +232,52 @@ class LogReference(Enum):
232232 PROUPSERT000 = _Reference (
233233 "INFO" , "Starting to process producer upsertDocumentReference"
234234 )
235- PROUPSERT001 = _Reference ("DEBUG" , "Validating DocumentReference resource" )
236- PROUPSERT002 = _Reference ("WARN" , "DocumentReference resource failed validation" )
235+ PROUPSERT001 = _Reference ("DEBUG" , "Upsert - Validating DocumentReference resource" )
236+ PROUPSERT002 = _Reference (
237+ "WARN" , "Upsert -DocumentReference resource failed validation"
238+ )
237239 PROUPSERT003 = _Reference (
238- "WARN" , "ODS code in headers does not match ODS code in resource ID"
240+ "WARN" , "Upsert - ODS code in headers does not match ODS code in resource ID"
239241 )
240242 PROUPSERT004 = _Reference (
241- "WARN" , "ODS code in headers does not match ODWS code in resource custodian"
243+ "WARN" ,
244+ "Upsert - ODS code in headers does not match ODWS code in resource custodian" ,
242245 )
243246 PROUPSERT005 = _Reference (
244- "WARN" , "Organisation is not allowed to upsert pointer type"
247+ "WARN" , "Upsert - Organisation is not allowed to upsert pointer type"
245248 ) #
246- PROUPSERT006 = _Reference ("DEBUG" , "Performing relatesTo validation on resource" )
249+ PROUPSERT006 = _Reference (
250+ "DEBUG" , "Upsert - Performing relatesTo validation on resource"
251+ )
247252 PROUPSERT007a = _Reference (
248- "WARN" , "RelatesTo validation failed - no target identifier value"
253+ "WARN" , "Upsert - RelatesTo validation failed - no target identifier value"
249254 )
250255 PROUPSERT007b = _Reference (
251- "WARN" , "RelatesTo validation failed - invalid producer for target identifier"
256+ "WARN" ,
257+ "Upsert - Upsert - RelatesTo validation failed - invalid producer for target identifier" ,
252258 )
253259 PROUPSERT007c = _Reference (
254- "WARN" , "RelatesTo validation failed - no pointer exists with target identifier"
260+ "WARN" ,
261+ "Upsert - elatesTo validation failed - no pointer exists with target identifier" ,
255262 )
256263 PROUPSERT007d = _Reference (
257- "WARN" , "RelatesTo validation failed - relating pointer NHS number mismatch"
264+ "WARN" ,
265+ "Upsert - RelatesTo validation failed - relating pointer NHS number mismatch" ,
258266 )
259267 PROUPSERT007e = _Reference (
260- "WARN" , "RelatesTo validation failed - relating pointer document type mismatch"
268+ "WARN" ,
269+ "Upsert - RelatesTo validation failed - relating pointer document type mismatch" ,
270+ )
271+ PROUPSERT008 = _Reference (
272+ "INFO" , "Upsert - Selecting document as target to be superseded"
261273 )
262- PROUPSERT008 = _Reference ("INFO" , "Selecting document as target to be superseded" )
263274 PROUPSERT009 = _Reference ("INFO" , "Upserting new document reference" )
264- PROUPSERT010 = _Reference ("INFO" , "Superseding document reference" )
275+ PROUPSERT010 = _Reference ("INFO" , "Upsert - Superseding document reference" )
265276 PROUPSERT011 = _Reference (
266- "INFO" , "Preserved .date field when creating new document reference"
277+ "INFO" , "Upsert - Preserved .date field when creating new document reference"
267278 )
268279 PROUPSERT999 = _Reference (
269- "INFO" , "Successfully completed producer createDocumentReference "
280+ "INFO" , "Successfully completed producer upsertDocumentReference "
270281 )
271282
272283 # Producer - DeleteDocumentReference
0 commit comments