Installation Note 67547: SASĀ® Health: Cohort Builder 2.1.1 - New Cohort Characterization add-in template must be installed as part of the 2.1.1 installation process
As part of the installation of SAS Health: Cohort Builder 2.1.1, you must replace the existing Cohort Characterization add-in template with the new version for 2.1.1.
The process to obtain the updated add-in template version involves first deleting the existing (old) Cohort Characterization add-in template, along with any instances, prior to the installation and application of the 2.1.1 hot fix.
You delete the existing add-in template via the Cohort Builder UI. The sequence of steps to complete the process is as follows:
- Delete the existing (old) Cohort Characterization add-in template using the Cohort Builder UI.
- Stop the Health Analytics Framework (HAF) services.
- Install SAS Health: Cohort Builder 2.1.1 (the hot fix).
- Restart the HAF services.
If you are unable to delete the existing add-in template via the UI, there is an alternate manual process outlined below, which involves executing a command script from within a shell.
The following command script should be executed after the hot fix is installed, but prior to server restarts in order to properly remove the existing add-in template:
host="specify SAS Health instance URL"
template_name="Cohort%20Characterization"
api_user="username"
api_pass="password"
token=`curl -k ${host}/SASLogon/oauth/token -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -u "sas.ec:" -d "grant_type=password&username=${api_user}&password=${api_pass}" | sed s/[{}\"]//g | awk -F, '{for (i=1; i<=NF; i++) {if ($i ~ /access_token/) {print $i}}}' | awk -F\: '{print $2}'`
# If you have jq installed
template_id=`curl -k -H "Authorization: bearer ${token}" "${host}/healthAddInMgrService/templates?filter=eq(name,'${template_name}')" | jq -r '.items[0].id'`
# If not, read the response for the ID
curl -k -H "Authorization: bearer ${token}" "${host}/healthAddInMgrService/templates?filter=eq(name,'${template_name}')"
# Manually set template_id if not using jq
|
Operating System and Release Information
SAS System | SAS Health: Cohort Builder | Linux for x64 | 2.1.1 | | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Installation Note |
Priority: | high |
Date Modified: | 2021-03-05 15:12:07 |
Date Created: | 2021-03-03 16:53:53 |