{
	"id": "MedicalProcedure.json",
	"title": "Medical Procedure",
	"description": "A process of care used in either a diagnostic, therapeutic, preventive or palliative capacity that relies on invasive (surgical), non-invasive, or other techniques.",
	"media": {"type": "application/json;profile=http://schema.org/MedicalProcedure"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}],
	"type": "object",
	"properties": {
		"bodyLocation": {"$ref": "#/definitions/bodyLocation"},
		"followup": {"$ref": "#/definitions/followup"},
		"howPerformed": {"$ref": "#/definitions/howPerformed"},
		"indication": {"$ref": "MedicalIndication.json#/definitions/possibleRefArray"},
		"outcome": {"$ref": "#/definitions/outcome"},
		"preparation": {"$ref": "#/definitions/preparation"},
		"procedureType": {"$ref": "MedicalProcedureType.json#/definitions/possibleRef"},
		"status": {"$ref": "#/definitions/status"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"bodyLocation": {
			"title": "Body Location",
			"description": "Location in the body of the anatomical structure.",
			"type": "string"
		},
		"followup": {
			"title": "Followup",
			"description": "Typical or recommended followup care after the procedure is performed.",
			"type": "string"
		},
		"howPerformed": {
			"title": "How Performed",
			"description": "How the procedure is performed.",
			"type": "string"
		},
		"outcome": {
			"title": "Outcome",
			"description": "Expected or actual outcomes of the study.",
			"anyOf": [{"type": "string"}, {"$ref": "MedicalEntity.json#/definitions/possibleRef"}]
		},
		"preparation": {
			"title": "Preparation",
			"description": "Typical preparation that a patient must undergo before having the procedure performed.",
			"anyOf": [{"$ref": "MedicalEntity.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"status": {
			"title": "Status",
			"description": "The status of the study (enumerated).",
			"anyOf": [{"$ref": "EventStatusType.json#/definitions/possibleRef"}, {"$ref": "MedicalStudyStatus.json#/definitions/possibleRef"}, {"type": "string"}]
		}
	}
}