2.7.26 Release Notes
Bug fixes
admission_create () : was ignoring the “date” parameter. The ADMISSIONS were always created using the current datetime
case_admission_list () : The parameter “subscription” was ignored and the function was always returning all the ADMISSIONs of the CASE without filtering by SUBSCRIPTION
case_insert () : Was allowing to create a CASE indicating TEAM IDENTIFIERS or SUBSCRIPTION IDENTIFIERS with incomplete or invalid information
case_get_contact () : Was not setting the default nationality to the country of the active session user country.
Was allowing to create a CASE indicating TEAM IDENTIFIERS or SUBSCRIPTION IDENTIFIERS with incomplete or invalid information
Was not removing empty addresses of the CONTACT
case_search () : Fixed bug when searching by a TEAM IDENTIFIER
event_admission_list ( session, event, case {,get },subscription) : The parameter “subscription” was ignored and the function was always returning all the ADMISSIONs of the CASE without filtering by SUBSCRIPTION
event_insert () : Now it is possible to indicate the first comment of the EVENT.
form_close ( ) : Bug in RECURSIVE TASKS: When setting a recursive frequency less than one day (e.g. "4ADAY"), the original TASK ends up with an incorrect date
form_get_array_summary () : Corrected bug that indicated wrong ‘edit’ permissions ot the ITEMS of the array if it was part of an embedded FORM
form_set_all_answers ( session, form, xml_answers{, close_form}) : Fixed bug that caused errors when setting the values of ITEMS of an ARRAY
form_set_answer () : When the active role is “Service”, allow to modify the contents of a FORM even if the TASK is locked
user_set_contact () Was not removing empty addresses of the CONTACT
Incompatibility with previous versions
The parameters or the response or the following functions have changed in a way that make the incompatible with previous version of the API.
To maintain compatibility with previous version ensure to indicate the desired API version when initiating a session with session_init ()
record_filter () : Modified XML response format
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550870 : Modified XML response format
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550881 : Modified XML response format
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550821 : Modified XML response format
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550879 : Modified format of the parameters
New functions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3167879169
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3166863392
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3136126977
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3136094209
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3140288513
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3142549505
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3136126998
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3138224129
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3138158593
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3136815105
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3139567617
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3143139329
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3137437697
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3138846721
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3169222657
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3197206557
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3198189576
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3158540289
Improvements
https://linkcare.atlassian.net/wiki/spaces/WS/pages/524366 :
Appended additional customizable fields (related with new https://linkcare.atlassian.net/wiki/spaces/WS/pages/3146940417 ).
Added new property to indicate whether an ADMISSION has status “INCOMPLETE” because the patient profile is not complete according to the FORMAT SETTINGS
https://linkcare.atlassian.net/wiki/spaces/WS/pages/5898366 :
Appended additional customizable fields (related with new https://linkcare.atlassian.net/wiki/spaces/WS/pages/3146940417 )
Added new property to indicate whether an ADMISSION has status “INCOMPLETE” because the patient profile is not complete according to the FORMAT SETTINGS
https://linkcare.atlassian.net/wiki/spaces/WS/pages/5898373 :
Appended additional customizable fields (related with new https://linkcare.atlassian.net/wiki/spaces/WS/pages/3146940417 )
Added new property to indicate whether an ADMISSION has status “INCOMPLETE” because the patient profile is not complete according to the FORMAT SETTINGS
https://linkcare.atlassian.net/wiki/spaces/WS/pages/17989914 : return extended information about the status of a deleted object (ADMISSION, TASK...)
https://linkcare.atlassian.net/wiki/spaces/WS/pages/524422 : The response includes the FORMULA assigned to the ITEM (only when active role is SERVICE)
https://linkcare.atlassian.net/wiki/spaces/WS/pages/524423 : The response includes the FORMULA assigned to each ITEM (only when active role is SERVICE)
https://linkcare.atlassian.net/wiki/spaces/WS/pages/31654133 : improvements to return a summary of the evaluation of the formula
https://linkcare.atlassian.net/wiki/spaces/WS/pages/525893650 : Added information about the default language and country
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3204055044 : Timezone can now be expressed as a region string (e.g. Europe/Madrid)
record_filter () : Added new RECORD property: “visibility”. Modified XML structure. Incompatible with previous versions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550870 : Added new RECORD property: “visibility”. Modified XML structure. Incompatible with previous versions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550881 : Added new RECORD property: “visibility”. Modified XML structure. Incompatible with previous versions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550821 : Added new RECORD property: “visibility”. Patients only can get RECORDS with a visibility property set for PATIENTS. Modified XML structure. Incompatible with previous versions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550879 : Added new RECORD property: “visibility”. Modified XML structure. Incompatible with previous versions
https://linkcare.atlassian.net/wiki/spaces/WS/pages/524440 Added property “recursive_mode”
https://linkcare.atlassian.net/wiki/spaces/WS/pages/524443 Added property “recursive_mode”
https://linkcare.atlassian.net/wiki/spaces/WS/pages/12288038 : allow to pass PROGRAM CODE and TEAM CODE instead of the numeric IDs
https://linkcare.atlassian.net/wiki/spaces/WS/pages/1399455800 Includes information about the number of ADMISSIONs managed by the professional.
Deprecated functions
FORM FORMULAS
https://linkcare.atlassian.net/wiki/spaces/WS/pages/30310423 : Now it is possible to indicate a to insert an activity in a relative position counting from the last FORM of the target TASK (before it was only possible to indicate the absolute position)
https://linkcare.atlassian.net/wiki/spaces/WS/pages/1777139731 : When requesting a redirect to the list of TASKS, EVENTS or PATIENTS it is possible to indicate a specific PROGRAM and/or TEAM
https://linkcare.atlassian.net/wiki/spaces/WS/pages/4817020 : Now it is allowed to calculate the difference between times (without the date part)
SETTINGS
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3146940417: new SETTING implemented
System configuration
New https://linkcare.atlassian.net/wiki/spaces/WS/pages/18874578 parameters:
$GLOBALS['WS_LINK_SUBFOLDER']: Congifuration to allow deploying the platform under a folder of a domain (e.g. https://test-api.linkcareapp.com/app1")
$GLOBALS['LEGAL_DOCS_FOLDER']: Parameter to override the default legal documents
$GLOBALS['PKPASS_CERTIFICATE_PASSWORD']: and $GLOBALS['PKPASS_CERTIFICATE_FILE']: parameters to configure the generation of Apple Wallet PKPass files
$GLOBALS['DEFAULT_COUNTRY']: Defines the default country used by the instance. This value is used to set the default nationality of new contacts and the default country of addresses
$GLOBALS['DEFAULT_LANGUAGE']: Defines the instance default language
New https://linkcare.atlassian.net/wiki/spaces/WS/pages/41910339 parameters:
RAILS_RELATIVE_URL_ROOT": Congifuration to allow deploying the platform under a folder of a domain (e.g. https://test.linkcareapp.com/app1)
API_SUBSCRIBE_URL: variable for customizing the URL that is used to subscribe to notifications sent from the WS-API. Specially designed to be used in internal networks with no access to public domain urls
DISABLE_COUNTRY_DETECTION: Disable the country detection of the connected users from the IP.
DEFAULT_LANGUAGE: Defines the instance default language
Reviewed support for REST API
The following functions have been revised to ensure that the reponse generates a correct JSON structure when invoking the API via REST protocol
https://linkcare.atlassian.net/wiki/spaces/WS/pages/1089568769
https://linkcare.atlassian.net/wiki/spaces/WS/pages/31654133
https://linkcare.atlassian.net/wiki/spaces/WS/pages/54755348
https://linkcare.atlassian.net/wiki/spaces/WS/pages/94474892
https://linkcare.atlassian.net/wiki/spaces/WS/pages/96212053
https://linkcare.atlassian.net/wiki/spaces/WS/pages/525893650
https://linkcare.atlassian.net/wiki/spaces/WS/pages/653099100
https://linkcare.atlassian.net/wiki/spaces/WS/pages/554500570
https://linkcare.atlassian.net/wiki/spaces/WS/pages/3204055044
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550870
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550881
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550821
https://linkcare.atlassian.net/wiki/spaces/WS/pages/68550879
System Daemon
The https://linkcare.atlassian.net/wiki/spaces/WS/pages/3115548677 can be used now to execute custom services apart from the internal maintenance processes