schemaorg-coda :: Example

eg-0223

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "MedicalCondition",
  "alternateName": "angina pectoris",
  "associatedAnatomy": {
    "@type": "AnatomicalStructure",
    "name": "heart"
  },
  "cause": [
    {
      "@type": "MedicalCause",
      "name": "atherosclerosis"
    },
    {
      "@type": "MedicalCause",
      "name": "spasms of the epicardial artery"
    }
  ],
  "code": {
    "@type": "MedicalCode",
    "code": "413",
    "codingSystem": "ICD-9"
  },
  "differentialDiagnosis": {
    "@type": "DDxElement",
    "diagnosis": {
      "@type": "MedicalCondition",
      "name": "heart attack"
    },
    "distinguishingSign": [
      {
        "@type": "MedicalSymptom",
        "name": "chest pain lasting at least 10 minutes at rest"
      },
      {
        "@type": "MedicalSymptom",
        "name": "repeated episodes of chest pain at rest lasting 5 or more minutes"
      },
      {
        "@type": "MedicalSymptom",
        "name": "an accelerating pattern of chest discomfort (episodes that are more frequent, severe, longer in duration, and precipitated by minimal exertion)"
      }
    ]
  },
  "name": "Stable angina",
  "possibleTreatment": [
    {
      "@type": "Drug",
      "name": "aspirin"
    },
    {
      "@type": "DrugClass",
      "name": "beta blockers"
    },
    {
      "@type": "DrugClass",
      "name": "ACE inhibitors"
    },
    {
      "@type": "Drug",
      "name": "nitroglycerine"
    }
  ],
  "riskFactor": [
    {
      "@type": "MedicalRiskFactor",
      "name": "Age"
    },
    {
      "@type": "MedicalRiskFactor",
      "name": "Gender"
    },
    {
      "@type": "MedicalRiskFactor",
      "name": "Systolic blood pressure"
    },
    {
      "@type": "MedicalRiskFactor",
      "name": "Smoking"
    },
    {
      "@type": "MedicalRiskFactor",
      "name": "Total cholesterol and/or cholesterol:HDL ratio"
    },
    {
      "@type": "MedicalRiskFactor",
      "name": "Coronary artery disease"
    }
  ],
  "secondaryPrevention": [
    {
      "@type": "LifestyleModification",
      "name": "stopping smoking"
    },
    {
      "@type": "LifestyleModification",
      "name": "weight management"
    },
    {
      "@type": "LifestyleModification",
      "name": "increased physical activity"
    }
  ],
  "signOrSymptom": [
    {
      "@type": "MedicalSymptom",
      "name": "chest discomfort"
    },
    {
      "@type": "MedicalSymptom",
      "name": "feeling of tightness, heaviness, or pain in the chest"
    }
  ]
}

RDFa

