Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[0.5.0-Dev] Avro Schema generation for fields with identical ChoiceTypes fails #58

Closed
bdrillard opened this issue Nov 7, 2019 · 1 comment

Comments

@bdrillard
Copy link
Contributor

Description of Issue

Avro Schema generation fails with fields that have identical ChoiceType structures for a given Resource, e.g. Medication.ingredient.item[x] and Medication.package.content.item[x].

This causes a Schema redefinition error.

Expected Outcomes

It should be possible to generate Avro Schemas for Generic Records and SpecificRecords for Resources that have fields with identical ChoiceType structures.

These GenericRecords/SpecificRecords should be de/serializable to/from FHIR objects and Spark Rows and Avro objects.

@bdrillard
Copy link
Contributor Author

Fix merged into 0.5.0-dev feature branch by #59. Closing this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant