schemaorg-coda :: Example

eg-0222

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "MedicalScholarlyArticle",
  "about": [
    {
      "@type": "Drug",
      "code": {
        "@id": "http://www.ncbi.nlm.nih.gov/mesh/D02.078.370.141.450",
        "@type": "MedicalCode",
        "code": "D02.078.370.141.450",
        "codingSystem": "MeSH"
      },
      "name": "Metformin"
    },
    {
      "@type": "MedicalCondition",
      "name": "Diabetes Mellitus, Type 2"
    }
  ],
  "audience": "https://schema.org/Clinician",
  "author": {
    "@type": "Person",
    "affiliation": "Medical University",
    "name": "Dr. John Smith"
  },
  "datePublished": "2012-03-24",
  "description": "We review clinical evidence related to the use of metformin for treatment of type-2 diabetes mellitus and provide new clinical guideline recommendations.",
  "name": "New guidelines for metformin and diabetes mellitus",
  "publicationType": "Meta-Analysis"
  }

RDFa

<div vocab="https://schema.org/" typeof="MedicalScholarlyArticle">
  <link property="audience" href="https://schema.org/Clinician"/>
  <meta property="publicationType" content="Meta-Analysis"/>
  <h1><span property="name">New guidelines for metformin and
      diabetes mellitus</span></h1>
  <p><span property="author"  typeof="Person">
    <span property="name">Dr. John Smith</span>
    <br><span property="affiliation">Medical University</span>
  </span>
  <br><span property="datePublished">2012-03-24</span></p>
  <p><b>Abstract:</b>
  <span property="description">We review clinical evidence related to the use of metformin for
  treatment of type-2 diabetes mellitus and provide new clinical guideline
  recommendations.</span></p>
  <p><b>MeSH subject headings:</b>
  <span property="about"  typeof="Drug">
    <span property="name">Metformin</span>
    <span property="code"  typeof="MedicalCode"
          resource="http://www.ncbi.nlm.nih.gov/mesh/D02.078.370.141.450">
      <!-- Note: use of itemid is not mandatory, but recommended when an
           external enumeration is available -->
      <meta property="code" content="D02.078.370.141.450"/>
      <meta property="codingSystem" content="MeSH"/>
    </span>
  </span>;
  <span property="about"  typeof="MedicalCondition">
    <span property="name">Diabetes Mellitus, Type 2</span>
    <span property="code"  typeof="MedicalCode"
          resource="http://www.ncbi.nlm.nih.gov/mesh/C18.452.394.750.149">
      <!-- Note: use of itemid is not mandatory, but recommended when an
           external enumeration is available -->
      <meta property="code" content="C18.452.394.750.149"/>
      <meta property="codingSystem" content="MeSH"/>
    </span>
  </span>
  </p>
  ...
  <h3>Guidelines</h3>
  <span  typeof="MedicalGuidelineRecommendation">
    Recommendation: we recommend monotherapy with
    <span property="guidelineSubject">metformin</span> as an initial pharmacologic therapy
    to treat most patients with <span property="guidelineSubject">type 2 diabetes</span>
    (Grade: <span property="recommendationStrength">strong recommendation</span>;
    <a property="evidenceLevel" href="https://schema.org/EvidenceLevelA">high-quality
      evidence</a>).
  </span>
</div>

Microdata

<div itemscope itemtype="https://schema.org/MedicalScholarlyArticle">
  <link itemprop="audience" href="https://schema.org/Clinician"/>
  <meta itemprop="publicationType" content="Meta-Analysis"/>
  <h1><span itemprop="name">New guidelines for metformin and
      diabetes mellitus</span></h1>
  <p><span itemprop="author" itemscope itemtype="https://schema.org/Person">
    <span itemprop="name">Dr. John Smith</span>
    <br><span itemprop="affiliation">Medical University</span>
  </span>
  <br><span itemprop="datePublished">2012-03-24</span></p>
  <p><b>Abstract:</b>
  <span itemprop="description">We review clinical evidence related to the use of metformin for
  treatment of type-2 diabetes mellitus and provide new clinical guideline
  recommendations.</span></p>
  <p><b>MeSH subject headings:</b>
  <span itemprop="about" itemscope itemtype="https://schema.org/Drug">
    <span itemprop="name">Metformin</span>
    <span itemprop="code" itemscope
          itemtype="https://schema.org/MedicalCode"
          itemid="http://www.ncbi.nlm.nih.gov/mesh/D02.078.370.141.450">
      <!-- Note: use of itemid is not mandatory, but recommended when an
           external enumeration is available -->
      <meta itemprop="code" content="D02.078.370.141.450"/>
      <meta itemprop="codingSystem" content="MeSH"/>
    </span>
  </span>;
  <span itemprop="about" itemscope itemtype="https://schema.org/MedicalCondition">
    <span itemprop="name">Diabetes Mellitus, Type 2</span>
    <span itemprop="code" itemscope
          itemtype="https://schema.org/MedicalCode"
          itemid="http://www.ncbi.nlm.nih.gov/mesh/C18.452.394.750.149">
      <!-- Note: use of itemid is not mandatory, but recommended when an
           external enumeration is available -->
      <meta itemprop="code" content="C18.452.394.750.149"/>
      <meta itemprop="codingSystem" content="MeSH"/>
    </span>
  </span></p>
  ...
  <h3>Guidelines</h3>
  <span itemscope itemtype="https://schema.org/MedicalGuidelineRecommendation">
    Recommendation: we recommend monotherapy with
    <span itemprop="guidelineSubject">metformin</span> as an initial pharmacologic therapy
    to treat most patients with <span itemprop="guidelineSubject">type 2 diabetes</span>
    (Grade: <span itemprop="recommendationStrength">strong recommendation</span>;
    <a itemprop="evidenceLevel" href="https://schema.org/EvidenceLevelA">high-quality
      evidence</a>).
  </span>
</div>

Pre-Markup

<h1>New guidelines for metformin and diabetes mellitus</h1>
<p>Dr. John Smith
<br>Medical University
<br>2012-03-24</p>
<p><b>Abstract:</b>
We review clinical evidence related to the use of metformin for
treatment of type-2 diabetes mellitus and provide new clinical guideline
recommendations.</p>
<p><b>MeSH subject headings:</b> Metformin; Diabetes Mellitus, Type 2</p>
...
<h3>Guidelines</h3>
Recommendation: we recommend monotherapy with metformin as an initial
pharmacologic therapy to treat most patients with type 2 diabetes
(Grade: strong recommendation; high-quality evidence).