<div vocab="https://schema.org/" typeof="MedicalCondition">
  <h1><span property="name">Stable angina</span>
    (<span property="alternateName">angina pectoris</span>)</h1>
  <span property="code"  typeof="MedicalCode">
    <meta property="code" content="413"/>
    <meta property="codingSystem" content="ICD-9"/>
  </span>
  Stable angina is a medical condition that affects the
  <span property="associatedAnatomy"  typeof="AnatomicalStructure">
    <span property="name">heart</span>
  </span>.
  The most common causes are
  <span property="cause"  typeof="MedicalCause">
    <span property="name">atherosclerosis</span>
  </span>
  and
  <span property="cause"  typeof="MedicalCause">
    <span property="name">spasms of the epicardial artery</span>
  </span>.
  Typical symptoms include:
  <ul>
    <li><span property="signOrSymptom"  typeof="MedicalSymptom">
          <span property="name">chest discomfort</span>
        </span>
    </li>
    <li><span property="signOrSymptom"  typeof="MedicalSymptom">
          <span property="name">feeling of tightness, heaviness,
            or pain in the chest</span>
        </span>
    </li>
  </ul>
  Both stable angina and a
  <span property="differentialDiagnosis"  typeof="DDxElement">
    <span property="diagnosis"  typeof="MedicalCondition">
      <span property="name">heart attack</span>
    </span>
    result in chest pain, but a heart attack will have
    <span property="distinguishingSign"  typeof="MedicalSymptom">
      <span property="name">chest pain lasting at least 10 minutes at rest</span>
    </span>,
    <span property="distinguishingSign"  typeof="MedicalSymptom">
      <span property="name">repeated episodes of chest pain at rest
        lasting 5 or more minutes
      </span>
    </span>, or
    <span property="distinguishingSign"  typeof="MedicalSymptom">
      <span property="name">an accelerating pattern of
        chest discomfort (episodes that are more frequent, severe,
        longer in duration, and precipitated by minimal exertion)
      </span>
    </span>
  </span>.
  <br>
  Risk factors for stable angina include:
  <ul>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Age</span>
        </span></li>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Gender</span>
        </span></li>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Systolic blood pressure</span>
        </span></li>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Smoking</span>
        </span></li>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Total cholesterol and/or cholesterol:HDL ratio</span>
        </span></li>
    <li><span property="riskFactor"  typeof="MedicalRiskFactor">
          <span property="name">Coronary artery disease</span>
        </span></li>
  </ul>
  The initial treatment for stable angina is usually drug therapy
  with
  <span property="possibleTreatment"  typeof="Drug">
    <span property="name">aspirin</span>
  </span>,
  <span property="possibleTreatment"  typeof="DrugClass">
    <span property="name">beta blockers</span>
  </span>,
  <span property="possibleTreatment"  typeof="DrugClass">
    <span property="name">ACE inhibitors</span>
  </span>, and/or
  <span property="possibleTreatment"  typeof="Drug">
    <span property="name">nitroglycerine</span>
  </span>,
  Future episodes of stable angina can sometimes be prevented by
  <span property="secondaryPrevention"  typeof="LifestyleModification">
    <span property="name">stopping smoking</span>
  </span>,
  <span property="secondaryPrevention"  typeof="LifestyleModification">
    <span property="name">weight management</span>
  </span>, and
  <span property="secondaryPrevention"  typeof="LifestyleModification">
    <span property="name">increased physical activity</span>
  </span>.
</div>

Microdata

