FDA / openfda

openFDA is an FDA 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
568 stars 131 forks source link

FAERS mapping for incomplete dates #67

Closed pozz82 closed 4 years ago

pozz82 commented 8 years ago

Hello, Trying to run FAERS pipeline ElasticSearch reported some errors indexing records with incomplete dates in some fields (e.g., drugstartdate, drugenddate, ...).

I think it is required to change the format for these fields in openfda/schemas/faers_mapping.json by adding also formats yyyy and yyyyMM.

Regards