Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Medical Condition Markup: Diagnosis, Treatment, Risk and Drug Safety Properties

How Schema.org medical properties model conditions, diagnosis, therapies, risk, and drug warnings in structured data.

This page summarizes Schema.org documentation for health and medical vocabulary: properties that describe conditions, how they are diagnosed and treated, drug safety, and risk. The definitions come from individual property pages and the medical types listed on Schema.org Version 30.1. Publishers use these terms in JSON-LD (and other formats) so machines can relate symptoms, causes, therapies, and warnings consistently—not as a substitute for clinical judgment or regulatory labeling.

MedicalCondition: what a condition page can express

Section titled “MedicalCondition: what a condition page can express”

A MedicalCondition is any human condition that affects normal functioning, including diseases, injuries, disabilities, disorders, and syndromes.

Any condition of the human body that affects the normal functioning of a person, whether physically or mentally. Includes diseases, injuries, disabilities, disorders, syndromes, etc.

— Schema.org, Schema.org Version 30.1 — MedicalCondition

Schema.org attaches a fixed set of properties to this type. They cover etiology, course of illness, who is affected, what might go wrong, and what might help:

Theme Property Role
Cause cause What led to the condition (often a MedicalCause)
Mechanism pathophysiology Mechanical, physical, and biochemical changes
Course naturalProgression Expected progression without treatment
Outlook expectedPrognosis Likely short- or long-term outcome
Complications possibleComplication Unexpected unfavorable evolution
Therapy possibleTreatment Treatments for the condition
Prevention primaryPrevention, secondaryPrevention Prevent first occurrence vs prevent recurrence
Risk riskFactor Factors that increase contracting the condition
Presentation signOrSymptom Objective signs and subjective symptoms
Staging stage Stage when applicable
Testing typicalTest Tests usually performed for this condition
Diagnosis differentialDiagnosis Competing diagnoses in the workup
Populations epidemiology Age, gender, race, and similar characteristics

relevantSpecialty can appear on broader MedicalEntity content when a medical specialty applies.

cause and causeOf: linking agents to what they produce

Section titled “cause and causeOf: linking agents to what they produce”

cause states the cause of a medical condition. causeOf is the inverse: the condition, complication, symptom, or sign that was caused. Schema.org pairs them explicitly.

A MedicalCause is the proximate agent responsible for the pathophysiologic process. The documentation stresses proximate cause—for example, a pulmonary embolism as the proximate cause of cardiac arrest after a fall and fracture, not the fall itself.

The causative agent(s) that are responsible for the pathophysiologic process that eventually results in a medical condition, symptom or sign. In this schema, unless otherwise specified this is meant to be the proximate cause of the medical condition, symptom or sign.

— Schema.org, Schema.org Version 30.1 — MedicalCause

differentialDiagnosis and signs: how “rule out” lists are modeled

Section titled “differentialDiagnosis and signs: how “rule out” lists are modeled”

Readers searching for “structured data for differential diagnosis” are usually mapping clinical DDx content to schema. differentialDiagnosis on a MedicalCondition is one competing diagnosis considered while distinguishing similar presentations.

One of a set of differential diagnoses for the condition. Specifically, a closely-related or competing diagnosis typically considered later in the cognitive process whereby this medical condition is distinguished from others most likely responsible for a similar collection of signs and symptoms to reach the most parsimonious diagnosis or diagnoses in a patient.

— Schema.org, differentialDiagnosis

DDxElement bundles an alternative diagnosis with signs used to separate it from others. It uses diagnosis (alternative conditions from a diagnosis process) and distinguishingSign (signs and symptoms that distinguish this diagnosis in the differential).

signOrSymptom on a condition follows the clinical distinction: signs are objective; symptoms are what the patient reports.

A sign or symptom of this condition. Signs are objective or physically observable manifestations of the medical condition while symptoms are the subjective experience of the medical condition.

— Schema.org, signOrSymptom

MedicalSign (objective findings) can link to identifyingExam and identifyingTest. MedicalTest links back via usedToDiagnose, signDetected, and affectedBy (drugs that affect test results). Labs expose offerings through availableTest.

healthCondition is not only for disease pages—it specifies condition(s) for a patient, study, or audience (e.g. MedicalStudy, Patient, PeopleAudience).

Specifying the health condition(s) of a patient, medical study, or other target audience.

— Schema.org, healthCondition

Therapy, contraindication, and procedure properties

Section titled “Therapy, contraindication, and procedure properties”

possibleTreatment is widely used in the wild (Schema.org cites roughly 10K–100K domains in Google’s index for this property) and applies to MedicalCondition and MedicalSignOrSymptom.

