larrachecoeur opened a new issue, #4907: URL: https://github.com/apache/couchdb/issues/4907
## Summary The usage of the underscore character as a prefix for system fields to makes it impossible to store native JSON-Fhir Documents in CouchDb. In [FHIR ](https://hl7.org/fhir/) someone decided to use the "_" as a prefix for field-extensions. ```json "birthDate" : "1974-12-25", "_birthDate" : { "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime", "valueDateTime" : "1974-12-25T14:35:45-05:00" }] }, ``` ## Desired Behaviour It should be possible to store any valid JSON Object in CouchDb ## Possible Solution Configurable "Special Character(s)" to allow JSON fieldnames beginning with underscore "_" . So each user can decide what chars to avoid in it's datadefinitions. Or perhaps a kind of internal masking for such keys ## Additional context It would be great to store JSON-Fhir objects natively in CouchDb because I think it could be the coolest thinkable storage engine for it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
