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

Issue-65: PIX query to correctly add fullUrl to the value reference of targetId in the PIXm response #148

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

Conversation

mherman22
Copy link

@mherman22 mherman22 commented Aug 18, 2024

This intends to fix the targetId value pushed to parameters. Previously this wasn't doing anything but with this change, the ihe-pix request goes on as planned.

Fixes Issue: #19 and #65
@ashaban

@mherman22
Copy link
Author

this is the how the json should look like with this change.

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "targetId",
      "valueReference": {
        "reference": "http://opencr-fhir:8080/fhir/Patient/0b18ae68-4dee-424a-9aff-7ebb8edc867a"
      }
    },
    {
      "name": "targetIdentifier",
      "valueIdentifier": {
        "system": "http://openelis-global.org/pat_nationalId",
        "value": "FB868943ERCV44"
      }
    },
    {
      "name": "targetIdentifier",
      "valueIdentifier": {
        "system": "http://openelis-global.org/pat_guid",
        "value": "28c41297-21fe-4970-a3b7-20802102762c"
      }
    },
    {
      "name": "targetIdentifier",
      "valueIdentifier": {
        "system": "http://openelis-global.org/pat_uuid",
        "value": "28c41297-21fe-4970-a3b7-20802102762c"
      }
    }
  ]
}

@mherman22
Copy link
Author

@mherman22 mherman22 changed the title Ensure targetId has a valuereference Issue-65: PIX query to correctly add fullUrl to the value reference of targetId in the PIXm response Sep 2, 2024
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.

1 participant