Skip to content

Conversation

@megan-bower4
Copy link
Contributor

@megan-bower4 megan-bower4 commented Jan 22, 2026

Overview

Jira ticket: NDR-365

Description

Context

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits.
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit and e2e tests passing:

@megan-bower4 megan-bower4 marked this pull request as ready for review February 5, 2026 09:30
@megan-bower4 megan-bower4 requested review from a team as code owners February 5, 2026 09:30
@chrisbloe chrisbloe changed the title NDR-365 Allow title to be optional [NDR-365] Allow title to be optional Feb 5, 2026
@megan-bower4 megan-bower4 force-pushed the NDR-365 branch 2 times, most recently from ae88fd6 to 3bf7b14 Compare February 5, 2026 12:11
assert field not in doc_ref["Item"]["RawRequest"]


def test_create_document_without_title(test_data):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change this text to make it clear this is only for PATIENT_DATA snomed code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the tests within the fhir folder (tests/e2e/api/fhir) are for PATIENT_DATA only, and the level above (tests/e2e/api) cover the Lloyd George use case. This is generated from the corresponding data helper function (so all the tests in this file for example use that snomed code only).

I think this would be useful to add to the readme though - I'm working on a test review ticket now so as part of that I can update the readme to make it clearer which snomed codes are being tested/expected :)

NogaNHS
NogaNHS previously approved these changes Feb 11, 2026
@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants