Currently, making a request to the "receivePatientData" service with action "get_server_info" returns a JSON including the list of consents configured on the remote server, each consent object containing the list of UIX extensions not shown in the form if that consent is affecting any fields. Example:
This list of UIX extensions is useless on the local server, because sections and fields may be configured differently. Instead (or in addition, for backwards compatibility), the remote server should send the actual list of fields form the fields parameter of each affected UIX, which has become mandatory in 1.3.
Suggested JSON format for consents:
(added: dataFields, an array with all the values present in the fields parameter of the UI extensions listed in formFields).
(See also the Push API documentation for more information about the Push protocol)