Skip to content

Type of 'collectionMoment' vs 'time_of_collection' #224

@M-casado

Description

@M-casado

Summary

Beacon-v2 model Biosample's collectionMoment represents Phenopacket's time_of_collection, but has a different, more restrictive, type.

Details

While both entities cover the same semantic space, Beacon's counterpart is a string, with no format, while time_at_collection is a timeElement. I would argue that, having common/timeElement.yaml and even common/age.yaml, it would be appropriate to reference it instead, aligning with the format at source.

collectionMoment:
description: Individual's or cell cullture age at the time of sample collection
in the ISO8601 duration format `P[n]Y[n]M[n]DT[n]H[n]M[n]S`.
type: string
examples:
- P32Y6M1D
- P7D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions