Class TreatmentBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.TreatmentBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDoseIntervals
(List<org.phenopackets.schema.v2.core.DoseInterval> intervals) addDoseInterval
(org.phenopackets.schema.v2.core.DoseInterval interval) org.phenopackets.schema.v2.core.Treatment
build()
static TreatmentBuilder
static TreatmentBuilder
builder
(org.phenopackets.schema.v2.core.OntologyClass agent) cumulativeDose
(org.phenopackets.schema.v2.core.Quantity quantity) static TreatmentBuilder
intravenousAdministration
(org.phenopackets.schema.v2.core.OntologyClass agent) static org.phenopackets.schema.v2.core.Treatment
static org.phenopackets.schema.v2.core.Treatment
of
(org.phenopackets.schema.v2.core.OntologyClass agent) static TreatmentBuilder
oralAdministration
(org.phenopackets.schema.v2.core.OntologyClass agent) routeOfAdministration
(org.phenopackets.schema.v2.core.OntologyClass route)
-
Method Details
-
of
public static org.phenopackets.schema.v2.core.Treatment of(org.phenopackets.schema.v2.core.OntologyClass agent) -
of
-
builder
-
oralAdministration
public static TreatmentBuilder oralAdministration(org.phenopackets.schema.v2.core.OntologyClass agent) -
intravenousAdministration
public static TreatmentBuilder intravenousAdministration(org.phenopackets.schema.v2.core.OntologyClass agent) -
builder
-
routeOfAdministration
-
addDoseInterval
-
addAllDoseIntervals
public TreatmentBuilder addAllDoseIntervals(List<org.phenopackets.schema.v2.core.DoseInterval> intervals) -
prescription
-
ehrMedicationList
-
procedureRelated
-
cumulativeDose
-
build
public org.phenopackets.schema.v2.core.Treatment build()
-