Stream: python
Topic: StructureDefinition & fhir.resources
Łukasz Kułakowski (Sep 30 2021 at 07:11):
Hello everyone,
I've been working lately on building fhir server and I've been struggling with understanding the idea of validating my resources against structure definition. Is structure definition something that you can actually load into python and validate resource against that? Is it possible to make own root_validators with fhir.resources using my custom structure definitions?
Thanks in advance!
Lukas
Eric Haas (Sep 30 2021 at 17:48):
Is structure definition something that you can actually load into python and validate resource against that?
yes that is how is done in the reference implementations.
Last updated: Apr 12 2022 at 19:14 UTC