SEO.JSONLD.MedicalTherapy (SEO v0.3.0-rc.0)

View Source

Any medical intervention designed to prevent, treat, and cure human diseases and medical conditions, including both curative and palliative therapies. Medical therapies are typically processes of care relying upon pharmacotherapy, behavioral therapy, supportive therapy (with fluid or nutrition for example), or detoxification (e.g. hemodialysis) aimed at improving or preventing a health condition.

Helper for building a Schema.org MedicalTherapy JSON-LD structure.

Summary

Types

t()

A JSON-LD map ready to be nested or rendered. String-keyed, always includes "@type" set to "MedicalTherapy", plus any camelCased field keys the caller provided (see build/1). "@context" is added at render time by SEO.JSONLD.meta/1 on the top-level node only.

Functions

Build a MedicalTherapy JSON-LD map.

Types

attrs()

@type attrs() ::
  %{
    optional(:contraindication) =>
      String.t() | SEO.JSONLD.MedicalContraindication.t() | map(),
    optional(:duplicate_therapy) => t() | map(),
    optional(:serious_adverse_outcome) => SEO.JSONLD.MedicalEntity.t() | map(),
    optional(:adverse_outcome) => SEO.JSONLD.MedicalEntity.t() | map(),
    optional(:dose_schedule) => SEO.JSONLD.DoseSchedule.t() | map(),
    optional(:drug) => SEO.JSONLD.Drug.t() | map(),
    optional(:body_location) => String.t(),
    optional(:followup) => String.t(),
    optional(:how_performed) => String.t(),
    optional(:preparation) => SEO.JSONLD.MedicalEntity.t() | map() | String.t(),
    optional(:procedure_type) =>
      :noninvasive_procedure | :percutaneous_procedure,
    optional(:status) =>
      :event_cancelled
      | :event_moved_online
      | :event_postponed
      | :event_rescheduled
      | :event_scheduled
      | :active_not_recruiting
      | :completed
      | :enrolling_by_invitation
      | :not_yet_recruiting
      | :recruiting
      | :results_available
      | :results_not_available
      | :suspended
      | :terminated
      | :withdrawn
      | String.t(),
    optional(:code) => SEO.JSONLD.MedicalCode.t() | map(),
    optional(:funding) => SEO.JSONLD.Grant.t() | map(),
    optional(:guideline) => SEO.JSONLD.MedicalGuideline.t() | map(),
    optional(:legal_status) =>
      SEO.JSONLD.DrugLegalStatus.t()
      | map()
      | :abdomen
      | :active_not_recruiting
      | :anesthesia
      | :appearance
      | :ayurvedic
      | :bacteria
      | :cardiovascular
      | :cardiovascular_exam
      | :case_series
      | :chiropractic
      | :clinician
      | :cohort_study
      | :community_health
      | :completed
      | :cross_sectional
      | :ct
      | :dentistry
      | :dermatologic
      | :dermatology
      | :diagnostic
      | :diet_nutrition
      | :double_blinded_trial
      | :ear
      | :emergency
      | :endocrine
      | :enrolling_by_invitation
      | :evidence_level_a
      | :evidence_level_b
      | :evidence_level_c
      | :eye
      | :fd_acategory_a
      | :fd_acategory_b
      | :fd_acategory_c
      | :fd_acategory_d
      | :fd_acategory_x
      | :fd_anot_evaluated
      | :fungus
      | :gastroenterologic
      | :genetic
      | :genitourinary
      | :geriatric
      | :gynecologic
      | :head
      | :hematologic
      | :homeopathic
      | :infectious
      | :international_trial
      | :laboratory_science
      | :longitudinal
      | :lung
      | :medical_researcher
      | :midwifery
      | :mri
      | :multi_center_trial
      | :multicellular_parasite
      | :musculoskeletal
      | :musculoskeletal_exam
      | :neck
      | :neuro
      | :neurologic
      | :noninvasive_procedure
      | :nose
      | :not_yet_recruiting
      | :nursing
      | :observational
      | :obstetric
      | :oncologic
      | :open_trial
      | :optometric
      | :osteopathic
      | :otc
      | :otolaryngologic
      | :pathology
      | :pediatric
      | :percutaneous_procedure
      | :pet
      | :pharmacy_specialty
      | :physiotherapy
      | :placebo_controlled_trial
      | :plastic_surgery
      | :podiatric
      | :prescription_only
      | :primary_care
      | :prion
      | :protozoa
      | :psychiatric
      | :public_health
      | :pulmonary
      | :radiography
      | :randomized_trial
      | :recruiting
      | :registry
      | :reimbursement_cap
      | :renal
      | :respiratory_therapy
      | :results_available
      | :results_not_available
      | :retail
      | :rheumatologic
      | :single_blinded_trial
      | :single_center_trial
      | :skin
      | :speech_pathology
      | :surgical
      | :suspended
      | :terminated
      | :therapeutic
      | :throat
      | :toxicologic
      | :traditional_chinese
      | :triple_blinded_trial
      | :ultrasound
      | :urologic
      | :virus
      | :western_conventional
      | :wholesale
      | :withdrawn
      | :x_ray
      | String.t(),
    optional(:medicine_system) =>
      :ayurvedic
      | :chiropractic
      | :homeopathic
      | :osteopathic
      | :traditional_chinese
      | :western_conventional,
    optional(:recognizing_authority) => SEO.JSONLD.Organization.t() | map(),
    optional(:relevant_specialty) =>
      :anesthesia
      | :cardiovascular
      | :community_health
      | :dentistry
      | :dermatologic
      | :dermatology
      | :diet_nutrition
      | :emergency
      | :endocrine
      | :gastroenterologic
      | :genetic
      | :geriatric
      | :gynecologic
      | :hematologic
      | :infectious
      | :laboratory_science
      | :midwifery
      | :musculoskeletal
      | :neurologic
      | :nursing
      | :obstetric
      | :oncologic
      | :optometric
      | :otolaryngologic
      | :pathology
      | :pediatric
      | :pharmacy_specialty
      | :physiotherapy
      | :plastic_surgery
      | :podiatric
      | :primary_care
      | :psychiatric
      | :public_health
      | :pulmonary
      | :radiography
      | :renal
      | :respiratory_therapy
      | :rheumatologic
      | :speech_pathology
      | :surgical
      | :toxicologic
      | :urologic,
    optional(:study) => SEO.JSONLD.MedicalStudy.t() | map(),
    optional(:additional_type) => String.t() | URI.t(),
    optional(:alternate_name) => String.t(),
    optional(:description) => SEO.JSONLD.TextObject.t() | map() | String.t(),
    optional(:disambiguating_description) => String.t(),
    optional(:identifier) =>
      String.t() | URI.t() | SEO.JSONLD.PropertyValue.t() | map(),
    optional(:image) =>
      URI.t() | String.t() | SEO.JSONLD.ImageObject.t() | map(),
    optional(:main_entity_of_page) =>
      SEO.JSONLD.CreativeWork.t() | map() | URI.t() | String.t(),
    optional(:name) => String.t(),
    optional(:owner) =>
      SEO.JSONLD.Organization.t() | map() | SEO.JSONLD.Person.t(),
    optional(:potential_action) => SEO.JSONLD.Action.t() | map(),
    optional(:same_as) => URI.t() | String.t(),
    optional(:subject_of) =>
      SEO.JSONLD.Event.t() | map() | SEO.JSONLD.CreativeWork.t(),
    optional(:url) => URI.t() | String.t()
  }
  | [
      contraindication:
        String.t() | SEO.JSONLD.MedicalContraindication.t() | map(),
      duplicate_therapy: t() | map(),
      serious_adverse_outcome: SEO.JSONLD.MedicalEntity.t() | map(),
      adverse_outcome: SEO.JSONLD.MedicalEntity.t() | map(),
      dose_schedule: SEO.JSONLD.DoseSchedule.t() | map(),
      drug: SEO.JSONLD.Drug.t() | map(),
      body_location: String.t(),
      followup: String.t(),
      how_performed: String.t(),
      preparation: SEO.JSONLD.MedicalEntity.t() | map() | String.t(),
      procedure_type: :noninvasive_procedure | :percutaneous_procedure,
      status:
        :event_cancelled
        | :event_moved_online
        | :event_postponed
        | :event_rescheduled
        | :event_scheduled
        | :active_not_recruiting
        | :completed
        | :enrolling_by_invitation
        | :not_yet_recruiting
        | :recruiting
        | :results_available
        | :results_not_available
        | :suspended
        | :terminated
        | :withdrawn
        | String.t(),
      code: SEO.JSONLD.MedicalCode.t() | map(),
      funding: SEO.JSONLD.Grant.t() | map(),
      guideline: SEO.JSONLD.MedicalGuideline.t() | map(),
      legal_status:
        SEO.JSONLD.DrugLegalStatus.t()
        | map()
        | :abdomen
        | :active_not_recruiting
        | :anesthesia
        | :appearance
        | :ayurvedic
        | :bacteria
        | :cardiovascular
        | :cardiovascular_exam
        | :case_series
        | :chiropractic
        | :clinician
        | :cohort_study
        | :community_health
        | :completed
        | :cross_sectional
        | :ct
        | :dentistry
        | :dermatologic
        | :dermatology
        | :diagnostic
        | :diet_nutrition
        | :double_blinded_trial
        | :ear
        | :emergency
        | :endocrine
        | :enrolling_by_invitation
        | :evidence_level_a
        | :evidence_level_b
        | :evidence_level_c
        | :eye
        | :fd_acategory_a
        | :fd_acategory_b
        | :fd_acategory_c
        | :fd_acategory_d
        | :fd_acategory_x
        | :fd_anot_evaluated
        | :fungus
        | :gastroenterologic
        | :genetic
        | :genitourinary
        | :geriatric
        | :gynecologic
        | :head
        | :hematologic
        | :homeopathic
        | :infectious
        | :international_trial
        | :laboratory_science
        | :longitudinal
        | :lung
        | :medical_researcher
        | :midwifery
        | :mri
        | :multi_center_trial
        | :multicellular_parasite
        | :musculoskeletal
        | :musculoskeletal_exam
        | :neck
        | :neuro
        | :neurologic
        | :noninvasive_procedure
        | :nose
        | :not_yet_recruiting
        | :nursing
        | :observational
        | :obstetric
        | :oncologic
        | :open_trial
        | :optometric
        | :osteopathic
        | :otc
        | :otolaryngologic
        | :pathology
        | :pediatric
        | :percutaneous_procedure
        | :pet
        | :pharmacy_specialty
        | :physiotherapy
        | :placebo_controlled_trial
        | :plastic_surgery
        | :podiatric
        | :prescription_only
        | :primary_care
        | :prion
        | :protozoa
        | :psychiatric
        | :public_health
        | :pulmonary
        | :radiography
        | :randomized_trial
        | :recruiting
        | :registry
        | :reimbursement_cap
        | :renal
        | :respiratory_therapy
        | :results_available
        | :results_not_available
        | :retail
        | :rheumatologic
        | :single_blinded_trial
        | :single_center_trial
        | :skin
        | :speech_pathology
        | :surgical
        | :suspended
        | :terminated
        | :therapeutic
        | :throat
        | :toxicologic
        | :traditional_chinese
        | :triple_blinded_trial
        | :ultrasound
        | :urologic
        | :virus
        | :western_conventional
        | :wholesale
        | :withdrawn
        | :x_ray
        | String.t(),
      medicine_system:
        :ayurvedic
        | :chiropractic
        | :homeopathic
        | :osteopathic
        | :traditional_chinese
        | :western_conventional,
      recognizing_authority: SEO.JSONLD.Organization.t() | map(),
      relevant_specialty:
        :anesthesia
        | :cardiovascular
        | :community_health
        | :dentistry
        | :dermatologic
        | :dermatology
        | :diet_nutrition
        | :emergency
        | :endocrine
        | :gastroenterologic
        | :genetic
        | :geriatric
        | :gynecologic
        | :hematologic
        | :infectious
        | :laboratory_science
        | :midwifery
        | :musculoskeletal
        | :neurologic
        | :nursing
        | :obstetric
        | :oncologic
        | :optometric
        | :otolaryngologic
        | :pathology
        | :pediatric
        | :pharmacy_specialty
        | :physiotherapy
        | :plastic_surgery
        | :podiatric
        | :primary_care
        | :psychiatric
        | :public_health
        | :pulmonary
        | :radiography
        | :renal
        | :respiratory_therapy
        | :rheumatologic
        | :speech_pathology
        | :surgical
        | :toxicologic
        | :urologic,
      study: SEO.JSONLD.MedicalStudy.t() | map(),
      additional_type: String.t() | URI.t(),
      alternate_name: String.t(),
      description: SEO.JSONLD.TextObject.t() | map() | String.t(),
      disambiguating_description: String.t(),
      identifier: String.t() | URI.t() | SEO.JSONLD.PropertyValue.t() | map(),
      image: URI.t() | String.t() | SEO.JSONLD.ImageObject.t() | map(),
      main_entity_of_page:
        SEO.JSONLD.CreativeWork.t() | map() | URI.t() | String.t(),
      name: String.t(),
      owner: SEO.JSONLD.Organization.t() | map() | SEO.JSONLD.Person.t(),
      potential_action: SEO.JSONLD.Action.t() | map(),
      same_as: URI.t() | String.t(),
      subject_of: SEO.JSONLD.Event.t() | map() | SEO.JSONLD.CreativeWork.t(),
      url: URI.t() | String.t()
    ]

t()

@type t() :: %{required(String.t()) => term()}

A JSON-LD map ready to be nested or rendered. String-keyed, always includes "@type" set to "MedicalTherapy", plus any camelCased field keys the caller provided (see build/1). "@context" is added at render time by SEO.JSONLD.meta/1 on the top-level node only.

Functions

build(attrs)

@spec build(attrs()) :: t()

Build a MedicalTherapy JSON-LD map.

Fields

  • :contraindication - A contraindication for this therapy.
  • :duplicate_therapy - A therapy that duplicates or overlaps this one.
  • :serious_adverse_outcome - A possible serious complication and/or serious side effect of this therapy. Serious adverse outcomes include those that are life-threatening; result in death, disability, or permanent damage; require hospitalization or prolong existing hospitalization; cause congenital anomalies or birth defects; or jeopardize the patient and may require medical or surgical intervention to prevent one of the outcomes in this definition.

Inherited properties

Additional properties are available through the inheritance chain. See each ancestor's docs for its properties: