-
Notifications
You must be signed in to change notification settings - Fork 8
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
Eliminate warnings for missing fields (fix unsigned commits) #1664
Eliminate warnings for missing fields (fix unsigned commits) #1664
Conversation
…meter refactor, fix logic for existence of practitioner
Co-Authored-By: Joel Biskie <84460447+jbiskie@users.noreply.github.com> Co-Authored-By: Jeremy Rosenfeld <10262289+JeremyIR@users.noreply.github.com>
Co-authored-by: tjohnson@flexion.us Co-authored-by: jrosenfeld@flexion.us
… check in getObr16ExtensionPractitioner
Co-authored-by: tjohnson7021 Co-authored-by: jeremyir
…lue, refactor PID-3.4 testing into discrete unit tests
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
shared/src/test/groovy/gov/hhs/cdc/trustedintermediary/external/hapi/HapiHelperTest.groovy
Show resolved
Hide resolved
shared/src/test/groovy/gov/hhs/cdc/trustedintermediary/external/hapi/HapiHelperTest.groovy
Show resolved
Hide resolved
shared/src/test/groovy/gov/hhs/cdc/trustedintermediary/external/hapi/HapiHelperTest.groovy
Show resolved
Hide resolved
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate passedIssues Measures |
Description
This PR updates and/or removes unnecessary fields in our FHIR mappings that were causing warnings when sending messages.
Note: this is a replacement of PR #1656, which had unsigned commits in the branch.
Issue
#940
When an extension contains a URL but no value of any type, the message "Resource is missing required element: value" is printed in the log.
There were 3 "value-less" extensions remaining that were producing these warnings.
CX-5
(PID-3.5
in the v2 message) - transform:RemovePatientIdentifiers
XPN-7
(PID-5.7
in the v2 message) - transform:RemovePatientNameTypeCode
OBR-16
(occurs only whenORC-12
is blank - transform:CopyOrcOrderProviderToObrOrderProvider
This PR ensures that the "value-less" extensions do not get added during the TI transforms and does some additional cleanup of the transform output to ensure that the values being cleared by the transforms no longer exist in other places in the affected resource.
See the Areas of Concern comment in the issue for more details.
Testing instructions
ORC-12
andOBR-16
through RS and TI end to end (such as CA examples 7, 19, or 20). Review the transformed fhir and final HL7.CX.5
,XPN.7
, andOBR.16
)Checklist