dotimplement / HealthChain

Simplify prototyping and testing LLM applications in healthcare context 💫 🏥
https://dotimplement.github.io/HealthChain/
Apache License 2.0
10 stars 1 forks source link

Replace the FHIR empty list default with None #41

Closed adamkells closed 2 months ago

adamkells commented 2 months ago

As pointed out in #40 , there are several FHIR resource fields which give empty lists that take up space in the resource model dump. This PR replaces these with None values so that the exclude_none flag in model_dump will exclude these.

This PR also resolves #44 by setting the resource types using Literals.

What does this PR change?