Service Delivery Creation

On creation of a service delivery of type 'Product Delivery', 'Product Delivery with Invoicing' or 'Service Delivery with Eligibility', a product delivery case will be created by the system. This case is an instance of the product type that was configured on the underlying Service Offering. This product delivery is not visible to the user. The caseID of this product delivery is set as the deliveryTypeRelatedID on the service delivery record, and will also be associated with any invoice or attendance payment evidence records associated with the case (i.e., it will be set as the caseID on the associated Evidence Descriptor record). Service deliveries of type Service Delivery will continue to use the caseID of the associated integrated case or outcome plan to populate these fields.

For service deliveries that use product delivery processing to determine eligibility, a hook has been provided to listen for events raised by the Assessment Engine. A default implementation for the postInsertExamineDecisions method has been added in curam.cpm.sl.impl.CPMAssessmentEngineEventListener, which listens for the creation of new decisions. Where the new decision relates to a service delivery of type 'Product Delivery with Invoicing' or 'Service Delivery with Eligibility' and the decision result is 'Eligible', then a service authorization and any service authorization line items are automatically created for the service delivery. This default behaviour can be altered or enhanced as per agencies own requirements.