Class MFN_M06_MF_PHASE_SCHED_DETAIL

java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.v251.group.MFN_M06_MF_PHASE_SCHED_DETAIL
All Implemented Interfaces:
Group, Structure, Visitable, Serializable

Represents a MFN_M06_MF_PHASE_SCHED_DETAIL group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:

  • 1: CM1 (Clinical Study Phase Master)
  • 2: CM2 (Clinical Study Schedule Master) optional repeating
See Also:
  • Constructor Details

  • Method Details

    • getVersion

      public String getVersion()
      Returns "2.5.1"
    • getCM1

      public CM1 getCM1()
      Returns CM1 (Clinical Study Phase Master) - creates it if necessary
    • getCM2

      public CM2 getCM2()
      Returns the first repetition of CM2 (Clinical Study Schedule Master) - creates it if necessary
    • getCM2

      public CM2 getCM2(int rep)
      Returns a specific repetition of CM2 (Clinical Study Schedule Master) - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
      Throws:
      HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.
    • getCM2Reps

      public int getCM2Reps()
      Returns the number of existing repetitions of CM2
    • getCM2All

      public List<CM2> getCM2All() throws HL7Exception

      Returns a non-modifiable List containing all current existing repetitions of CM2.

      Note that unlike getCM2(), this method will not create any reps if none are already present, so an empty list may be returned.

      Throws:
      HL7Exception
    • insertCM2

      public void insertCM2(CM2 structure, int rep) throws HL7Exception
      Inserts a specific repetition of CM2 (Clinical Study Schedule Master)
      Throws:
      HL7Exception
      See Also:
      • AbstractGroup#insertRepetition(Structure, int)
    • insertCM2

      public CM2 insertCM2(int rep) throws HL7Exception
      Inserts a specific repetition of CM2 (Clinical Study Schedule Master)
      Throws:
      HL7Exception
      See Also:
      • AbstractGroup#insertRepetition(Structure, int)
    • removeCM2

      public CM2 removeCM2(int rep) throws HL7Exception
      Removes a specific repetition of CM2 (Clinical Study Schedule Master)
      Throws:
      HL7Exception
      See Also: