getAuthorizationCode
public java.lang.String getAuthorizationCode()
Creates a authorization code base on the following:
1. Set M0030_YY = startOfCareDate (99) 2. Set M0030_DATE_CODE = value
returned from searching Table 8: Hexavigesimal Code Tables (converting
dates and point values to letter codes) - Part 1 – DATES in the Appendix
with value of M0030_START_CARE_MMDD (XX) 3. Set M0090_YY =
infoCompletedDate (99) 4. Set M0090_DATE_CODE = value returned from
searching Table 8: Hexavigesimal Code Tables (converting dates and point
values to letter codes) - Part 1 – DATES in the Appendix with value of
M0090_INFO_COMPLETED_MMDD (XX) 5. Set M0100_1 = M0100_ASSMT_REASON2 (X)
6. If episodeTiming = UK or 01, M0110_1_2 = 1 Else, If episodeTiming =
02, M0110_1_2 = 2 (X) 7. Set CLIN_SCORE1_CD = value returned from
searching Table 8: Hexavigesimal Code Tables (converting dates and point
values to letter codes) - Part 2 – POINTS in the Appendix with value of
CLIN_SCORE1 (X) 8. Set FUNC_SCORE1_CD = value returned from searching
Table 8: Hexavigesimal Code Tables (converting dates and point values to
letter codes) - Part 2 – POINTS in the Appendix with value of FUNC_SCORE1
(X) 9. Set CLIN_SCORE2_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of CLIN_SCORE2 (X)
10. Set FUNC_SCORE2_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of FUNC_SCORE2 (X)
11. Set CLIN_SCORE3_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of CLIN_SCORE3 (X)
12. Set FUNC_SCORE3_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of FUNC_SCORE3 (X)
13. Set CLIN_SCORE4_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of CLIN_SCORE4 (X)
14. Set FUNC_SCORE4_CD = value returned from searching Table 8:
Hexavigesimal Code Tables (converting dates and point values to letter
codes) - Part 2 – POINTS in the Appendix with value of FUNC_SCORE4 (X)
- Specified by:
getAuthorizationCode
in interface TreatmentAuthorizationIF
- Overrides:
getAuthorizationCode
in class TreatmentAuthorization
- Returns:
- non-null 30 character String that may be blank if the
authorization can not be determined