Class: SchemaOrg::Patient
- Inherits:
-
Base
- Object
- Base
- SchemaOrg::Patient
- Includes:
- Mixins::Patient, _Patient
- Defined in:
- lib/schema_org/types/patient.rb,
sig/schema_org.rbs
Overview
A patient is any person recipient of health care services.
Constant Summary collapse
- SCHEMA_NAME =
"Patient"- SCHEMA_TYPES =
[self, SchemaOrg::MedicalAudience, SchemaOrg::Person, SchemaOrg::Audience, SchemaOrg::PeopleAudience, SchemaOrg::Thing, SchemaOrg::Intangible].freeze
Class Method Summary collapse
- .new(**properties) ⇒ Patient
- .schema_name ⇒ String
- .schema_type?(other_type) ⇒ Boolean
- .schema_types ⇒ ::Array[::Class]
Instance Method Summary collapse
Methods included from Mixins::Patient
#diagnosis, #diagnosis=, #drug, #drug=, #health_condition, #health_condition=, schema_property_definitions
Methods included from Mixins::Person
#additional_name, #additional_name=, #address, #address=, #affiliation, #affiliation=, #agent_interaction_statistic, #agent_interaction_statistic=, #alumni_of, #alumni_of=, #award, #award=, #awards, #awards=, #birth_date, #birth_date=, #birth_place, #birth_place=, #brand, #brand=, #call_sign, #call_sign=, #children, #children=, #colleague, #colleague=, #colleagues, #colleagues=, #contact_point, #contact_point=, #contact_points, #contact_points=, #death_date, #death_date=, #death_place, #death_place=, #duns, #duns=, #email, #email=, #family_name, #family_name=, #fax_number, #fax_number=, #follows, #follows=, #funder, #funder=, #funding, #funding=, #gender, #gender=, #given_name, #given_name=, #global_location_number, #global_location_number=, #has_certification, #has_certification=, #has_credential, #has_credential=, #has_occupation, #has_occupation=, #has_offer_catalog, #has_offer_catalog=, #has_pos, #has_pos=, #height, #height=, #home_location, #home_location=, #honorific_prefix, #honorific_prefix=, #honorific_suffix, #honorific_suffix=, #interaction_statistic, #interaction_statistic=, #isic_v4, #isic_v4=, #job_title, #job_title=, #knows, #knows=, #knows_about, #knows_about=, #knows_language, #knows_language=, #life_event, #life_event=, #makes_offer, #makes_offer=, #member_of, #member_of=, #naics, #naics=, #nationality, #nationality=, #net_worth, #net_worth=, #owns, #owns=, #parent, #parent=, #parents, #parents=, #performer_in, #performer_in=, #pronouns, #pronouns=, #publishing_principles, #publishing_principles=, #related_to, #related_to=, schema_property_definitions, #seeks, #seeks=, #sibling, #sibling=, #siblings, #siblings=, #skills, #skills=, #sponsor, #sponsor=, #spouse, #spouse=, #tax_id, #tax_id=, #telephone, #telephone=, #vat_id, #vat_id=, #weight, #weight=, #work_location, #work_location=, #works_for, #works_for=
Methods included from Mixins::Thing
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, schema_property_definitions, #subject_of, #subject_of=, #url, #url=
Methods included from Mixins::MedicalAudience
Methods included from Mixins::PeopleAudience
#health_condition, #health_condition=, #required_gender, #required_gender=, #required_max_age, #required_max_age=, #required_min_age, #required_min_age=, schema_property_definitions, #suggested_age, #suggested_age=, #suggested_gender, #suggested_gender=, #suggested_max_age, #suggested_max_age=, #suggested_measurement, #suggested_measurement=, #suggested_min_age, #suggested_min_age=
Methods included from Mixins::Audience
#audience_type, #audience_type=, #geographic_area, #geographic_area=, schema_property_definitions
Methods included from Mixins::Intangible
Methods included from _Patient
#additional_name, #additional_name=, #additional_type, #additional_type=, #address, #address=, #affiliation, #affiliation=, #agent_interaction_statistic, #agent_interaction_statistic=, #alternate_name, #alternate_name=, #alumni_of, #alumni_of=, #audience_type, #audience_type=, #award, #award=, #awards, #awards=, #birth_date, #birth_date=, #birth_place, #birth_place=, #brand, #brand=, #call_sign, #call_sign=, #children, #children=, #colleague, #colleague=, #colleagues, #colleagues=, #contact_point, #contact_point=, #contact_points, #contact_points=, #death_date, #death_date=, #death_place, #death_place=, #description, #description=, #diagnosis, #diagnosis=, #disambiguating_description, #disambiguating_description=, #drug, #drug=, #duns, #duns=, #email, #email=, #family_name, #family_name=, #fax_number, #fax_number=, #follows, #follows=, #funder, #funder=, #funding, #funding=, #gender, #gender=, #geographic_area, #geographic_area=, #given_name, #given_name=, #global_location_number, #global_location_number=, #has_certification, #has_certification=, #has_credential, #has_credential=, #has_occupation, #has_occupation=, #has_offer_catalog, #has_offer_catalog=, #has_pos, #has_pos=, #health_condition, #health_condition=, #height, #height=, #home_location, #home_location=, #honorific_prefix, #honorific_prefix=, #honorific_suffix, #honorific_suffix=, #identifier, #identifier=, #image, #image=, #interaction_statistic, #interaction_statistic=, #isic_v4, #isic_v4=, #job_title, #job_title=, #knows, #knows=, #knows_about, #knows_about=, #knows_language, #knows_language=, #life_event, #life_event=, #main_entity_of_page, #main_entity_of_page=, #makes_offer, #makes_offer=, #member_of, #member_of=, #naics, #naics=, #name, #name=, #nationality, #nationality=, #net_worth, #net_worth=, #owner, #owner=, #owns, #owns=, #parent, #parent=, #parents, #parents=, #performer_in, #performer_in=, #potential_action, #potential_action=, #pronouns, #pronouns=, #publishing_principles, #publishing_principles=, #related_to, #related_to=, #required_gender, #required_gender=, #required_max_age, #required_max_age=, #required_min_age, #required_min_age=, #same_as, #same_as=, #seeks, #seeks=, #sibling, #sibling=, #siblings, #siblings=, #skills, #skills=, #sponsor, #sponsor=, #spouse, #spouse=, #subject_of, #subject_of=, #suggested_age, #suggested_age=, #suggested_gender, #suggested_gender=, #suggested_max_age, #suggested_max_age=, #suggested_measurement, #suggested_measurement=, #suggested_min_age, #suggested_min_age=, #tax_id, #tax_id=, #telephone, #telephone=, #url, #url=, #vat_id, #vat_id=, #weight, #weight=, #work_location, #work_location=, #works_for, #works_for=
Class Method Details
.new(**properties) ⇒ Patient
30 31 32 |
# File 'lib/schema_org/types/patient.rb', line 30 def new(**properties) super end |
.schema_name ⇒ String
17 18 19 |
# File 'lib/schema_org/types/patient.rb', line 17 def schema_name SCHEMA_NAME end |
.schema_type?(other_type) ⇒ Boolean
25 26 27 28 |
# File 'lib/schema_org/types/patient.rb', line 25 def schema_type?(other_type) Base.schema_type_argument!(other_type) SCHEMA_TYPES.include?(other_type) end |
.schema_types ⇒ ::Array[::Class]
21 22 23 |
# File 'lib/schema_org/types/patient.rb', line 21 def schema_types SCHEMA_TYPES end |
Instance Method Details
#schema_type? ⇒ Boolean
91216 |
# File 'sig/schema_org.rbs', line 91216
def schema_type?: (untyped) -> bool
|
#schema_types ⇒ ::Array[::Class]
91215 |
# File 'sig/schema_org.rbs', line 91215
def schema_types: () -> ::Array[::Class]
|