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