Skip to content

Releases: openhealthalgorithms/service

v1.6.4

24 Sep 02:46
3dd182d
Compare
Choose a tag to compare

For the assessments that doesn't run the calculations and returns null, the format changed to have the following output:

"assessment_type": {
      "code": "ASSESSMENT-FALSE",
      "eval": "No Assessment",
      "message": "No assessment performed",
      "refer": "no",
      "target": "",
      "tfl": "GRAY",
      "value": ""
}

The value and target may or may not have any data according to different assessment types.

The generic error format is changed from simple string to an error object like the following:

{
    "category": "assessments",
    "key": "assessment_type",
    "messages": [
        "... error messages ...",
        "... as a list of strings ..."
    ]
}

v1.6.3

21 Sep 21:38
8f9b6bc
Compare
Choose a tag to compare

For the cholesterol issue, the current value is passed to response without the assessments.
For BMI, the condition for checking range is changed as well as changed the ranges in guideline JSON.
Update Version to 1.6.3

v1.6.1

09 Sep 08:32
6d90205
Compare
Choose a tag to compare

Updated error checking for generating goals from assessments

v1.6.0

08 Sep 20:38
4a3bec4
Compare
Choose a tag to compare
v1.6.0 Pre-release
Pre-release
  • Basic error management implemented
  • Couple of tests are included for hellper tools

v1.5.0

17 May 05:25
dc9433d
Compare
Choose a tag to compare

Version 1.5

v1.0.0

27 Jan 10:06
f2a32ec
Compare
Choose a tag to compare

Documentation Coming SOON

v0.6.2

04 Jul 11:25
77e6eb8
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release
  • Updated the conversion between mmol/L and mg/dL value for cholesterol assessment.
  • It was 18 (conversation factor) before. Now it is 38.67.

v0.6

28 May 10:29
bddcce8
Compare
Choose a tag to compare
v0.6 Pre-release
Pre-release

Changes on this release

  • Cloud functionality added
  • Config changes for cloud functionality
[server]
port = "9595"                                                       # define port number to run the service. It's your responsibility to select an unused port number.

[files]
guideline_file = "guideline_hearts.json"                            # name of the guideline JSON file
guideline_content_file = "guideline_hearts_content.json"            # name of the guideline content JSON file
goal_file = "goals_hearts.json"                                     # name of the goal JSON file
goal_content_file = "goals_hearts_content.json"                     # name of the goal content JSON file
log_file = "ohas-logs.db"                                           # name of the logs database file

[directories]
guideline_path = "contents"                                         # path of the directory for guideline JSON and guideline content JSON file
goal_path = "contents"                                              # path of the directory for goal JSON and goal content JSON file
log_file_path = "~"                                                 # path of the log file

[cloud]
cloud_enable = false
cloud_bucket_name = ""
cloud_config_file = ""
cloud_db_host = ""
cloud_db_name = ""
cloud_db_user = ""
cloud_db_password = ""

v0.5.2

01 Mar 09:13
f157186
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

Changes on this release

  • pre-processing changes in the rules

The pre-processing is changed to the following structure:

"pre_processing": {
                "existing_cvd": [{
                    "conditions": [{
                            "diseases": {
                                "ami": true
                            }
                        },
                        {
                            "diseases": {
                                "hx_cvd": true
                            }
                        }
                    ],
                    "return": true
                }],
                "high_risk_conditions": [{
                    "conditions": [{
                            "diseases": {
                                "hx_pvd": true
                            }
                        },
                        {
                            "diseases": {
                                "hx_ckd": true
                            }
                        }
                    ],
                    "return": true
                }],
                "age_check_for_cvd": [{
                    "conditions": [{
                        "age": {
                            "from": 40
                        }
                    }],
                    "return": true
                }]
            },

v0.5.1

27 Feb 08:48
9722527
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Changes on this release

  • medications support in the rules

A sample rule conditions with medications:

{
	"category": "hypertension, on medication",
	"definition": "high blood pressure, on medication",
	"conditions": [
		{
			"medications": {
				"anti-hypertensive": true
			},
			"diabetes": false,
			"age": {
				"from": 41
			},
			"sbp": {
				"from": 141,
				"unit": "mmHg"
			},
			"target": "120/80"
		},
		{
			"medications": {
				"anti-hypertensive": true
			},
			"diabetes": false,
			"dbp": {
				"from": 91,
				"unit": "mmHg"
			},
			"target": "120/80"
		}
	],
	"code": "BP-HTN-ON-MEDICATION"
}

The medications object can hold the following values:

"medications": {
    "anti-hypertensive": true,
    "oral-hypoglycaemic": true,
    "insulin": true,
    "lipid-lowering": true,
    "anti-platelet": true,
    "anti-coagulant": true,
    "bronchodilator": true
}

You can provide input like this for medication:

"medications": [
    {
        "generic": "rampiril",
        "category": "anti-hypertensive",
        "class": ""
    }
],