skalarsystems / fhirzeug

A Python FHIR specification parser and class generator
Apache License 2.0
17 stars 1 forks source link

Validate cardinality of an extended primitive field #70

Open Wauplin opened 3 years ago

Wauplin commented 3 years ago

If a JSON-primitive field is required, it is possible to provide only an extension instead. At the moment, this behavior is NOT implemented (a required primitive field must always be provided with a primitive value).

FHIR spec : https://www.hl7.org/fhir/extensibility.html#Special-Case