{
	"id": "MedicalRiskScore.json",
	"title": "Medical Risk Score",
	"description": "A simple system that adds up the number of risk factors to yield a score that is associated with prognosis, e.g. CHAD score, TIMI risk score.",
	"media": {"type": "application/json;profile=http://schema.org/MedicalRiskScore"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}, {"$ref": "MedicalRiskEstimator.json"}],
	"type": "object",
	"properties": {"algorithm": {"$ref": "#/definitions/algorithm"}},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"algorithm": {
			"title": "Algorithm",
			"description": "The algorithm or rules to follow to compute the score.",
			"type": "string"
		}
	}
}