Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIAD-3130 - Add ConfidentialityCode support to ReferralRequest #734

Merged
merged 10 commits into from
Aug 1, 2024

Conversation

martin-nhs
Copy link
Contributor

@martin-nhs martin-nhs commented Jul 31, 2024

What

This PR updates the patient switching standard adapter to handle confidentiality codes. Specifically, if a confidentiality code with the value NOPAT is found in the ehrComposition or requestStatement, the meta.security field will be populated accordingly. If the confidentiality code has any value other than NOPAT, meta.security will NOT be added to the resource.

Why

More details can be found on the ticket.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the Changelog with details of my change in the UNRELEASED section if this change will affect end users
  • A corresponding change has been made to the Mapping Documentation repository

@martin-nhs martin-nhs marked this pull request as draft July 31, 2024 14:14
@martin-nhs martin-nhs requested review from adrianclay and ole4ryb July 31, 2024 14:41
@martin-nhs martin-nhs marked this pull request as ready for review July 31, 2024 14:48
@martin-nhs martin-nhs enabled auto-merge (squash) July 31, 2024 15:03
@martin-nhs martin-nhs changed the title NIAD-3130 NIAD-3130 - Add ConfidentialityCode supprot to requestStatement Aug 1, 2024
@martin-nhs martin-nhs changed the title NIAD-3130 - Add ConfidentialityCode supprot to requestStatement NIAD-3130 - Add ConfidentialityCode support to requestStatement Aug 1, 2024
@adrianclay adrianclay changed the title NIAD-3130 - Add ConfidentialityCode support to requestStatement NIAD-3130 - Add ConfidentialityCode support to RequestStatement Aug 1, 2024
@martin-nhs martin-nhs changed the title NIAD-3130 - Add ConfidentialityCode support to RequestStatement NIAD-3130 - Add ConfidentialityCode support to ReferralRequest Aug 1, 2024
@martin-nhs martin-nhs merged commit 43ccd97 into main Aug 1, 2024
1 check passed
@martin-nhs martin-nhs deleted the NIAD-3130 branch August 1, 2024 10:23
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