Class PEO

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class PEO extends AbstractSegment

Represents an HL7 PEO message segment (Product Experience Observation). This segment has the following fields:

  • PEO-1: Event Identifiers Used (CE) optional repeating
  • PEO-2: Event Symptom/Diagnosis Code (CE) optional repeating
  • PEO-3: Event Onset Date/Time (TS)
  • PEO-4: Event Exacerbation Date/Time (TS) optional
  • PEO-5: Event Improved Date/Time (TS) optional
  • PEO-6: Event Ended Data/Time (TS) optional
  • PEO-7: Event Location Occurred Address (XAD) optional repeating
  • PEO-8: Event Qualification (ID) optional repeating
  • PEO-9: Event Serious (ID) optional
  • PEO-10: Event Expected (ID) optional
  • PEO-11: Event Outcome (ID) optional repeating
  • PEO-12: Patient Outcome (ID) optional
  • PEO-13: Event Description From Others (FT) optional repeating
  • PEO-14: Event From Original Reporter (FT) optional repeating
  • PEO-15: Event Description From Patient (FT) optional repeating
  • PEO-16: Event Description From Practitioner (FT) optional repeating
  • PEO-17: Event Description From Autopsy (FT) optional repeating
  • PEO-18: Cause Of Death (CE) optional repeating
  • PEO-19: Primary Observer Name (XPN) optional repeating
  • PEO-20: Primary Observer Address (XAD) optional repeating
  • PEO-21: Primary Observer Telephone (XTN) optional repeating
  • PEO-22: Primary Observer's Qualification (ID) optional
  • PEO-23: Confirmation Provided By (ID) optional
  • PEO-24: Primary Observer Aware Date/Time (TS) optional
  • PEO-25: Primary Observer's identity May Be Divulged (ID) optional
