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

ResolveReferences can't resolve some reference #131

Open
yuliumitre opened this issue Jul 26, 2021 · 1 comment
Open

ResolveReferences can't resolve some reference #131

yuliumitre opened this issue Jul 26, 2021 · 1 comment

Comments

@yuliumitre
Copy link

I am trying to send a request via client to resolve two references for MedicationDispense

client
.request(MedicationDispense/${medicationDispense.id}, {
resolveReferences: ["performer.0.actor", "authorizingPrescription.0"],
graph: false,
flat: true,
})

The result comes back only with the "performer" reference. I debug into the client code, the function resolveRef(), the obj doesn't have "authorizingPrescription". However, using FHIR HAPI API, it has been confirmed that the MedicationDispense in the EHR contains "authorizingPrescription". I am wondering if this is an issue of the fhirclient? Thanks in advance.

@vlad-ignatov
Copy link
Collaborator

Can you post the JSON response from the MedicationDispense/${medicationDispense.id} request (or a link to it if its an open server)?

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

No branches or pull requests

2 participants