{
	"id": "Drug.json",
	"title": "Drug",
	"description": "A chemical or biologic substance, used as a medical therapy, that has a physiological effect on an organism. Here the term drug is used interchangeably with the term medicine although clinical knowledge make a clear difference between them.",
	"media": {"type": "application/json;profile=http://schema.org/Drug"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}, {"$ref": "Substance.json"}],
	"type": "object",
	"properties": {
		"activeIngredient": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/activeIngredient"}
				},
				{"$ref": "#/definitions/activeIngredient"}
			]
		},
		"administrationRoute": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/administrationRoute"}
				},
				{"$ref": "#/definitions/administrationRoute"}
			]
		},
		"alcoholWarning": {"$ref": "#/definitions/alcoholWarning"},
		"availableStrength": {"$ref": "DrugStrength.json#/definitions/possibleRefArray"},
		"breastfeedingWarning": {"$ref": "#/definitions/breastfeedingWarning"},
		"clinicalPharmacology": {
			"oneOf": [
				{"$ref": "#/definitions/clinicalPharmacology"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/clinicalPharmacology"}
				}
			]
		},
		"cost": {"$ref": "DrugCost.json#/definitions/possibleRef"},
		"dosageForm": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/dosageForm"}
				},
				{"$ref": "#/definitions/dosageForm"}
			]
		},
		"doseSchedule": {"$ref": "DoseSchedule.json#/definitions/possibleRefArray"},
		"drugClass": {"$ref": "DrugClass.json#/definitions/possibleRef"},
		"drugUnit": {"$ref": "#/definitions/drugUnit"},
		"foodWarning": {"$ref": "#/definitions/foodWarning"},
		"includedInHealthInsurancePlan": {"$ref": "HealthInsurancePlan.json#/definitions/possibleRef"},
		"interactingDrug": {"$ref": "Drug.json#/definitions/possibleRefArray"},
		"isAvailableGenerically": {"$ref": "#/definitions/isAvailableGenerically"},
		"isProprietary": {"$ref": "#/definitions/isProprietary"},
		"labelDetails": {
			"type": "string",
			"format": "uri"
		},
		"legalStatus": {"$ref": "#/definitions/legalStatus"},
		"manufacturer": {"$ref": "Organization.json#/definitions/possibleRef"},
		"maximumIntake": {"$ref": "MaximumDoseSchedule.json#/definitions/possibleRef"},
		"mechanismOfAction": {"$ref": "#/definitions/mechanismOfAction"},
		"nonProprietaryName": {"$ref": "#/definitions/nonProprietaryName"},
		"overdosage": {"$ref": "#/definitions/overdosage"},
		"pregnancyCategory": {"$ref": "DrugPregnancyCategory.json#/definitions/possibleRef"},
		"pregnancyWarning": {"$ref": "#/definitions/pregnancyWarning"},
		"prescribingInfo": {
			"type": "string",
			"format": "uri"
		},
		"prescriptionStatus": {"$ref": "#/definitions/prescriptionStatus"},
		"proprietaryName": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/proprietaryName"}
				},
				{"$ref": "#/definitions/proprietaryName"}
			]
		},
		"relatedDrug": {"$ref": "Drug.json#/definitions/possibleRefArray"},
		"rxcui": {"$ref": "#/definitions/rxcui"},
		"warning": {"$ref": "#/definitions/warning"}
	},
	"links": [
		{
			"rel": "http://schema.org/labelDetails",
			"href": "{+labelDetails}"
		},
		{
			"rel": "http://schema.org/prescribingInfo",
			"href": "{+prescribingInfo}"
		}
	],
	"definitions": {
		"activeIngredient": {
			"title": "Active Ingredient",
			"description": "An active ingredient, typically chemical compounds and/or biologic substances.",
			"type": "string"
		},
		"administrationRoute": {
			"title": "Administration Route",
			"description": "A route by which this drug may be administered, e.g. 'oral'.",
			"type": "string"
		},
		"alcoholWarning": {
			"title": "Alcohol Warning",
			"description": "Any precaution, guidance, contraindication, etc. related to consumption of alcohol while taking this drug.",
			"type": "string"
		},
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"breastfeedingWarning": {
			"title": "Breastfeeding Warning",
			"description": "Any precaution, guidance, contraindication, etc. related to this drug's use by breastfeeding mothers.",
			"type": "string"
		},
		"clinicalPharmacology": {
			"title": "Clinical Pharmacology",
			"description": "Description of the absorption and elimination of drugs, including their concentration (pharmacokinetics, pK) and biological effects (pharmacodynamics, pD). Supersedes clincalPharmacology.",
			"type": "string"
		},
		"dosageForm": {
			"title": "Dosage Form",
			"description": "A dosage form in which this drug/supplement is available, e.g. 'tablet', 'suspension', 'injection'.",
			"type": "string"
		},
		"drugUnit": {
			"title": "Drug Unit",
			"description": "The unit in which the drug is measured, e.g. '5 mg tablet'.",
			"type": "string"
		},
		"foodWarning": {
			"title": "Food Warning",
			"description": "Any precaution, guidance, contraindication, etc. related to consumption of specific foods while taking this drug.",
			"type": "string"
		},
		"isAvailableGenerically": {
			"title": "Is Available Generically",
			"description": "True if the drug is available in a generic form (regardless of name).",
			"type": "boolean"
		},
		"isProprietary": {
			"title": "Is Proprietary",
			"description": "True if this item's name is a proprietary/brand name (vs. generic name).",
			"type": "boolean"
		},
		"legalStatus": {
			"title": "Legal Status",
			"description": "The drug or supplement's legal status, including any controlled substance schedules that apply.",
			"anyOf": [{"$ref": "DrugLegalStatus.json#/definitions/possibleRef"}, {"$ref": "MedicalEnumeration.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"mechanismOfAction": {
			"title": "Mechanism of Action",
			"description": "The specific biochemical interaction through which this drug or supplement produces its pharmacological effect.",
			"type": "string"
		},
		"nonProprietaryName": {
			"title": "Non Proprietary Name",
			"description": "The generic name of this drug or supplement.",
			"type": "string"
		},
		"overdosage": {
			"title": "Overdosage",
			"description": "Any information related to overdose on a drug, including signs or symptoms, treatments, contact information for emergency response.",
			"type": "string"
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"pregnancyWarning": {
			"title": "Pregnancy Warning",
			"description": "Any precaution, guidance, contraindication, etc. related to this drug's use during pregnancy.",
			"type": "string"
		},
		"prescriptionStatus": {
			"title": "Prescription Status",
			"description": "Indicates the status of drug prescription eg. local catalogs classifications or whether the drug is available by prescription or over-the-counter, etc.",
			"anyOf": [{"$ref": "DrugPrescriptionStatus.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"proprietaryName": {
			"title": "Proprietary Name",
			"description": "Proprietary name given to the diet plan, typically by its originator or creator.",
			"type": "string"
		},
		"rxcui": {
			"title": "Rxcui",
			"description": "The RxCUI drug identifier from RXNORM.",
			"type": "string"
		},
		"warning": {
			"title": "Warning",
			"description": "Any FDA or other warnings about the drug (text or URL).",
			"anyOf": [
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		}
	}
}