You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since fhir-py-types Bundle class parses included resources, it will be good to return parsed resources in fetch/fetch_all/fetch_raw. It won't infer types but the returned resources will be models instead of AsyncFHIRResource
The issue is only with client method like get() that return either ResourceType or dict if no ResourceType specified. For uniformity all methods shall return valid typed model.
We can forbid using client.get and other methods without explicit resource type but these methods are used by SearchSet/Resource classes..
Since fhir-py-types Bundle class parses included resources, it will be good to return parsed resources in fetch/fetch_all/fetch_raw. It won't infer types but the returned resources will be models instead of AsyncFHIRResource
It also solves issue mentioned in #96 (comment)
The text was updated successfully, but these errors were encountered: