Skip to content

Class: TravelInfo

Information on travel info

URI: portable_microhaplotype_object:TravelInfo

classDiagram class TravelInfo click TravelInfo href "../TravelInfo" TravelInfo : bed_net_usage TravelInfo : geo_admin1 TravelInfo : geo_admin2 TravelInfo : geo_admin3 TravelInfo : lat_lon TravelInfo : travel_country TravelInfo : travel_end_date TravelInfo : travel_start_date

Slots

Name Cardinality and Range Description Inheritance
lat_lon 0..1
String
the latitude and longitude of a specific site direct
geo_admin1 0..1
String
geographical admin level 1, the secondary large demarcation of a nation (nati... direct
geo_admin2 0..1
String
geographical admin level 2, the third large demarcation of a nation (nation =... direct
geo_admin3 0..1
String
geographical admin level 3, the third large demarcation of a nation (nation =... direct
travel_country 1
String
the name of country, would be the same as admin level 0 direct
travel_start_date 1
String
the date of the start of travel, can be approximate, should be YYYY-MM or YYY... direct
travel_end_date 1
String
the date of the end of travel, can be approximate, should be YYYY-MM or YYYY-... direct
bed_net_usage 0..1
Double
approximate usage of bed net while traveling, 1 = 100% nights with bed net, 0... direct

Usages

used by used in type used
SpecimenInfo travel_out_six_month range TravelInfo

Identifier and Mapping Information

Schema Source

  • from schema: https://plasmogenepi.github.io/portable-microhaplotype-object

Mappings

Mapping Type Mapped Value
self portable_microhaplotype_object:TravelInfo
native portable_microhaplotype_object:TravelInfo

LinkML Source

Direct

name: TravelInfo
description: Information on travel info
from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
slots:
- lat_lon
- geo_admin1
- geo_admin2
- geo_admin3
attributes:
  travel_country:
    name: travel_country
    description: the name of country, would be the same as admin level 0
    examples:
    - value: Senegal
    - value: USA
    - value: Japan
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: ^[A-Za-z0-9 ,._:'–-]+$
  travel_start_date:
    name: travel_start_date
    description: the date of the start of travel, can be approximate, should be YYYY-MM
      or YYYY-MM-DD (preferred)
    examples:
    - value: '2024-03-10'
    - value: 2024-03
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: \d{4}-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01]))?
  travel_end_date:
    name: travel_end_date
    description: the date of the end of travel, can be approximate, should be YYYY-MM
      or YYYY-MM-DD (preferred)
    examples:
    - value: '2024-03-10'
    - value: 2024-03
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: \d{4}-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01]))?
  bed_net_usage:
    name: bed_net_usage
    description: approximate usage of bed net while traveling, 1 = 100% nights with
      bed net, 0 = 0% no bed net usage
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    domain_of:
    - TravelInfo
    range: double
    required: false
    minimum_value: 0

Induced

name: TravelInfo
description: Information on travel info
from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
attributes:
  travel_country:
    name: travel_country
    description: the name of country, would be the same as admin level 0
    examples:
    - value: Senegal
    - value: USA
    - value: Japan
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: travel_country
    owner: TravelInfo
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: ^[A-Za-z0-9 ,._:'–-]+$
  travel_start_date:
    name: travel_start_date
    description: the date of the start of travel, can be approximate, should be YYYY-MM
      or YYYY-MM-DD (preferred)
    examples:
    - value: '2024-03-10'
    - value: 2024-03
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: travel_start_date
    owner: TravelInfo
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: \d{4}-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01]))?
  travel_end_date:
    name: travel_end_date
    description: the date of the end of travel, can be approximate, should be YYYY-MM
      or YYYY-MM-DD (preferred)
    examples:
    - value: '2024-03-10'
    - value: 2024-03
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: travel_end_date
    owner: TravelInfo
    domain_of:
    - TravelInfo
    range: string
    required: true
    pattern: \d{4}-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01]))?
  bed_net_usage:
    name: bed_net_usage
    description: approximate usage of bed net while traveling, 1 = 100% nights with
      bed net, 0 = 0% no bed net usage
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: bed_net_usage
    owner: TravelInfo
    domain_of:
    - TravelInfo
    range: double
    required: false
    minimum_value: 0
  lat_lon:
    name: lat_lon
    description: the latitude and longitude of a specific site
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: lat_lon
    owner: TravelInfo
    domain_of:
    - TravelInfo
    - SpecimenInfo
    range: string
    required: false
    pattern: ^[-+]?\d{1,2}(?:\.\d+)?,[-+]?\d{1,3}(?:\.\d+)?$
  geo_admin1:
    name: geo_admin1
    description: geographical admin level 1, the secondary large demarcation of a
      nation (nation = admin level 0)
    examples:
    - value: State/Province
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: geo_admin1
    owner: TravelInfo
    domain_of:
    - TravelInfo
    - SpecimenInfo
    range: string
    required: false
  geo_admin2:
    name: geo_admin2
    description: geographical admin level 2, the third large demarcation of a nation
      (nation = admin level 0)
    examples:
    - value: city
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: geo_admin2
    owner: TravelInfo
    domain_of:
    - TravelInfo
    - SpecimenInfo
    range: string
    required: false
  geo_admin3:
    name: geo_admin3
    description: geographical admin level 3, the third large demarcation of a nation
      (nation = admin level 0)
    examples:
    - value: district of a city
    from_schema: https://plasmogenepi.github.io/portable-microhaplotype-object
    rank: 1000
    alias: geo_admin3
    owner: TravelInfo
    domain_of:
    - TravelInfo
    - SpecimenInfo
    range: string
    required: false