Stream: python
Topic: Support for extensions on primitives?
Eric Haas (Jul 11 2018 at 00:09):
Does the python FHIR model support extensions on elements that are primitives or url lists?
Pascal Pfiffner (Jul 11 2018 at 23:41):
Hasn't been implemented I believe, no. :-/
https://github.com/smart-on-fhir/client-py/blob/master/fhirclient/models/fhirabstractbase.py#L207
Eric Haas (Jul 12 2018 at 01:37):
K thanks
Pascal Pfiffner (Jul 12 2018 at 05:47):
You'd need to implement classes for all FHIR data types (string, number, dates, ...) and then generate models that use these instead of the Python primitives used today. The Swift library has done this switch some time in 2016 and could serve as inspiration.
Eric Haas (Nov 08 2018 at 16:59):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC