Class TimeElements
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.TimeElements
The TimeElement is used in many places in the Phenopacket. It is defined as being one of the
following options.
- gestational_age (GestationalAge)
- age (Age)
- age_range (AgeRange)
- ontology_class (OntologyClass)
- timestamp (Timestamp)
- interval (TimeInterval)
- Author:
- Peter N Robinson
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
age
(org.phenopackets.schema.v2.core.Age age) static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
ageRange
(org.phenopackets.schema.v2.core.AgeRange ageRange) static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
gestationalAge
(int weeks) static org.phenopackets.schema.v2.core.TimeElement
gestationalAge
(int weeks, int days) static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
ontologyClass
(String id, String label) static org.phenopackets.schema.v2.core.TimeElement
ontologyClass
(org.phenopackets.schema.v2.core.OntologyClass clz) static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
static org.phenopackets.schema.v2.core.TimeElement
-
Method Details
-
gestationalAge
public static org.phenopackets.schema.v2.core.TimeElement gestationalAge(int weeks, int days) -
gestationalAge
public static org.phenopackets.schema.v2.core.TimeElement gestationalAge(int weeks) -
age
public static org.phenopackets.schema.v2.core.TimeElement age(org.phenopackets.schema.v2.core.Age age) -
age
-
ageRange
-
ageRange
public static org.phenopackets.schema.v2.core.TimeElement ageRange(org.phenopackets.schema.v2.core.AgeRange ageRange) -
ontologyClass
-
ontologyClass
public static org.phenopackets.schema.v2.core.TimeElement ontologyClass(org.phenopackets.schema.v2.core.OntologyClass clz) -
fetalOnset
public static org.phenopackets.schema.v2.core.TimeElement fetalOnset() -
embryonalOnset
public static org.phenopackets.schema.v2.core.TimeElement embryonalOnset() -
antenatalOnset
public static org.phenopackets.schema.v2.core.TimeElement antenatalOnset() -
congenitalOnset
public static org.phenopackets.schema.v2.core.TimeElement congenitalOnset() -
neonatalOnset
public static org.phenopackets.schema.v2.core.TimeElement neonatalOnset() -
childhoodOnset
public static org.phenopackets.schema.v2.core.TimeElement childhoodOnset() -
juvenileOnset
public static org.phenopackets.schema.v2.core.TimeElement juvenileOnset() -
infantileOnset
public static org.phenopackets.schema.v2.core.TimeElement infantileOnset() -
adultOnset
public static org.phenopackets.schema.v2.core.TimeElement adultOnset() -
lateOnset
public static org.phenopackets.schema.v2.core.TimeElement lateOnset() -
middleAgeOnset
public static org.phenopackets.schema.v2.core.TimeElement middleAgeOnset() -
youngAdultOnset
public static org.phenopackets.schema.v2.core.TimeElement youngAdultOnset() -
timestamp
-
timestamp
-
interval
-
interval
-