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

Update NVI on upload #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Update NVI on upload #2

wants to merge 4 commits into from

Conversation

thomas-samoht
Copy link

@thomas-samoht thomas-samoht commented Sep 17, 2024

Issue: https://github.com/minvws/gfmodules-coordination/issues/71

When health data is uploaded to the HAPI, the HAPI needs to update the National Referral Index with a reference to the received health data.

@thomas-samoht thomas-samoht marked this pull request as ready for review September 17, 2024 12:07
@thomas-samoht thomas-samoht requested a review from a team as a code owner September 17, 2024 12:07
@snregales
Copy link

Can I get some description on this PR

@thomas-samoht
Copy link
Author

Can I get some description on this PR

  1. HAPI registers its endpoint to Addressing service

  1. Healthdata provider sends a Patient FHIR resource with BSN hash to the HAPI
  2. HAPI queries the Pseudonym service to register a new Pseudonym with the BSN hash
  3. Pseudonym service returns a created pseudonym
  4. HAPI stores the patient with the created pseudonym in its database

  1. Healthdata provider sends, to the HAPI, an ImagingStudy FHIR resource with a reference to a Patient
  2. HAPI finds the Patient belonging to the ImagingStudy
  3. HAPI queries the National Referral Index with the pseudonym of the Patient to register a new referral
  4. National Referral Index queries the pseudonym service and exchanges the pseudonym with a new pseudonym for its own provider_id
  5. HAPI stores the ImagingStudy

  1. Timeline service is used with BSN that belongs with the BSN hash of the created Patient
  2. Timeline service queries pseudonym service, national referral index, and Addressing service to find the endpoint of the HAPI
  3. Timeline service queries HAPI with pseudonym
  4. HAPI queries pseudonym service to find the correct pseudonym
  5. HAPI returns ImagingStudies belonging to Patient with pseudonym.

Copy link

@snregales snregales left a comment

Choose a reason for hiding this comment

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

LGTM

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