Schema: code
Schema: code Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: code.
MedicalEntity JSON-LD example for the parent type behind MedicalCondition, MedicalProcedure, AnatomicalStructure, Drug, and DietarySupplement. Covers code (MedicalCode), guideline (MedicalGuideline), study (MedicalStudy), legalStatus, and the medicalSpecialty enumeration that every medical entity inherits.
MedicalTrial JSON-LD example for a clinical trial. MedicalStudy subtype with one direct property (trialDesign, MedicalTrialDesign enum) plus inherited status, healthCondition, sponsor.
MedicalObservationalStudy JSON-LD example for a non-interventional cohort, registry, or cross-sectional study. MedicalStudy subtype with one direct property: studyDesign (MedicalObservationalStudyDesign enum).
MedicalCode JSON-LD example for ICD-10, SNOMED CT, CPT, LOINC, RxNorm, or NDC codes attached to medical entities. Dual-inherits MedicalIntangible + CategoryCode. Properties: codeValue, codingSystem.
MedicalContraindication JSON-LD example for absolute and relative contraindications to a Drug, MedicalTherapy, or MedicalProcedure. Direct MedicalEntity subtype; no unique properties.
MedicalTest JSON-LD example for a clinical test. Direct MedicalEntity subtype with 5 direct properties: affectedBy, normalRange, signDetected, usedToDiagnose, usesDevice. Parent of BloodTest, ImagingTest, PathologyTest, MedicalTestPanel.
MedicalSignOrSymptom JSON-LD example for clinical signs (objective findings) and symptoms (patient-reported). MedicalCondition subtype with one direct property: possibleTreatment.
MedicalTherapy JSON-LD example for a non-procedural therapy (radiation, physical therapy, dietary intervention). TherapeuticProcedure subtype with duplicateTherapy, seriousAdverseOutcome, contraindication.
MedicalWebPage JSON-LD example for patient-education and clinical-reference pages. WebPage subtype with aspect and medicalAudience.
Patient JSON-LD example for a person in a medical context. Dual-inherits MedicalAudience + Person, adding diagnosis, drug, and healthCondition. Used on MedicalWebPage.audience and in case-report content.
PhysicalActivity JSON-LD example for a prescribed walking programme — LifestyleModification subtype for any bodily activity that enhances fitness or health. Carries category (AerobicActivity / StrengthTraining / Flexibility / LeisureTimeActivity / OccupationalActivity / Balance), associatedAnatomy, epidemiology, and pathophysiology.
InfectiousDisease JSON-LD example for tuberculosis — MedicalCondition subtype carrying infectiousAgent, infectiousAgentClass (Bacteria / Fungus / Virus / Protozoa / Prion / MulticellularParasite), and transmissionMethod. The canonical shape for public-health condition references.