FDA / openfda

openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.
https://open.fda.gov
Creative Commons Zero v1.0 Universal
567 stars 131 forks source link

drug adverse events schema issue #185

Open maksle opened 2 years ago

maksle commented 2 years ago

"reportduplicate" field is sometimes an array (e.g. safetyreportid 20492851). The schema at https://download.open.fda.gov/drug/event/drugevent_schema.json indicates it is type object.

Also noticed that "drugrecurrence" has property "drugrecuractionmeddraversion" at the link above, but the YAML schema file at https://open.fda.gov/fields/drugevent.yaml and the website does not recognize this field. Is it an actual field?

Is the json schema canonical or not meant to be used?