@AccessLevel(value=EXTERNAL)
@Implementable
public interface HCRAddMemberEvidenceMapper
Modifier and Type | Method and Description |
---|---|
java.util.List<curam.core.sl.struct.EvidenceKey> |
mapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store,
long caseParticipantRoleID,
curam.util.type.Date startDate)
Create the evidence.
|
java.util.List<curam.core.sl.struct.EvidenceKey> |
postMapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store,
long caseParticipantRoleID,
curam.util.type.Date startDate)
Perform any required business logic to occur after the evidence has been
created.
|
void |
preMapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store,
long caseParticipantRoleID,
curam.util.type.Date startDate)
Perform any assignments to the struct that represents the evidence either
from the persisted wizard state or elsewhere.
|
boolean |
shouldCreateEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store,
long caseParticipantRoleID,
curam.util.type.Date startDate)
Perform any required logic to determine whether the mapEvidence and
postMapEvidence functions are to be called.
|
void preMapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store, long caseParticipantRoleID, curam.util.type.Date startDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
store
- The persisted wizard state.caseParticipantRoleID
- The case participant role identifier for the
case participant that is being added by the wizard.startDate
- The start date for the evidence (assuming it has a start
date configured.curam.util.exception.AppException
- Generic exception signature.curam.util.exception.InformationalException
- Generic exception signature.boolean shouldCreateEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store, long caseParticipantRoleID, curam.util.type.Date startDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
store
- The persisted wizard state.caseParticipantRoleID
- The case participant role identifier for the
case participant that is being added by the wizard.startDate
- The start date for the evidence (assuming it has a start
date configured.curam.util.exception.AppException
- Generic exception signature.curam.util.exception.InformationalException
- Generic exception signature.java.util.List<curam.core.sl.struct.EvidenceKey> postMapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store, long caseParticipantRoleID, curam.util.type.Date startDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
store
- The persisted wizard state.caseParticipantRoleID
- The case participant role identifier for the
case participant that is being added by the wizard.startDate
- The start date for the evidence (assuming it has a start
date configured.curam.util.exception.AppException
- Generic exception signature.curam.util.exception.InformationalException
- Generic exception signature.java.util.List<curam.core.sl.struct.EvidenceKey> mapEvidence(curam.healthcare.guidedchanges.facade.struct.AddMemberWizardStoredDetails store, long caseParticipantRoleID, curam.util.type.Date startDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.guidedchanges.impl.GuidedChangeUtil
to create the
evidence, passing in the struct on the store which represents the evidence
type. For Static Evidence this typically entails a single call to the
generated service layer to create the evidence.store
- The persisted wizard state.caseParticipantRoleID
- The case participant role identifier for the
case participant that is being added by the wizard.startDate
- The start date for the evidence (assuming it has a start
date configured.curam.util.exception.AppException
- Generic exception signature.curam.util.exception.InformationalException
- Generic exception signature.