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?
Uses literals to set the ResourceType field in resources.
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?