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-3114: Populate the "no disclosure to patient" label for Laboratory related resources #751

Merged
merged 17 commits into from
Aug 13, 2024

Conversation

ole4ryb
Copy link
Contributor

@ole4ryb ole4ryb commented Aug 7, 2024

What

Adding meta security for Observation, Specimen and DiagnosticReport

Why

Meta security is added to corresponding Observation, Specimen and DiagnosticReport resources when the following criterias are met:

PS Adaptor populates the meta.security field for the Observation (Uncategorised data) resource when the ObservationStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Uncategorised data) resource when the RequestStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Uncategorised data) resource when the EhrComposition / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (test group) resource when the CompoundStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (test group) resource when the RequestStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (test group) resource when the EhrComposition / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Test result) resource when the ObservationStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Test result) resource when the RequestStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Test result) resource when the EhrComposition / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Observation (Filing comment) resource when the NarrativeStatement / confidentialityCode is populated with NOPAT. (We didn’t see this happen in the XML we received for test 9732587652, but there is nothing stopping this from being theoretically possible)

PS Adaptor populates the meta.security field for the Observation (Filing comment) resource when the CompoundStatement / confidentialityCode is populated with NOPAT where the CompoundStatement is the parent for the NarrativeStatement.

PS Adaptor populates the meta.security field for the Observation (Filing comment) resource when the EhrComposition / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Specimen resource when the CompoundStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the Specimen resource when the EhrComposition / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the DiagnosticReport resource when the CompoundStatement / confidentialityCode is populated with NOPAT.

PS Adaptor populates the meta.security field for the DiagnosticReport resource when the EhrComposition / confidentialityCode is populated with NOPAT.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Internal change (non-breaking change with no effect on the functionality affecting end users)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

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

@ole4ryb ole4ryb changed the title Niad-3114 Niad-3114: Populate the "no disclosure to patient" label for Laboratory related resources Aug 12, 2024
@ole4ryb ole4ryb marked this pull request as ready for review August 12, 2024 13:37
CHANGELOG.md Outdated Show resolved Hide resolved
@martin-nhs martin-nhs enabled auto-merge (squash) August 13, 2024 09:45
@martin-nhs martin-nhs merged commit ad91f6a into main Aug 13, 2024
1 check passed
@martin-nhs martin-nhs deleted the NIAD-3114 branch August 13, 2024 10:08
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.

2 participants