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-2853: Fixed issue with coding text being set from incorrect place when mapping allergy intolerances #324

Merged
merged 12 commits into from
Oct 16, 2023

Conversation

MartinWheelerMT
Copy link
Collaborator

What

This code change is to make the allergy intolerance mapper use the displayName of the block when setting the value for code.text.
It also fixes some bad data in the related test data for the EhrExtractHandlingIT tests and introduces an additional unit test.

Why

This issue was raised by under NIAD-2853 and will provide more relevant content when the Json Bundle is used by the consumer

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Internal change (non-breaking change with no effect on the functionality affecting end users)

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

MartinWheelerMT and others added 3 commits October 4, 2023 16:09
…t is present) when populating the text of the codeable concept

Add unit test to ensure correct mapping
Add snomed codes system to the codeable concepts in the unit tests for accuracy
Add xml source file for unit test
Update payload_part.xml to include new test case and removed confusing incorrect data which was already present
Update expectedBundle.json to reflect the changes made
@adrianclay
Copy link
Collaborator

NIAD-2853: Unexpected Allergy code text displayed in Medicus

Very confusing title, I think Medicus is only incidentally involved here.

I much prefer the text in the CHANGELOG.md "Fixed issue with coding text being set from incorrect place when mapping allergy intolerances."

@MartinWheelerMT MartinWheelerMT changed the title NIAD-2853: Unexpected Allergy code text displayed in Medicus NIAD-2853: Fixed issue with coding text being set from incorrect place when mapping allergy intolerances Oct 6, 2023
@MartinWheelerMT MartinWheelerMT enabled auto-merge (squash) October 6, 2023 14:30
Copy link
Contributor

@benhession benhession left a comment

Choose a reason for hiding this comment

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

Does the mapping documentation need updating with this change?

@MartinWheelerMT MartinWheelerMT merged commit 662a1b1 into main Oct 16, 2023
@MartinWheelerMT MartinWheelerMT deleted the NIAD-2853-unexpected-allergy-text-displayed branch October 16, 2023 09:12
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