Skip to content

Python: fhirpy support search/fetch API #87

@ryukzak

Description

@ryukzak

The examples currently focus on working with CRUD (create), but fhirpy also supports searching for resources via client.resources(r4b.Patient).fetch() — where the return type is list[r4b.Patient]. I checked this construction, and it does not work at the moment because fhirpy tries to guess the resource type, and resourceType for the r4b.Patient class is not defined.

  1. примеры сейчас сосредоточены на работате с crud (create), но fhirpy поддерживает еще поиск ресурсов через client.resources(r4b.Patient).fetch() - где возвращаемый тип list[r4b.Patient]. я проверил такую конструкцию, она сейчас не работает из-за того, что fhirpy пытается угадать тип ресурса, а resourceType для класса r4b.Patient - не определен

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions