FHIRModels icon indicating copy to clipboard operation
FHIRModels copied to clipboard

Working with FHIR xml files?

Open dusiema opened this issue 4 years ago • 3 comments

Do the models work with XML based FHIR resources? If so are there any examples on this? Does it work with stream-based XMLParser?

dusiema avatar Jan 26 '22 10:01 dusiema

The repo vends Swift Codable types, and we currently only use it with JSON(En|De)coder. It should theoretically be possible to use an XML(En|De)coder but I have not tried to find or use one of these.

p2-apple avatar Jan 26 '22 17:01 p2-apple

Thank you for your reply. I did a brief research and could not find anything. I have successfully used MaxDesiatov/XMLCoder before but only with "self-designed" and limited XML files. I might give that a try.

dusiema avatar Jan 27 '22 09:01 dusiema

Great, let me know what you find!

p2-apple avatar Jan 27 '22 17:01 p2-apple