{
	"id": "TherapeuticProcedure.json",
	"title": "Therapeutic Procedure",
	"description": "A medical procedure intended primarily for therapeutic purposes, aimed at improving a health condition.",
	"media": {"type": "application/json;profile=http://schema.org/TherapeuticProcedure"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}, {"$ref": "MedicalProcedure.json"}],
	"type": "object",
	"properties": {
		"adverseOutcome": {"$ref": "MedicalEntity.json#/definitions/possibleRefArray"},
		"doseSchedule": {"$ref": "DoseSchedule.json#/definitions/possibleRefArray"},
		"drug": {"$ref": "Drug.json#/definitions/possibleRefArray"},
		"indication": {"$ref": "MedicalIndication.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": "{+$}"
					}]
				}
			]
		}
	}
}