{
	"id": "Patient.json",
	"title": "Patient",
	"description": "A patient is any person recipient of health care services.",
	"media": {"type": "application/json;profile=http://schema.org/Patient"},
	"allOf": [
		{"$ref": "Thing.json"},
		{"$ref": "Intangible.json"},
		{"$ref": "Audience.json"},
		{"$ref": "PeopleAudience.json"},
		{"$ref": "MedicalAudience.json"},
		{"$ref": "Enumeration.json"},
		{"$ref": "MedicalEnumeration.json"},
		{"$ref": "Person.json"}
	],
	"type": "object",
	"properties": {
		"diagnosis": {"$ref": "MedicalCondition.json#/definitions/possibleRefArray"},
		"drug": {"$ref": "Drug.json#/definitions/possibleRefArray"},
		"healthCondition": {"$ref": "MedicalCondition.json#/definitions/possibleRef"}
	},
	"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": "{+$}"
					}]
				}
			]
		}
	}
}