See Also:
  • Constructor Details

  • Method Details

    • getEventIdentifiersUsed

      Returns all repetitions of Event Identifiers Used (PEO-1).
    • getPeo1_EventIdentifiersUsed

      Returns all repetitions of Event Identifiers Used (PEO-1).
    • getEventIdentifiersUsedReps

      Returns a count of the current number of repetitions of Event Identifiers Used (PEO-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventIdentifiersUsed

      public CE getEventIdentifiersUsed(int rep)
      Returns a specific repetition of PEO-1: "Event Identifiers Used" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo1_EventIdentifiersUsed

      public CE getPeo1_EventIdentifiersUsed(int rep)
      Returns a specific repetition of PEO-1: "Event Identifiers Used" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo1_EventIdentifiersUsedReps

      Returns a count of the current number of repetitions of Event Identifiers Used (PEO-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventIdentifiersUsed

      public CE insertEventIdentifiersUsed(int rep) throws HL7Exception
      Inserts a repetition of PEO-1: "Event Identifiers Used" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo1_EventIdentifiersUsed

      Inserts a repetition of PEO-1: "Event Identifiers Used" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventIdentifiersUsed

      public CE removeEventIdentifiersUsed(int rep) throws HL7Exception
      Removes a repetition of PEO-1: "Event Identifiers Used" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo1_EventIdentifiersUsed

      Removes a repetition of PEO-1: "Event Identifiers Used" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventSymptomDiagnosisCode

      Returns all repetitions of Event Symptom/Diagnosis Code (PEO-2).
    • getPeo2_EventSymptomDiagnosisCode

      Returns all repetitions of Event Symptom/Diagnosis Code (PEO-2).
    • getEventSymptomDiagnosisCodeReps

      Returns a count of the current number of repetitions of Event Symptom/Diagnosis Code (PEO-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventSymptomDiagnosisCode

      public CE getEventSymptomDiagnosisCode(int rep)
      Returns a specific repetition of PEO-2: "Event Symptom/Diagnosis Code" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo2_EventSymptomDiagnosisCode

      Returns a specific repetition of PEO-2: "Event Symptom/Diagnosis Code" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo2_EventSymptomDiagnosisCodeReps

      Returns a count of the current number of repetitions of Event Symptom/Diagnosis Code (PEO-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventSymptomDiagnosisCode

      Inserts a repetition of PEO-2: "Event Symptom/Diagnosis Code" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo2_EventSymptomDiagnosisCode

      Inserts a repetition of PEO-2: "Event Symptom/Diagnosis Code" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventSymptomDiagnosisCode

      Removes a repetition of PEO-2: "Event Symptom/Diagnosis Code" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo2_EventSymptomDiagnosisCode

      Removes a repetition of PEO-2: "Event Symptom/Diagnosis Code" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventOnsetDateTime

      Returns PEO-3: "Event Onset Date/Time" - creates it if necessary
    • getPeo3_EventOnsetDateTime

      Returns PEO-3: "Event Onset Date/Time" - creates it if necessary
    • getEventExacerbationDateTime

      Returns PEO-4: "Event Exacerbation Date/Time" - creates it if necessary
    • getPeo4_EventExacerbationDateTime

      Returns PEO-4: "Event Exacerbation Date/Time" - creates it if necessary
    • getEventImprovedDateTime

      Returns PEO-5: "Event Improved Date/Time" - creates it if necessary
    • getPeo5_EventImprovedDateTime

      Returns PEO-5: "Event Improved Date/Time" - creates it if necessary
    • getEventEndedDataTime

      Returns PEO-6: "Event Ended Data/Time" - creates it if necessary
    • getPeo6_EventEndedDataTime

      Returns PEO-6: "Event Ended Data/Time" - creates it if necessary
    • getEventLocationOccurredAddress

      Returns all repetitions of Event Location Occurred Address (PEO-7).
    • getPeo7_EventLocationOccurredAddress

      Returns all repetitions of Event Location Occurred Address (PEO-7).
    • getEventLocationOccurredAddressReps

      Returns a count of the current number of repetitions of Event Location Occurred Address (PEO-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventLocationOccurredAddress

      Returns a specific repetition of PEO-7: "Event Location Occurred Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo7_EventLocationOccurredAddress

      Returns a specific repetition of PEO-7: "Event Location Occurred Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo7_EventLocationOccurredAddressReps

      Returns a count of the current number of repetitions of Event Location Occurred Address (PEO-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventLocationOccurredAddress

      Inserts a repetition of PEO-7: "Event Location Occurred Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo7_EventLocationOccurredAddress

      Inserts a repetition of PEO-7: "Event Location Occurred Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventLocationOccurredAddress

      Removes a repetition of PEO-7: "Event Location Occurred Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo7_EventLocationOccurredAddress

      Removes a repetition of PEO-7: "Event Location Occurred Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventQualification

      Returns all repetitions of Event Qualification (PEO-8).
    • getPeo8_EventQualification

      Returns all repetitions of Event Qualification (PEO-8).
    • getEventQualificationReps

      Returns a count of the current number of repetitions of Event Qualification (PEO-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventQualification

      public ID getEventQualification(int rep)
      Returns a specific repetition of PEO-8: "Event Qualification" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo8_EventQualification

      public ID getPeo8_EventQualification(int rep)
      Returns a specific repetition of PEO-8: "Event Qualification" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo8_EventQualificationReps

      Returns a count of the current number of repetitions of Event Qualification (PEO-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventQualification

      public ID insertEventQualification(int rep) throws HL7Exception
      Inserts a repetition of PEO-8: "Event Qualification" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo8_EventQualification

      Inserts a repetition of PEO-8: "Event Qualification" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventQualification

      public ID removeEventQualification(int rep) throws HL7Exception
      Removes a repetition of PEO-8: "Event Qualification" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo8_EventQualification

      Removes a repetition of PEO-8: "Event Qualification" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventSerious

      public ID getEventSerious()
      Returns PEO-9: "Event Serious" - creates it if necessary
    • getPeo9_EventSerious

      Returns PEO-9: "Event Serious" - creates it if necessary
    • getEventExpected

      public ID getEventExpected()
      Returns PEO-10: "Event Expected" - creates it if necessary
    • getPeo10_EventExpected

      Returns PEO-10: "Event Expected" - creates it if necessary
    • getEventOutcome

      public ID[] getEventOutcome()
      Returns all repetitions of Event Outcome (PEO-11).
    • getPeo11_EventOutcome

      Returns all repetitions of Event Outcome (PEO-11).
    • getEventOutcomeReps

      public int getEventOutcomeReps()
      Returns a count of the current number of repetitions of Event Outcome (PEO-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventOutcome

      public ID getEventOutcome(int rep)
      Returns a specific repetition of PEO-11: "Event Outcome" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo11_EventOutcome

      public ID getPeo11_EventOutcome(int rep)
      Returns a specific repetition of PEO-11: "Event Outcome" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo11_EventOutcomeReps

      Returns a count of the current number of repetitions of Event Outcome (PEO-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventOutcome

      public ID insertEventOutcome(int rep) throws HL7Exception
      Inserts a repetition of PEO-11: "Event Outcome" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo11_EventOutcome

      public ID insertPeo11_EventOutcome(int rep) throws HL7Exception
      Inserts a repetition of PEO-11: "Event Outcome" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventOutcome

      public ID removeEventOutcome(int rep) throws HL7Exception
      Removes a repetition of PEO-11: "Event Outcome" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo11_EventOutcome

      public ID removePeo11_EventOutcome(int rep) throws HL7Exception
      Removes a repetition of PEO-11: "Event Outcome" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getPatientOutcome

      Returns PEO-12: "Patient Outcome" - creates it if necessary
    • getPeo12_PatientOutcome

      Returns PEO-12: "Patient Outcome" - creates it if necessary
    • getEventDescriptionFromOthers

      Returns all repetitions of Event Description From Others (PEO-13).
    • getPeo13_EventDescriptionFromOthers

      Returns all repetitions of Event Description From Others (PEO-13).
    • getEventDescriptionFromOthersReps

      Returns a count of the current number of repetitions of Event Description From Others (PEO-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventDescriptionFromOthers

      Returns a specific repetition of PEO-13: "Event Description From Others" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo13_EventDescriptionFromOthers

      Returns a specific repetition of PEO-13: "Event Description From Others" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo13_EventDescriptionFromOthersReps

      Returns a count of the current number of repetitions of Event Description From Others (PEO-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventDescriptionFromOthers

      Inserts a repetition of PEO-13: "Event Description From Others" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo13_EventDescriptionFromOthers

      Inserts a repetition of PEO-13: "Event Description From Others" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventDescriptionFromOthers

      Removes a repetition of PEO-13: "Event Description From Others" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo13_EventDescriptionFromOthers

      Removes a repetition of PEO-13: "Event Description From Others" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventFromOriginalReporter

      Returns all repetitions of Event From Original Reporter (PEO-14).
    • getPeo14_EventFromOriginalReporter

      Returns all repetitions of Event From Original Reporter (PEO-14).
    • getEventFromOriginalReporterReps

      Returns a count of the current number of repetitions of Event From Original Reporter (PEO-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventFromOriginalReporter

      public FT getEventFromOriginalReporter(int rep)
      Returns a specific repetition of PEO-14: "Event From Original Reporter" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo14_EventFromOriginalReporter

      Returns a specific repetition of PEO-14: "Event From Original Reporter" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo14_EventFromOriginalReporterReps

      Returns a count of the current number of repetitions of Event From Original Reporter (PEO-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventFromOriginalReporter

      Inserts a repetition of PEO-14: "Event From Original Reporter" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo14_EventFromOriginalReporter

      Inserts a repetition of PEO-14: "Event From Original Reporter" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventFromOriginalReporter

      Removes a repetition of PEO-14: "Event From Original Reporter" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo14_EventFromOriginalReporter

      Removes a repetition of PEO-14: "Event From Original Reporter" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventDescriptionFromPatient

      Returns all repetitions of Event Description From Patient (PEO-15).
    • getPeo15_EventDescriptionFromPatient

      Returns all repetitions of Event Description From Patient (PEO-15).
    • getEventDescriptionFromPatientReps

      Returns a count of the current number of repetitions of Event Description From Patient (PEO-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventDescriptionFromPatient

      Returns a specific repetition of PEO-15: "Event Description From Patient" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo15_EventDescriptionFromPatient

      Returns a specific repetition of PEO-15: "Event Description From Patient" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo15_EventDescriptionFromPatientReps

      Returns a count of the current number of repetitions of Event Description From Patient (PEO-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventDescriptionFromPatient

      Inserts a repetition of PEO-15: "Event Description From Patient" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo15_EventDescriptionFromPatient

      Inserts a repetition of PEO-15: "Event Description From Patient" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventDescriptionFromPatient

      Removes a repetition of PEO-15: "Event Description From Patient" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo15_EventDescriptionFromPatient

      Removes a repetition of PEO-15: "Event Description From Patient" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventDescriptionFromPractitioner

      Returns all repetitions of Event Description From Practitioner (PEO-16).
    • getPeo16_EventDescriptionFromPractitioner

      Returns all repetitions of Event Description From Practitioner (PEO-16).
    • getEventDescriptionFromPractitionerReps

      Returns a count of the current number of repetitions of Event Description From Practitioner (PEO-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventDescriptionFromPractitioner

      Returns a specific repetition of PEO-16: "Event Description From Practitioner" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo16_EventDescriptionFromPractitioner

      Returns a specific repetition of PEO-16: "Event Description From Practitioner" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo16_EventDescriptionFromPractitionerReps

      Returns a count of the current number of repetitions of Event Description From Practitioner (PEO-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventDescriptionFromPractitioner

      Inserts a repetition of PEO-16: "Event Description From Practitioner" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo16_EventDescriptionFromPractitioner

      Inserts a repetition of PEO-16: "Event Description From Practitioner" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventDescriptionFromPractitioner

      Removes a repetition of PEO-16: "Event Description From Practitioner" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo16_EventDescriptionFromPractitioner

      Removes a repetition of PEO-16: "Event Description From Practitioner" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getEventDescriptionFromAutopsy

      Returns all repetitions of Event Description From Autopsy (PEO-17).
    • getPeo17_EventDescriptionFromAutopsy

      Returns all repetitions of Event Description From Autopsy (PEO-17).
    • getEventDescriptionFromAutopsyReps

      Returns a count of the current number of repetitions of Event Description From Autopsy (PEO-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEventDescriptionFromAutopsy

      Returns a specific repetition of PEO-17: "Event Description From Autopsy" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo17_EventDescriptionFromAutopsy

      Returns a specific repetition of PEO-17: "Event Description From Autopsy" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo17_EventDescriptionFromAutopsyReps

      Returns a count of the current number of repetitions of Event Description From Autopsy (PEO-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEventDescriptionFromAutopsy

      Inserts a repetition of PEO-17: "Event Description From Autopsy" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo17_EventDescriptionFromAutopsy

      Inserts a repetition of PEO-17: "Event Description From Autopsy" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEventDescriptionFromAutopsy

      Removes a repetition of PEO-17: "Event Description From Autopsy" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo17_EventDescriptionFromAutopsy

      Removes a repetition of PEO-17: "Event Description From Autopsy" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getCauseOfDeath

      public CE[] getCauseOfDeath()
      Returns all repetitions of Cause Of Death (PEO-18).
    • getPeo18_CauseOfDeath

      Returns all repetitions of Cause Of Death (PEO-18).
    • getCauseOfDeathReps

      public int getCauseOfDeathReps()
      Returns a count of the current number of repetitions of Cause Of Death (PEO-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getCauseOfDeath

      public CE getCauseOfDeath(int rep)
      Returns a specific repetition of PEO-18: "Cause Of Death" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo18_CauseOfDeath

      public CE getPeo18_CauseOfDeath(int rep)
      Returns a specific repetition of PEO-18: "Cause Of Death" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo18_CauseOfDeathReps

      Returns a count of the current number of repetitions of Cause Of Death (PEO-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertCauseOfDeath

      public CE insertCauseOfDeath(int rep) throws HL7Exception
      Inserts a repetition of PEO-18: "Cause Of Death" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo18_CauseOfDeath

      public CE insertPeo18_CauseOfDeath(int rep) throws HL7Exception
      Inserts a repetition of PEO-18: "Cause Of Death" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeCauseOfDeath

      public CE removeCauseOfDeath(int rep) throws HL7Exception
      Removes a repetition of PEO-18: "Cause Of Death" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo18_CauseOfDeath

      public CE removePeo18_CauseOfDeath(int rep) throws HL7Exception
      Removes a repetition of PEO-18: "Cause Of Death" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getPrimaryObserverName

      Returns all repetitions of Primary Observer Name (PEO-19).
    • getPeo19_PrimaryObserverName

      Returns all repetitions of Primary Observer Name (PEO-19).
    • getPrimaryObserverNameReps

      Returns a count of the current number of repetitions of Primary Observer Name (PEO-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPrimaryObserverName

      public XPN getPrimaryObserverName(int rep)
      Returns a specific repetition of PEO-19: "Primary Observer Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo19_PrimaryObserverName

      Returns a specific repetition of PEO-19: "Primary Observer Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo19_PrimaryObserverNameReps

      Returns a count of the current number of repetitions of Primary Observer Name (PEO-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPrimaryObserverName

      public XPN insertPrimaryObserverName(int rep) throws HL7Exception
      Inserts a repetition of PEO-19: "Primary Observer Name" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo19_PrimaryObserverName

      Inserts a repetition of PEO-19: "Primary Observer Name" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePrimaryObserverName

      public XPN removePrimaryObserverName(int rep) throws HL7Exception
      Removes a repetition of PEO-19: "Primary Observer Name" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo19_PrimaryObserverName

      Removes a repetition of PEO-19: "Primary Observer Name" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getPrimaryObserverAddress

      Returns all repetitions of Primary Observer Address (PEO-20).
    • getPeo20_PrimaryObserverAddress

      Returns all repetitions of Primary Observer Address (PEO-20).
    • getPrimaryObserverAddressReps

      Returns a count of the current number of repetitions of Primary Observer Address (PEO-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPrimaryObserverAddress

      public XAD getPrimaryObserverAddress(int rep)
      Returns a specific repetition of PEO-20: "Primary Observer Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo20_PrimaryObserverAddress

      Returns a specific repetition of PEO-20: "Primary Observer Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo20_PrimaryObserverAddressReps

      Returns a count of the current number of repetitions of Primary Observer Address (PEO-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPrimaryObserverAddress

      Inserts a repetition of PEO-20: "Primary Observer Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo20_PrimaryObserverAddress

      Inserts a repetition of PEO-20: "Primary Observer Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePrimaryObserverAddress

      Removes a repetition of PEO-20: "Primary Observer Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo20_PrimaryObserverAddress

      Removes a repetition of PEO-20: "Primary Observer Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getPrimaryObserverTelephone

      Returns all repetitions of Primary Observer Telephone (PEO-21).
    • getPeo21_PrimaryObserverTelephone

      Returns all repetitions of Primary Observer Telephone (PEO-21).
    • getPrimaryObserverTelephoneReps

      Returns a count of the current number of repetitions of Primary Observer Telephone (PEO-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPrimaryObserverTelephone

      public XTN getPrimaryObserverTelephone(int rep)
      Returns a specific repetition of PEO-21: "Primary Observer Telephone" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo21_PrimaryObserverTelephone

      Returns a specific repetition of PEO-21: "Primary Observer Telephone" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getPeo21_PrimaryObserverTelephoneReps

      Returns a count of the current number of repetitions of Primary Observer Telephone (PEO-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPrimaryObserverTelephone

      Inserts a repetition of PEO-21: "Primary Observer Telephone" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertPeo21_PrimaryObserverTelephone

      Inserts a repetition of PEO-21: "Primary Observer Telephone" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePrimaryObserverTelephone

      Removes a repetition of PEO-21: "Primary Observer Telephone" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removePeo21_PrimaryObserverTelephone

      Removes a repetition of PEO-21: "Primary Observer Telephone" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getPrimaryObserverSQualification

      Returns PEO-22: "Primary Observer's Qualification" - creates it if necessary
    • getPeo22_PrimaryObserverSQualification

      Returns PEO-22: "Primary Observer's Qualification" - creates it if necessary
    • getConfirmationProvidedBy

      Returns PEO-23: "Confirmation Provided By" - creates it if necessary
    • getPeo23_ConfirmationProvidedBy

      Returns PEO-23: "Confirmation Provided By" - creates it if necessary
    • getPrimaryObserverAwareDateTime

      Returns PEO-24: "Primary Observer Aware Date/Time" - creates it if necessary
    • getPeo24_PrimaryObserverAwareDateTime

      Returns PEO-24: "Primary Observer Aware Date/Time" - creates it if necessary
    • getPrimaryObserverSIdentityMayBeDivulged

      Returns PEO-25: "Primary Observer's identity May Be Divulged" - creates it if necessary
    • getPeo25_PrimaryObserverSIdentityMayBeDivulged

      Returns PEO-25: "Primary Observer's identity May Be Divulged" - creates it if necessary
    • createNewTypeWithoutReflection

      protected Type createNewTypeWithoutReflection(int field)
      Overrides:
      createNewTypeWithoutReflection in class AbstractSegment