Line 58 expects the return type to be json. If left unspecified, it returns an array buffer that needs to be converted. This applies to many of the FHIR examples. For others who may come across this, I believe there are other issues with the TS types in the client library.
@nate-watkins Thank you so much for both this issue and the one in the APIs repo. I'll follow up with folks in the Client Libraries team. Appreciate the context that you've shared.
In which file did you encounter the issue?
healthcare/fhir/createFhirResource.js
Did you change the file? If so, how?
Describe the issue
Line 58 expects the return type to be json. If left unspecified, it returns an array buffer that needs to be converted. This applies to many of the FHIR examples. For others who may come across this, I believe there are other issues with the TS types in the client library.