Package ca.uhn.hl7v2.model.v24.segment
Class PDA
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.PDA
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PDA message segment (Patient death and autopsy). This segment has the following fields:
- PDA-1: Death Cause Code (CE) optional repeating
- PDA-2: Death Location (PL) optional
- PDA-3: Death Certified Indicator (ID) optional
- PDA-4: Death Certificate Signed Date/Time (TS) optional
- PDA-5: Death Certified By (XCN) optional
- PDA-6: Autopsy Indicator (ID) optional
- PDA-7: Autopsy Start and End Date/Time (DR) optional
- PDA-8: Autopsy Performed By (XCN) optional
- PDA-9: Coroner Indicator (ID) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns PDA-6: "Autopsy Indicator" - creates it if necessaryReturns PDA-8: "Autopsy Performed By" - creates it if necessaryReturns PDA-7: "Autopsy Start and End Date/Time" - creates it if necessaryReturns PDA-9: "Coroner Indicator" - creates it if necessaryCE[]Returns all repetitions of Death Cause Code (PDA-1).getDeathCauseCode(int rep) Returns a specific repetition of PDA-1: "Death Cause Code" - creates it if necessaryintReturns a count of the current number of repetitions of Death Cause Code (PDA-1).Returns PDA-4: "Death Certificate Signed Date/Time" - creates it if necessaryReturns PDA-5: "Death Certified By" - creates it if necessaryReturns PDA-3: "Death Certified Indicator" - creates it if necessaryReturns PDA-2: "Death Location" - creates it if necessaryCE[]Returns all repetitions of Death Cause Code (PDA-1).getPda1_DeathCauseCode(int rep) Returns a specific repetition of PDA-1: "Death Cause Code" - creates it if necessaryintReturns a count of the current number of repetitions of Death Cause Code (PDA-1).Returns PDA-2: "Death Location" - creates it if necessaryReturns PDA-3: "Death Certified Indicator" - creates it if necessaryReturns PDA-4: "Death Certificate Signed Date/Time" - creates it if necessaryReturns PDA-5: "Death Certified By" - creates it if necessaryReturns PDA-6: "Autopsy Indicator" - creates it if necessaryReturns PDA-7: "Autopsy Start and End Date/Time" - creates it if necessaryReturns PDA-8: "Autopsy Performed By" - creates it if necessaryReturns PDA-9: "Coroner Indicator" - creates it if necessaryinsertDeathCauseCode(int rep) Inserts a repetition of PDA-1: "Death Cause Code" at a specific indexinsertPda1_DeathCauseCode(int rep) Inserts a repetition of PDA-1: "Death Cause Code" at a specific indexremoveDeathCauseCode(int rep) Removes a repetition of PDA-1: "Death Cause Code" at a specific indexremovePda1_DeathCauseCode(int rep) Removes a repetition of PDA-1: "Death Cause Code" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
PDA
Creates a new PDA segment
-
-
Method Details
-
getDeathCauseCode
Returns all repetitions of Death Cause Code (PDA-1). -
getPda1_DeathCauseCode
Returns all repetitions of Death Cause Code (PDA-1). -
getDeathCauseCodeReps
Returns a count of the current number of repetitions of Death Cause Code (PDA-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getDeathCauseCode
Returns a specific repetition of PDA-1: "Death Cause Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPda1_DeathCauseCode
Returns a specific repetition of PDA-1: "Death Cause Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPda1_DeathCauseCodeReps
Returns a count of the current number of repetitions of Death Cause Code (PDA-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertDeathCauseCode
Inserts a repetition of PDA-1: "Death Cause 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)
-
insertPda1_DeathCauseCode
Inserts a repetition of PDA-1: "Death Cause 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)
-
removeDeathCauseCode
Removes a repetition of PDA-1: "Death Cause 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)
-
removePda1_DeathCauseCode
Removes a repetition of PDA-1: "Death Cause 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)
-
getDeathLocation
Returns PDA-2: "Death Location" - creates it if necessary -
getPda2_DeathLocation
Returns PDA-2: "Death Location" - creates it if necessary -
getDeathCertifiedIndicator
Returns PDA-3: "Death Certified Indicator" - creates it if necessary -
getPda3_DeathCertifiedIndicator
Returns PDA-3: "Death Certified Indicator" - creates it if necessary -
getDeathCertificateSignedDateTime
Returns PDA-4: "Death Certificate Signed Date/Time" - creates it if necessary -
getPda4_DeathCertificateSignedDateTime
Returns PDA-4: "Death Certificate Signed Date/Time" - creates it if necessary -
getDeathCertifiedBy
Returns PDA-5: "Death Certified By" - creates it if necessary -
getPda5_DeathCertifiedBy
Returns PDA-5: "Death Certified By" - creates it if necessary -
getAutopsyIndicator
Returns PDA-6: "Autopsy Indicator" - creates it if necessary -
getPda6_AutopsyIndicator
Returns PDA-6: "Autopsy Indicator" - creates it if necessary -
getAutopsyStartAndEndDateTime
Returns PDA-7: "Autopsy Start and End Date/Time" - creates it if necessary -
getPda7_AutopsyStartAndEndDateTime
Returns PDA-7: "Autopsy Start and End Date/Time" - creates it if necessary -
getAutopsyPerformedBy
Returns PDA-8: "Autopsy Performed By" - creates it if necessary -
getPda8_AutopsyPerformedBy
Returns PDA-8: "Autopsy Performed By" - creates it if necessary -
getCoronerIndicator
Returns PDA-9: "Coroner Indicator" - creates it if necessary -
getPda9_CoronerIndicator
Returns PDA-9: "Coroner Indicator" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-