- recordOrSurDiag [1] CHOICE {
- record [1] IMPLICIT EXTERNAL,
- -- ........
- surrogateDiagnostics [2] IMPLICIT
- SEQUENCE OF DiagRec
- -- Choose 'SurrogateDiagnostics', if
- -- RecordStatus is failure.
- } OPTIONAL,
- correlationInfo [2] IMPLICIT CorrelationInfo OPTIONAL,
+ recordOrSurDiag [1] CHOICE {
+ record [1] IMPLICIT EXTERNAL,
+ -- Choose 'record' if recordStatus is 'success', and
+ -- elementSetName was supplied.
+ diagnostic [2] DiagRec
+ -- Choose 'diagnostic', if RecordStatus is failure.
+ } OPTIONAL,
+ -- The parameter recordOrSurDiag will thus be omitted only if
+ -- 'elementSetName' was omitted and recordStatus is
+ -- 'success'; or if record status is 'queued' or in 'process'.
+ correlationInfo [2] IMPLICIT CorrelationInfo OPTIONAL,