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

fix(fhir): deduplicate document references upstream of fhir upsert #2318

Merged
merged 4 commits into from
Jun 21, 2024

Conversation

jonahkaye
Copy link
Member

@jonahkaye jonahkaye commented Jun 20, 2024

Ticket: #1667

Description

  • deduplicate document references upstream of upsert to fhir

Testing

  • local
    • write a unit test
  • Staging
    • test

Release Plan

  • Merge this

@@ -21,12 +21,16 @@ export function containsMetriportId(
return docRef.metriportId != undefined;
}

export function filterDocRefsWithMetriportId(
documentReferences: DocumentReference[]
Copy link
Member Author

Choose a reason for hiding this comment

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

we already have a function called containsMetriportId that does this. Not nessecary to have this one too

@jonahkaye jonahkaye marked this pull request as ready for review June 20, 2024 21:59
Copy link
Member

@leite08 leite08 left a comment

Choose a reason for hiding this comment

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

🚀

@jonahkaye jonahkaye added this pull request to the merge queue Jun 21, 2024
Merged via the queue into develop with commit d0e9720 Jun 21, 2024
11 checks passed
@jonahkaye jonahkaye deleted the fix-hapi-metriport-id-dup-errors branch June 21, 2024 15:39
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.

None yet

2 participants