Skip to content

HDPI-5493 - Create Document Type list dynamically for England and Wales specific#1850

Merged
guygrewal77 merged 51 commits into
masterfrom
HDPI-5493-document-cat-related-changes
Jun 25, 2026
Merged

HDPI-5493 - Create Document Type list dynamically for England and Wales specific#1850
guygrewal77 merged 51 commits into
masterfrom
HDPI-5493-document-cat-related-changes

Conversation

@guygrewal77

@guygrewal77 guygrewal77 commented May 19, 2026

Copy link
Copy Markdown
Contributor

Jira link

See HDPI-5493

Change description

The Document List will be different for England and Wales and so will be created dynamically in the Upload Additional documents page.

To ensure any previously entered values are retained, a call is made to DraftDataService to populate the AdditionalDocuments.

Testing done

XUI testing to ensure the Document Types are in the right order and country specific, and also the documents are placed in the correct folders in Case File View.

Screenshot 2026-05-20 at 09 29 05 Screenshot 2026-05-20 at 09 35 05 Screenshot 2026-05-20 at 10 48 59 Screenshot 2026-05-20 at 09 47 17

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/28163181378?check_suite_focus=true

ComplexTypes/AdditionalDocument.json

ListElementCodeIDFieldTypeParameterFieldTypeElementLabel

documentType

AdditionalDocument

-AdditionalDocumentType 
+
-FixedList 
+DynamicList

Type of document

FixedLists/AdditionalDocumentType.json

ListElementCodeListElementID
+EICR_REPORT
+Electrical Installation Condition Report (EICR)
+AdditionalDocumentType
+ENERGY_PERFORMANCE_CERTIFICATE
+Energy performance certificate
+AdditionalDocumentType
+GAS_SAFETY_CERTIFICATE
+Gas safety certificate
+AdditionalDocumentType
+OCCUPATION_LICENCE
+Occupation contract or licence
+AdditionalDocumentType

@guygrewal77 guygrewal77 marked this pull request as ready for review May 20, 2026 09:51
Comment thread src/main/java/uk/gov/hmcts/reform/pcs/ccd/service/document/DocumentService.java Outdated
Comment thread src/main/java/uk/gov/hmcts/reform/pcs/ccd/service/document/DocumentService.java Outdated
@tvr-hmcts tvr-hmcts self-requested a review May 20, 2026 13:20
@srinijg srinijg requested a review from a team as a code owner June 24, 2026 08:36
@srinijg srinijg added enable_e2e_regression For running regression suite and removed enable_e2e_makeAClaim_test labels Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants