java.lang.Object
org.phenopackets.phenopackettools.builder.builders.VitalStatusBuilder

public class VitalStatusBuilder extends Object
  • Method Details

    • of

      public static org.phenopackets.schema.v2.core.VitalStatus of(org.phenopackets.schema.v2.core.VitalStatus.Status status)
    • alive

      public static VitalStatusBuilder alive()
    • deceased

      public static VitalStatusBuilder deceased()
    • timeOfDeath

      public VitalStatusBuilder timeOfDeath(org.phenopackets.schema.v2.core.TimeElement time)
    • causeOfDeath

      public VitalStatusBuilder causeOfDeath(org.phenopackets.schema.v2.core.OntologyClass cause)
    • causeOfDeath

      public VitalStatusBuilder causeOfDeath(String id, String label)
    • survivalTimeInDays

      public VitalStatusBuilder survivalTimeInDays(int days)
    • build

      public org.phenopackets.schema.v2.core.VitalStatus build()