MedicalRiskFactor
MedicalRiskFactor is a direct MedicalEntity subtype for anything that increases the likelihood of developing a disease, condition, or complication: smoking, hypertension, family history, environmental exposure, age, sex.
1 direct property:
increasesRiskOf(MedicalEntity): the condition or complication whose risk is elevated.
Attach to MedicalCondition via riskFactor, or include inside a MedicalRiskEstimator's includedRiskFactor list.
Full example of schema.org/MedicalRiskFactor json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "MedicalRiskFactor",
"name": "Current cigarette smoking",
"description": "Current daily or near-daily cigarette smoking; risk rises with pack-years and is partially reversible after cessation.",
"increasesRiskOf": [
{ "@type": "MedicalCondition", "name": "Coronary artery disease" },
{ "@type": "MedicalCondition", "name": "Lung cancer" },
{ "@type": "MedicalCondition", "name": "Chronic obstructive pulmonary disease (COPD)" }
],
"relevantSpecialty": ["https://schema.org/Cardiovascular", "https://schema.org/Pulmonary", "https://schema.org/Oncologic"]
}
</script>Minimal valid version
The smallest markup that still produces a valid MedicalRiskFactor entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "MedicalRiskFactor",
"name": "Current cigarette smoking",
"increasesRiskOf": { "@type": "MedicalCondition", "name": "Coronary artery disease" }
}
</script>Google rich results this unlocks
Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.
- Google docsNo dedicated rich result (healthcare knowledge graph)
Common MedicalRiskFactor mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
Risk factor without increasesRiskOf
WrongMedicalRiskFactor with name onlyRightAlways populate increasesRiskOf — the relationship is the pointThe type exists to express 'X increases risk of Y'; without Y, the entry is just a medical entity.
Schema properties in this example
About the example data
Current smoking as a risk factor for coronary artery disease on a Dunmore Family Clinic patient-education page.
Comments
Loading comments...