Class ValueBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.ValueBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.phenopackets.schema.v2.core.Value
static org.phenopackets.schema.v2.core.Value
static org.phenopackets.schema.v2.core.Value
of
(org.phenopackets.schema.v2.core.OntologyClass ontologyClass) static org.phenopackets.schema.v2.core.Value
of
(org.phenopackets.schema.v2.core.OntologyClass assay, double value) static org.phenopackets.schema.v2.core.Value
of
(org.phenopackets.schema.v2.core.OntologyClass assay, double value, double low, double high) static org.phenopackets.schema.v2.core.Value
of
(org.phenopackets.schema.v2.core.OntologyClass assay, double value, org.phenopackets.schema.v2.core.ReferenceRange ref) static org.phenopackets.schema.v2.core.Value
of
(org.phenopackets.schema.v2.core.Quantity quantity)
-
Method Details
-
of
-
of
public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass ontologyClass) -
of
public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.Quantity quantity) -
of
- Parameters:
id
- The ontology term id of The assay used for the measurementlabel
- The ontology term label of The assay used for the measurementvalue
- The test result- Returns:
- a Value without reference range
-
of
public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value) - Parameters:
assay
- The assay used for the measurement (and for which the reference range applies)value
- The test result- Returns:
- a Value without reference range
-
of
public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, org.phenopackets.schema.v2.core.ReferenceRange ref) - Parameters:
assay
- The assay used for the measurement (and for which the reference range applies)value
- The test resultref
- The reference range for the test (with lower and upper limit of normal)- Returns:
- a Value with reference range
-
of
public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, double low, double high) - Parameters:
assay
- The assay used for the measurement (and for which the reference range applies)value
- The test resultlow
- The lower limit of normal for the testhigh
- The upper limit of normal for the test- Returns:
- a Value with reference range
-