{
	"id": "MedicalTest.json",
	"title": "Medical Test",
	"description": "Any medical test, typically performed for diagnostic purposes.",
	"media": {"type": "application/json;profile=http://schema.org/MedicalTest"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}],
	"type": "object",
	"properties": {
		"affectedBy": {"$ref": "Drug.json#/definitions/possibleRefArray"},
		"normalRange": {"$ref": "#/definitions/normalRange"},
		"signDetected": {"$ref": "MedicalSign.json#/definitions/possibleRefArray"},
		"usedToDiagnose": {"$ref": "MedicalCondition.json#/definitions/possibleRefArray"},
		"usesDevice": {"$ref": "MedicalDevice.json#/definitions/possibleRefArray"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"normalRange": {
			"title": "Normal Range",
			"description": "Range of acceptable values for a typical patient, when applicable.",
			"anyOf": [{"$ref": "MedicalEnumeration.json#/definitions/possibleRef"}, {"type": "string"}]
		}
	}
}