<div itemscope itemtype="https://schema.org/MedicalCondition">
  <h1><span itemprop="name">Stable angina</span>
    (<span itemprop="alternateName">angina pectoris</span>)</h1>
  <span itemprop="code" itemscope itemtype="https://schema.org/MedicalCode">
    <meta itemprop="code" content="413"/>
    <meta itemprop="codingSystem" content="ICD-9"/>
  </span>
  Stable angina is a medical condition that affects the
  <span itemprop="associatedAnatomy" itemscope itemtype="https://schema.org/AnatomicalStructure">
    <span itemprop="name">heart</span>
  </span>.
  The most common causes are
  <span itemprop="cause" itemscope itemtype="https://schema.org/MedicalCause">
    <span itemprop="name">atherosclerosis</span>
  </span>
  and
  <span itemprop="cause" itemscope itemtype="https://schema.org/MedicalCause">
    <span itemprop="name">spasms of the epicardial artery</span>
  </span>.
  Typical symptoms include:
  <ul>
    <li><span itemprop="signOrSymptom" itemscope itemtype="https://schema.org/MedicalSymptom">
          <span itemprop="name">chest discomfort</span>
        </span>
    </li>
    <li><span itemprop="signOrSymptom" itemscope itemtype="https://schema.org/MedicalSymptom">
          <span itemprop="name">feeling of tightness, heaviness,
            or pain in the chest</span>
        </span>
    </li>
  </ul>
  Both stable angina and a
  <span itemprop="differentialDiagnosis" itemscope itemtype="https://schema.org/DDxElement">
    <span itemprop="diagnosis" itemscope itemtype="https://schema.org/MedicalCondition">
      <span itemprop="name">heart attack</span>
    </span>
    result in chest pain, but a heart attack will have
    <span itemprop="distinguishingSign" itemscope itemtype="https://schema.org/MedicalSymptom">
      <span itemprop="name">chest pain lasting at least 10 minutes at rest</span>
    </span>,
    <span itemprop="distinguishingSign" itemscope itemtype="https://schema.org/MedicalSymptom">
      <span itemprop="name">repeated episodes of chest pain at rest
        lasting 5 or more minutes
      </span>
    </span>, or
    <span itemprop="distinguishingSign" itemscope itemtype="https://schema.org/MedicalSymptom">
      <span itemprop="name">an accelerating pattern of
        chest discomfort (episodes that are more frequent, severe,
        longer in duration, and precipitated by minimal exertion)
      </span>
    </span>
  </span>.
  <br>
  Risk factors for stable angina include:
  <ul>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Age</span>
        </span></li>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Gender</span>
        </span></li>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Systolic blood pressure</span>
        </span></li>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Smoking</span>
        </span></li>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Total cholesterol and/or cholesterol:HDL ratio</span>
        </span></li>
    <li><span itemprop="riskFactor" itemscope itemtype="https://schema.org/MedicalRiskFactor">
          <span itemprop="name">Coronary artery disease</span>
        </span></li>
  </ul>
  The initial treatment for stable angina is usually drug therapy
  with
  <span itemprop="possibleTreatment" itemscope itemtype="https://schema.org/Drug">
    <span itemprop="name">aspirin</span>
  </span>,
  <span itemprop="possibleTreatment" itemscope itemtype="https://schema.org/DrugClass">
    <span itemprop="name">beta blockers</span>
  </span>,
  <span itemprop="possibleTreatment" itemscope itemtype="https://schema.org/DrugClass">
    <span itemprop="name">ACE inhibitors</span>
  </span>, and/or
  <span itemprop="possibleTreatment" itemscope itemtype="https://schema.org/Drug">
    <span itemprop="name">nitroglycerine</span>
  </span>,
  Future episodes of stable angina can sometimes be prevented by
  <span itemprop="secondaryPrevention" itemscope itemtype="https://schema.org/LifestyleModification">
    <span itemprop="name">stopping smoking</span>
  </span>,
  <span itemprop="secondaryPrevention" itemscope itemtype="https://schema.org/LifestyleModification">
    <span itemprop="name">weight management</span>
  </span>, and
  <span itemprop="secondaryPrevention" itemscope itemtype="https://schema.org/LifestyleModification">
    <span itemprop="name">increased physical activity</span>
  </span>.
</div>

Pre-Markup

<h1>Stable angina (angina pectoris)</h1>
Stable angina is a medical condition that affects the heart. The
most common causes are atherosclerosis and spasms of the
epicardial artery. Typical symptoms include:
<ul>
  <li>chest discomfort</li>
  <li>feeling of tightness, heaviness, or pain in the chest</li>
</ul>
Both stable angina and a heart attack result in chest pain, but
a heart attack will have chest pain lasting at least
10 minutes at rest, repeated episodes of chest pain at rest
lasting 5 or more minutes, or an accelerating pattern of chest
discomfort (episodes that are more frequent, severe,
longer in duration, and precipitated by minimal exertion).
<br>
Risk factors for stable angina include:
<ul>
  <li>Age</li>
  <li>Gender</li>
  <li>Systolic blood pressure</li>
  <li>Smoking</li>
  <li>Total cholesterol and/or cholesterol:HDL ratio</li>
  <li>Coronary artery disease</li>
</ul>
The initial treatment for stable angina is usually drug therapy
with aspirin, beta blockers, ACE inhibitors, and/or nitroglycerine.
Future episodes of stable angina can sometimes be prevented by
stopping smoking, weight management, and increased physical activity.