Open matttsai-orx opened 4 days ago
Hello @matttsai-orx, that function doesn't exist and might've been leftover during some cleanup. Apologies for that. For your solution you can actually just use type assertion : https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions
Example:
const patient = object as Patient;
Description
When following the instructions in the FHIR.ts Getting Started guide, I encountered an error related to deserializing a Patient resource. The specific error message is:
Error deserializing Patient resource: TypeError: resourceUtils.deserializedPatientResource is not a function
Steps to Reproduce
Expected Behavior
The Patient resource should be successfully deserialized without any errors.
Additional Context