|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mmm.cms.homehealth.proto.logic.LogicRow
public class LogicRow
Based on the preliminary Case Mix table format of: Row ID: unique id Diagnostic Category id: 0 for rows that include field logic only 1 - 22 for Diagnostic Group id Diagnostic Category logic type indicator: 1 to indicate Primary code logic only 2 to indicate Primary code scoring after an Other code 3 to indicate Other code logic only 4 to indicate both Primary and Other logic Description: Equation 1 Value: Equation 2 Value: Equation 3 Value: Equation 4 Value: Field Logic: Variable length field with logic with brackets <if> Field="M0250" Condition="=" or ">" or "<" or "!=" or "<=" or ">=" Values="2, 3, 4" - comma separated list of values </if> Optionally: <and /> <or /> other condition...
| Field Summary | |
|---|---|
protected java.lang.String |
Description
|
protected DiagnosticCategoryIF |
diagnosticCategory
|
protected FieldConditionGroup[] |
fieldConditionGroup
|
protected DiagnosticCategoryLogicTypeID |
logicTypeID
|
protected PointsScoringEquations |
pointsScoringEquations
|
protected int |
rowId
|
| Constructor Summary | |
|---|---|
LogicRow(int rowId,
DiagnosticCategoryIF diagnosticCategory,
DiagnosticCategoryLogicTypeID logicTypeID,
PointsScoringEquations pointsScoringEquations,
java.lang.String Description,
FieldConditionGroup[] fieldConditionGroup)
|
|
| Method Summary | |
|---|---|
void |
addFieldConditionGroup(FieldConditionGroup condition)
adds a field condition group to the |
java.lang.String |
getDescription()
Get the value of Description |
DiagnosticCategoryIF |
getDiagnosticCategory()
Get the value of diagnosticCategory |
FieldConditionGroup[] |
getFieldConditionGroup()
Get the value of fieldConditionGroup |
FieldConditionGroup |
getFieldConditionGroup(int index)
Get the value of fieldConditionGroup at specified index |
DiagnosticCategoryLogicTypeID |
getLogicTypeID()
Get the value of logicTypeID |
PointsScoringEquations |
getPointsScoringEquations()
Get the value of pointsScoringEquations |
int |
getRowId()
Get the value of rowId |
boolean |
isLogicAccepted(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF code,
DiagnosisScoringGridIF scoringGrid,
int codeIndex)
This uses the data from the record to determine if the record meets the criteria for this logic. |
void |
setDescription(java.lang.String Description)
Set the value of Description |
void |
setDiagnosticCategory(DiagnosticCategoryIF diagnosticCategory)
Set the value of diagnosticCategory |
void |
setFieldConditionGroup(FieldConditionGroup[] fieldConditionGroup)
Set the value of fieldConditionGroup |
void |
setFieldConditionGroup(int index,
FieldConditionGroup newFieldConditionGroup)
Set the value of fieldConditionGroup at specified index. |
void |
setLogicTypeID(DiagnosticCategoryLogicTypeID logicTypeID)
Set the value of logicTypeID |
void |
setPointsScoringEquations(PointsScoringEquations pointsScoringEquations)
Set the value of pointsScoringEquations |
void |
setRowId(int rowId)
Set the value of rowId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int rowId
protected DiagnosticCategoryIF diagnosticCategory
protected DiagnosticCategoryLogicTypeID logicTypeID
protected PointsScoringEquations pointsScoringEquations
protected java.lang.String Description
protected FieldConditionGroup[] fieldConditionGroup
| Constructor Detail |
|---|
public LogicRow(int rowId,
DiagnosticCategoryIF diagnosticCategory,
DiagnosticCategoryLogicTypeID logicTypeID,
PointsScoringEquations pointsScoringEquations,
java.lang.String Description,
FieldConditionGroup[] fieldConditionGroup)
| Method Detail |
|---|
public void addFieldConditionGroup(FieldConditionGroup condition)
condition - public FieldConditionGroup[] getFieldConditionGroup()
public void setFieldConditionGroup(FieldConditionGroup[] fieldConditionGroup)
fieldConditionGroup - new value of fieldConditionGrouppublic FieldConditionGroup getFieldConditionGroup(int index)
index -
public void setFieldConditionGroup(int index,
FieldConditionGroup newFieldConditionGroup)
index - newFieldConditionGroup - new value of fieldConditionGroup at specified indexpublic java.lang.String getDescription()
public void setDescription(java.lang.String Description)
Description - new value of Descriptionpublic PointsScoringEquations getPointsScoringEquations()
public void setPointsScoringEquations(PointsScoringEquations pointsScoringEquations)
pointsScoringEquations - new value of pointsScoringEquationspublic DiagnosticCategoryLogicTypeID getLogicTypeID()
public void setLogicTypeID(DiagnosticCategoryLogicTypeID logicTypeID)
logicTypeID - new value of logicTypeIDpublic DiagnosticCategoryIF getDiagnosticCategory()
public void setDiagnosticCategory(DiagnosticCategoryIF diagnosticCategory)
diagnosticCategory - new value of diagnosticCategorypublic int getRowId()
public void setRowId(int rowId)
rowId - new value of rowId
public boolean isLogicAccepted(HomeHealthRecordIF record,
Icd9DiagnosisCodeIF code,
DiagnosisScoringGridIF scoringGrid,
int codeIndex)
record -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||