Skip to content

Commit ec50b0c

Browse files
authored
Merge pull request #197 from bcgov/hotfix/accepted
fix(coding)!: add Accepted code support for process_events
2 parents 5a5a0f9 + d10cff3 commit ec50b0c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/utils/coding.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ export const CodingDictionary: Record<
1414
>
1515
> = Object.freeze({
1616
'https://bcgov.github.io/nr-pies/docs/spec/code_system/application_process': {
17-
APPLICATION: {
18-
codeSet: ['APPLICATION'],
19-
display: 'Application'
17+
ACCEPTED: {
18+
codeSet: ['APPLICATION', 'INITIAL_SUBMISSION_REVIEW', 'ACCEPTED'],
19+
display: 'Accepted'
2020
},
2121
ALLOWED: {
2222
codeSet: ['APPLICATION', 'DECISION', 'ALLOWED'],
2323
display: 'Allowed'
2424
},
25+
APPLICATION: {
26+
codeSet: ['APPLICATION'],
27+
display: 'Application'
28+
},
2529
DECISION_REVIEW: {
2630
codeSet: ['APPLICATION', 'DECISION', 'DECISION_REVIEW'],
2731
display: 'Decision Review'
@@ -82,6 +86,10 @@ export const CodingDictionary: Record<
8286
codeSet: ['APPLICATION', 'PRE_APPLICATION', 'SUBMITTED'],
8387
display: 'Submitted'
8488
},
89+
TECHNICAL_REVIEW: {
90+
codeSet: ['APPLICATION', 'TECH_REVIEW_COMMENT', 'TECHNICAL_REVIEW'],
91+
display: 'Technical Review'
92+
},
8593
TECH_REVIEW_COMMENT: {
8694
codeSet: ['APPLICATION', 'TECH_REVIEW_COMMENT'],
8795
display: 'Technical Review and Comment'
@@ -90,10 +98,6 @@ export const CodingDictionary: Record<
9098
codeSet: ['APPLICATION', 'TECH_REVIEW_COMMENT', 'TECH_REVIEW_COMPLETED'],
9199
display: 'Technical Review Completed'
92100
},
93-
TECHNICAL_REVIEW: {
94-
codeSet: ['APPLICATION', 'TECH_REVIEW_COMMENT', 'TECHNICAL_REVIEW'],
95-
display: 'Technical Review'
96-
},
97101
WITHDRAWN: {
98102
codeSet: ['APPLICATION', 'WITHDRAWN'],
99103
display: 'Withdrawn'

0 commit comments

Comments
 (0)