smart-on-fhir / client-js

JavaScript client for FHIR
Other
292 stars 209 forks source link

includeResponse not working for FHIR update operations #162

Open cfeltner opened 1 year ago

cfeltner commented 1 year ago

When performing an update for a FHIR DocumentReference resource with includeResponse: true in the RequestOptions, the response is not included in the returned result.

client.update(JSON.parse(docref), { headers: { 'If-Match': `W/"${versionId || ''}"` }, includeResponse: true })