{
	"id": "MedicalOrganization.json",
	"title": "Medical Organization",
	"description": "A medical organization (physical or not), such as hospital, institution or clinic.",
	"media": {"type": "application/json;profile=http://schema.org/MedicalOrganization"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Organization.json"}],
	"type": "object",
	"properties": {
		"healthPlanNetworkId": {
			"oneOf": [
				{"$ref": "#/definitions/healthPlanNetworkId"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/healthPlanNetworkId"}
				}
			]
		},
		"isAcceptingNewPatients": {"$ref": "#/definitions/isAcceptingNewPatients"},
		"medicalSpecialty": {"$ref": "MedicalSpecialty.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": "{+$}"
					}]
				}
			]
		},
		"healthPlanNetworkId": {
			"title": "Health Plan Network Id",
			"description": "Name or unique ID of network. (Networks are often reused across different insurance plans).",
			"type": "string"
		},
		"isAcceptingNewPatients": {
			"title": "Is Accepting New Patients",
			"description": "Whether the provider is accepting new patients.",
			"type": "boolean"
		}
	}
}