@AccessLevel(value=EXTERNAL)
public class HealthCareProductManagerHelper
extends java.lang.Object
Constructor and Description |
---|
HealthCareProductManagerHelper() |
Modifier and Type | Method and Description |
---|---|
curam.core.struct.CaseKey |
createProductDelivery(curam.core.struct.CaseKey key,
long programID,
long primaryClient,
curam.healthcare.sl.impl.ProgramDetails programDetails,
curam.util.type.Date certificationStartDate,
curam.util.type.Date certificationEndDate)
Create a new Product with the values passed.
|
void |
maintainCaseGroups(curam.healthcare.sl.impl.CaseGroupsDetails caseGroupsDetails)
Updates the
CaseGroups table for CG1 (Benefit) and CG3
(Member), by reading display rule values from the latest decision. |
java.util.List<java.lang.Long> |
updateExistingProductDelivery(curam.healthcare.sl.impl.ProgramDetails programDetails)
Update the existing product delivery adding new participants to the product
as identified by
#getBenefitMemberConcernRoleList()
that are not currently participants. |
public curam.core.struct.CaseKey createProductDelivery(curam.core.struct.CaseKey key, long programID, long primaryClient, curam.healthcare.sl.impl.ProgramDetails programDetails, curam.util.type.Date certificationStartDate, curam.util.type.Date certificationEndDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- CaseKey Integrated Case ID.programID
- Long ID.primaryClient
- Long ID.programDetails
- ProgramDetails
certificationStartDate
- Date start.certificationEndDate
- Date end.curam.util.exception.AppException
curam.util.exception.InformationalException
public java.util.List<java.lang.Long> updateExistingProductDelivery(curam.healthcare.sl.impl.ProgramDetails programDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
#getBenefitMemberConcernRoleList()
that are not currently participants.programDetails
- ProgramDetails
curam.util.exception.AppException
curam.util.exception.InformationalException
public void maintainCaseGroups(curam.healthcare.sl.impl.CaseGroupsDetails caseGroupsDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
CaseGroups
table for CG1 (Benefit) and CG3
(Member), by reading display rule values from the latest decision. The
approach taken is to remove existing case group entries for this product
and insert new entries reflecting the latest decision. Where the product
type is Streamlined Medicaid, casegroups of type CG4 (Category) will also
be updated.caseGroupsDetails
- CaseGroupsDetails
populated with caseKey.
IMPORTANTHCRCaseGroupsRuleReference
bound to the product type identified by
the caseKey
passed. If no such binding is found then this
method will immediately return without doing anything.curam.util.exception.AppException
curam.util.exception.InformationalException