Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants