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

Bugfix for RemovePatientNameTypeCode transformation #1171

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

basiliskus
Copy link
Contributor

@basiliskus basiliskus commented Jul 10, 2024

Bugfix for RemovePatientNameTypeCode transformation

The RemovePatientNameTypeCode transformation, which is supposed to remove PID-5.7, instead was replacing it with L. We found the transformation is working correctly, but the L is being added in RS when converting FHIR => HL7. We found there is %resource.extension(%'rsext-xpn-human-name').extension("XPN.7").exists().not() condition in the mapping that will add character based on the .use field, when the extension doesn't exist. To fix it, instead of removing the extension we're just setting it to empty.

Copy link

@basiliskus basiliskus changed the title Add fix for issue in RS: instead of removing PID-5.7 it replaces it… Bugfix for RemovePatientNameTypeCode transformation Jul 11, 2024
@basiliskus basiliskus marked this pull request as ready for review July 11, 2024 15:45
@basiliskus basiliskus merged commit eecec6e into main Jul 11, 2024
16 checks passed
@basiliskus basiliskus deleted the bugfix/ucsd-oru-pid-transformation branch July 11, 2024 16:34
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