Closed rrfreimuth closed 3 years ago
@rrfreimuth do you have a suggestion for labvelling https://phenopackets-schema.readthedocs.io/en/latest/interval.html ? It seems that there is a natural translation from Period to this Interval. What additional steps are needed to align it?
Here is a description from a forum: "Period" is a length of time, without the necessary implication of recurrence. "Interval" more often implies the length of time between two actions.
So, it does seem that "Period" is a better label for this element, especially because is named so in FHIR
However, a period is not anchored to a specific start/end
Let's rename to TimeInterval
which is the most unambiguous label -- it is intended to be synonymous with the FHIR Period.
Please note that the GKS VRS defines classes that represent the concept of an Interval (which is an abstract, base class) on a molecular sequence. At a minimum, please qualify the name of the proposed Interval class so that it does not create confusion with the VRS.
Please also consider aligning to the FHIR representation of time duration, which is modeled as Period . The core datatype is dateTime . Types for date and time are also available.
The Domain Analysis and mapping to FHIR document has analysis on this particular type, as it pertains to the concept of patient Age.