Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the resourceType field to Avro records #1214

Open
bashir2 opened this issue Oct 10, 2024 · 1 comment
Open

Add the resourceType field to Avro records #1214

bashir2 opened this issue Oct 10, 2024 · 1 comment
Labels
enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet.

Comments

@bashir2
Copy link
Collaborator

bashir2 commented Oct 10, 2024

This is a follow-up of #1003 and in particular this comment. Instead of trying to record the resource-type in the id field, we should add a resourceType field to the Avro representation of FHIR resources. Although this field is present in the JSON representation of all FHIR resources, but it seems to be missing from the StructureDefinition files and also the documentation.

@bashir2 bashir2 added enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet. labels Oct 10, 2024
@bashir2
Copy link
Collaborator Author

bashir2 commented Oct 10, 2024

This is not high priority for now (hence P3) because conversion to HAPI objects and then JSON encoding, adds the resourceType field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3:TBE An issue that is not evaluated and/or planned for implementation yet.
Projects
None yet
Development

No branches or pull requests

1 participant