@AccessLevel(value=EXTERNAL)
public interface PDMRunCaseControlManager
Modifier and Type | Method and Description |
---|---|
void |
addCase(java.lang.String runID,
long caseID)
This method adds a given case to the PDM run and marks it as
PDMRUNCASECONTROLSTATUSEntry.UNPROCESSED . |
PDMRunCaseControlExt |
getCase(java.lang.String runID,
long caseID)
Retrieve the run case control details for the given run ID and case ID or
null if the specified case is not part of the PDM run. |
curam.core.struct.BatchProcessingIDList |
listCasesByRunID(java.lang.String runID)
Retrieve a list of integrated case IDs that have been added to the
specified Periodic Data Match (PDM) or PDM Annual Renewal run either by the
addCase(String, long) method or,
implicitly, by either of the PDM evidence maintenance APIs:
PDMEvidenceMaintenance.createDynamicEvidence(String, curam.dynamicevidence.facade.external.impl.DynamicEvidenceObjectInf)
or
PDMEvidenceMaintenance.createEvidence(String, curam.core.sl.infrastructure.impl.EIEvidenceInsertDtls)
. |
curam.core.struct.BatchProcessingIDList |
listCasesByRunIDAndState(java.lang.String runID,
curam.codetable.impl.PDMRUNCASECONTROLSTATUSEntry state)
Retrieve a list of integrated case IDs involved with a Periodic Data Match
(PDM) or PDM Annual Renewal run that have progressed to the specified
state . |
curam.core.struct.BatchProcessingIDList |
listFailedCasesByRunIDAndFailureType(java.lang.String runID,
curam.codetable.impl.PDMRUNCASEFAILURETYPECODEEntry failureType)
Retrieve a list of integrated case IDs involved with a Periodic Data Match
(PDM) or PDM Annual Renewal run that are currently in the
PDMRUNCASECONTROLSTATUSEntry.FAILURE state. |
void addCase(java.lang.String runID, long caseID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
PDMRUNCASECONTROLSTATUSEntry.UNPROCESSED
. Once in the
PDMRUNCASECONTROLSTATUSEntry.UNPROCESSED
state it will be picked up
by the out-of-the-box PDM and PDM Annual Renewal (Medicaid, CHIP, QHP)
batch processes.
If a case has previously been added to a PDM run, the API will throw a
duplicate record exception. The case added should be the integrated case ID
rather than the product delivery case.
This API makes no attempt to validate that client consent has been
given. If your PDM usage requires client consent to run projected
eligibility, it is the API users responsibility to validate that consent
was given before adding a case to a PDM run.runID
- The ID of the PDM or AR run this evidence is to be associated
with, for example AR-2014
. There must be a PDM run
configuration created with this run ID prior to attempting to modify
evidence.caseID
- The Ca
ID.curam.util.exception.AppException
- Generic infrastructure exception.curam.util.exception.InformationalException
- Generic infrastructure exception.PDMRunCaseControlExt getCase(java.lang.String runID, long caseID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
null
if the specified case is not part of the PDM run.runID
- The ID of the PDM or AR run this evidence is to be associated
with, for example AR-2014
. There must be a PDM run
configuration created with this run ID prior to attempting to modify
evidence.caseID
- The case ID.null
if
the case is not part of the PDM run.curam.util.exception.AppException
- Generic infrastructure exception.curam.util.exception.InformationalException
- Generic infrastructure exception.curam.core.struct.BatchProcessingIDList listCasesByRunID(java.lang.String runID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
addCase(String, long)
method or,
implicitly, by either of the PDM evidence maintenance APIs:
PDMEvidenceMaintenance.createDynamicEvidence(String, curam.dynamicevidence.facade.external.impl.DynamicEvidenceObjectInf)
or
PDMEvidenceMaintenance.createEvidence(String, curam.core.sl.infrastructure.impl.EIEvidenceInsertDtls)
.runID
- The ID of the PDM or AR run this evidence is to be associated
with, for example AR-2014
. There must be a PDM run
configuration created with this run ID prior to attempting to modify
evidence.curam.util.exception.AppException
- Generic infrastructure exception.curam.util.exception.InformationalException
- Generic infrastructure exception.curam.core.struct.BatchProcessingIDList listCasesByRunIDAndState(java.lang.String runID, curam.codetable.impl.PDMRUNCASECONTROLSTATUSEntry state) throws curam.util.exception.AppException, curam.util.exception.InformationalException
state
.runID
- The ID of the PDM or AR run this evidence is to be associated
with, for example AR-2014
. There must be a PDM run
configuration created with this run ID prior to attempting to modify
evidence.state
- The state
that cases
returned in this list should be in.curam.util.exception.AppException
- Generic infrastructure exception.curam.util.exception.InformationalException
- Generic infrastructure exception.curam.core.struct.BatchProcessingIDList listFailedCasesByRunIDAndFailureType(java.lang.String runID, curam.codetable.impl.PDMRUNCASEFAILURETYPECODEEntry failureType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
PDMRUNCASECONTROLSTATUSEntry.FAILURE
state. For these cases filter
based on the failure type
.runID
- The ID of the PDM or AR run this evidence is to be associated
with, for example AR-2014
. There must be a PDM run
configuration created with this run ID prior to attempting to modify
evidence.failureType
- The failure type
that
cases returned in this list should be in.curam.util.exception.AppException
- Generic infrastructure exception.curam.util.exception.InformationalException
- Generic infrastructure exception.