Skip to content

Term: time_last_toothbrush

Specification of the time since last toothbrushing

URI: MIXS:0000924

Properties

  • Range: String

  • Structured pattern: ^{duration}$

  • Regex pattern: ^P(?:(?:\d+D|\d+M(?:\d+D)?|\d+Y(?:\d+M(?:\d+D)?)?)(?:T(?:\d+H(?:\d+M(?:\d+S)?)?|\d+M(?:\d+S)?|\d+S))?|T(?:\d+H(?:\d+M(?:\d+S)?)?|\d+M(?:\d+S)?|\d+S)|\d+W)$

Examples

Value
PT2H45M

Comments

  • P2H45M does not match ^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d+[HMS])(\d+H)?(\d+M)?(\d+S)?)?$
  • problematic ISO 8601 period validation

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/mixs-6-2-rc

LinkML Source

name: time_last_toothbrush
description: Specification of the time since last toothbrushing
title: time since last toothbrushing
comments:
- P2H45M does not match ^P(?!$)(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(T(?=\\d+[HMS])(\\d+H)?(\\d+M)?(\\d+S)?)?$
- problematic ISO 8601 period validation
examples:
- value: PT2H45M
from_schema: https://w3id.org/mixs-6-2-rc
keywords:
- time
slot_uri: MIXS:0000924
alias: time_last_toothbrush
domain_of:
- HumanOral
range: string
required: false
recommended: false
pattern: ^P(?:(?:\d+D|\d+M(?:\d+D)?|\d+Y(?:\d+M(?:\d+D)?)?)(?:T(?:\d+H(?:\d+M(?:\d+S)?)?|\d+M(?:\d+S)?|\d+S))?|T(?:\d+H(?:\d+M(?:\d+S)?)?|\d+M(?:\d+S)?|\d+S)|\d+W)$
structured_pattern:
  syntax: ^{duration}$
  interpolated: true
  partial_match: true