Class Participant

java.lang.Object
org.projecthusky.common.model.Participant
Direct Known Subclasses:
ParticipantAt

public class Participant extends Object
The Class Participant. E.g. employer and school informational contacts MAY be recorded as participants.
  • Constructor Details

    • Participant

      public Participant()
      Standard constructor.
    • Participant

      public Participant(POCDMT000040Participant2 mdht)
      Standard constructor.
      Parameters:
      mdht - the mdht object
  • Method Details

    • getMdht

      public POCDMT000040Participant2 getMdht()
      Returns the underlying element.
      Returns:
      the mdht element
    • getParticipantRole

      public ParticipantRole getParticipantRole()
      Gets the ParticipantRole.
      Returns:
      the partcipantRole
    • setParticipantRole

      public void setParticipantRole(ParticipantRole p)
      Sets the ParticipantRole.
      Parameters:
      p - the participantRole
    • getTimeAsHl7Dtm

      public @Nullable Hl7Dtm getTimeAsHl7Dtm()
      Returns the time as an Hl7Dtm or null.
    • getTimeAsInstant

      public @Nullable Instant getTimeAsInstant()
      Returns the time as an Hl7Dtm or null.
    • getTime

      public Date getTime()
      Gets the time as Java Date Object.
      Returns:
      the time
    • setTime

      public void setTime(Date date)
      Sets the time as Data object.
      Parameters:
      date - the date
    • getTypeCode

      public List<String> getTypeCode()
      Gets the ParticipationTypeCode.
      Returns:
      the participationTypeCode
    • setTypeCode

      public void setTypeCode(String typeCode)
      Sets the type code for this participation.
      Parameters:
      typeCode - the typeCode