Skip to main content

Hi all,

Using the dentally sandbox application we have the option to add ‘custom_fields’ to a patient entity.
 

These fields can then be updated from the patient view.
 


But I can’t find the way to create the ‘custom_fields’ via the public API.
Similarly when trying to update a patient, passing along the ‘custom_fields’ property does not update the values set.

I’m trying to have a Dentally user set some custom value’s on the patient entity that can be accessed by a 3rd party application. Using the API we use the ‘metadata’ property but the Dentally user has not access to that. And vice versa the API has no access to set  the ‘custom_fields’ but the Dentally user can.

Is there a possible workaround for this?

Hi there!

For Patients, via the API, you can use `custom_field_1` and `custom_field_2` in the Patient endpoint to set custom fields on the patient details screen. See. https://developer.dentally.co/#patients. They’re just string objects, so the allowble content is pretty freeform. 

You can set the labels of these custom fields in Setting->Practice->Other->Custom Fields section. Hope that helps!

Cheers,

Phil


Your reply