Determine the Default N for Calculations

Description

Determine the default value for N to be used in calculations. This is used when Clin N or Path N (or both) are blank, but other T, N and M information is present. This will have no impact on the stored value and is solely a temporary state.
tmp_clin_n tmp_path_n tmp_clin_n tmp_path_n tmp_combined_n Source N
<BLANK> <BLANK> X X X 1
<BLANK> 88, X, 0, 0I-, 0I+, 0M-, 0M+, 0A, 0B, 1, 1MI, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4 X {{path_n_in}} {{path_n_in}} 2
88, X, 0, 0I-, 0I+, 0M-, 0M+, 0A, 0B, 1, 1MI, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4 <BLANK> {{clin_n_in}} X {{clin_n_in}} 1
88, X, 0, 0I-, 0I+, 0M-, 0M+, 0A, 0B, 1, 1MI, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4 88, X, 0, 0I-, 0I+, 0M-, 0M+, 0A, 0B, 1, 1MI, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4 {{clin_n_in}} {{path_n_in}} <BLANK> <BLANK>
<Any value> <Any value> ERROR:Both Clin N and Path N values need to be valid for the schema. ERROR:(Clin N and/or Path N invalid) ERROR:(Clin N and/or Path N invalid) ERROR:(Clin N and/or Path N invalid)