public interface DiagnosisCodeIF extends Describable, CodePositionalIF, CodeUlcerIF, OptionalPaymentCodeIF, EtiologyPairingIF, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_ICD_9_CM_DIAGNOSIS |
Modifier and Type | Method and Description |
---|---|
DiagnosisCodeIF |
clone()
creates an exact copy of this object that can be manipulated separately
without effecting this object
|
java.lang.String |
getCode()
Gets the code value
|
int |
getCodeType()
gets the code type
|
DiagnosticGroupIF |
getDiagnosticGroup()
gets the Diagnostic Group indicator
|
int |
getOffset()
Gets the 0 based position of the code within the record's Diagnosis
"grid".
|
boolean |
isBlank()
Codes can be blank, and this will return true if it is
|
boolean |
isECode()
This checks the current code value for a starting 'E'.
|
boolean |
isPrimaryAwardableCode()
gets the flag indicating that this Code allows the Diabetes, Neuro 1
and Skin 1 primary code in position 2
Introduced for V3413
|
boolean |
isValidCode()
gets the valid ICD-9-CM code indicator.
|
boolean |
isValidForScoring()
This value is used to determine if a code is used in the
scoring or should be skipped.
|
boolean |
isVCode()
This checks the current code value for a starting 'V'.
|
void |
setCode(java.lang.String code)
Sets the code value
|
void |
setCodeType(int type)
Sets the code type - must be either 1 for diagnosis or 2 for procedure
|
void |
setDiagnosticGroup(DiagnosticGroupIF dg)
sets the Diagnostic Group indicator
|
void |
setOffset(int position)
Sets the 0 based position of the code within the record's Diagnosis
grid
Introduced for V3312
|
void |
setPrimaryAwardableCode(boolean primaryAwardableVCode)
if the code is null or the code is not a V-Code, and the parameter value
is true, then this throws an IllegalStateException because the value can
not be set to true unless it is a V-Code.
|
void |
setValidCode(boolean bool)
Sets the valid code flag
|
void |
setValidForScoring(boolean bool)
sets the valid for scoring flag
|
getDescription, setDescription
isPrimary, isSecondaryOnly, setPrimary, setSecondaryOnly
isDiabeticUlcer, isUlcer, setDiabeticUlcer, setUlcer
isOptionalPaymentCode, setOptionalPaymentCode
getEtiologyPairCodes, isEtiologyInPairingList, isValidEtiologyPairing, setEtiologyPairCodes
static final int TYPE_ICD_9_CM_DIAGNOSIS
DiagnosisCodeIF clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
java.lang.String getCode()
int getCodeType()
DiagnosticGroupIF getDiagnosticGroup()
int getOffset()
boolean isBlank()
boolean isECode()
boolean isPrimaryAwardableCode()
boolean isValidCode()
boolean isValidForScoring()
boolean isVCode()
void setCode(java.lang.String code)
code
- void setCodeType(int type)
type
- void setDiagnosticGroup(DiagnosticGroupIF dg)
dg
- void setOffset(int position)
position
- void setPrimaryAwardableCode(boolean primaryAwardableVCode) throws java.lang.IllegalStateException
primaryAwardableCode
- java.lang.IllegalStateException
void setValidForScoring(boolean bool)
bool
- void setValidCode(boolean bool)
bool
-