contraindication marks a reason to withhold therapy on MedicalDevice or MedicalTherapy. Values are MedicalContraindication—absolute (no reasonable use) or relative (higher risk, possibly acceptable with mitigation).

followup, preparation, and device-specific preOp / postOp describe procedure and implant care paths. duplicateTherapy flags overlapping therapies. relatedTherapy ties therapies to anatomy types.

adverseOutcome and seriousAdverseOutcome document therapy complications on devices and procedures. Use serious when the outcome meets Schema.org’s explicit serious criteria (death, disability, hospitalization, life-threatening, etc.).

If it is known that an adverse outcome is serious (resulting in death, disability, or permanent damage; requiring hospitalization; or otherwise life-threatening or requiring immediate medical attention), tag it as a seriousAdverseOutcome instead.

— Schema.org, adverseOutcome

guideline and guidelineSubject connect entities to medical guidelines and what those guidelines cover. expertConsiderations appears on diet plans as expert advice related to the plan.

Section titled “Drug warnings, interactions, and prescribing links”

Drug pages in Schema.org use dedicated warning properties rather than a single free-text field:

Property Purpose
warning FDA or other warnings (text or URL)
alcoholWarning Alcohol precautions
foodWarning Food-related precautions
pregnancyWarning Use during pregnancy
breastfeedingWarning Use while breastfeeding
interactingDrug Drug–drug interactions affecting effect or risk
relatedDrug Related drugs, e.g. common alternatives
overdosage Overdose information, including emergency contacts
prescribingInfo Link to prescribing information

Another drug that is known to interact with this drug in a way that impacts the effect of this drug or causes a risk to the patient. Note: disease interactions are typically captured as contraindications.

— Schema.org, interactingDrug

safetyConsideration on DietarySupplement can bundle interactions, pregnancy, breastfeeding, adverse reactions, and efficacy notes in one property.

MedicalRiskFactor and MedicalRiskEstimator

Section titled “MedicalRiskFactor and MedicalRiskEstimator”

riskFactor on a condition is a modifiable or non-modifiable factor that increases the chance of contracting the condition (age, comorbidities, etc.). MedicalRiskFactor types use increasesRiskOf to name the influenced condition or complication.

MedicalRiskEstimator models calculators and rule sets. estimatesRiskOf names the target outcome; includedRiskFactor lists factors in the calculation. MedicalRiskScore adds algorithm for how the score is computed (e.g. CHADS, TIMI-style scores).

Any rule set or interactive tool for estimating the risk of developing a complication or condition.

— Schema.org, Schema.org Version 30.1 — MedicalRiskEstimator

Public health announcements and prevention content

Section titled “Public health announcements and prevention content”

Several properties target SpecialAnnouncement style pages rather than static condition articles: diseasePreventionInfo, gettingTestedInfo, diseaseSpreadStatistics (as WebContent, Dataset, or Observation), quarantineGuidelines, publicTransportClosuresInfo, schoolClosuresInfo, and travelBans. For infectious diseases, transmissionMethod documents routes or vectors.

diseaseSpreadStatistics notes that when a WebContent URL is supplied, the linked page may contain additional markup of the same kind.

Anatomy, biochemistry, and terms still maturing

Section titled “Anatomy, biochemistry, and terms still maturing”

relatedCondition links conditions to AnatomicalStructure, AnatomicalSystem, or SuperficialAnatomy. associatedDisease links a BioChemEntity to a disease; evidence can be added with PropertyValue.

New area Some properties are marked as new—implementation feedback is explicitly requested for associatedDisease, consumerNotice, and substanceOfConcern (regulatory substance lists on Product). These are outside the core MedicalCondition graph but appear in the same health cluster.

accessibilityHazard is medically adjacent only in the sense of user safety for CreativeWork (WCAG 2.0 guideline 2.3); it is not a clinical property.

Common mistakes when publishing medical schema

Section titled “Common mistakes when publishing medical schema”
  1. Open the canonical definition for each property you emit (for example possibleTreatment, contraindication) and confirm the parent type matches your JSON-LD (MedicalCondition, Drug, MedicalProcedure, etc.).
  2. Cross-check condition-centric fields against Schema.org Version 30.1 — MedicalCondition so required clinical relationships (cause, signOrSymptom, differentialDiagnosis, prevention, and tests) are not mixed across unrelated types.
  3. For drug pages, verify warning and interaction properties against warning, interactingDrug, and related warning URLs, and that serious outcomes use seriousAdverseOutcome where definitions apply.
  4. For risk tools, confirm estimatesRiskOf and includedRiskFactor align with MedicalRiskEstimator on Schema.org Version 30.1.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page disagrees with the current Schema.org definitions or you need a clarification, write to yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.