public class PDA extends AbstractSegment
Represents an HL7 PDA message segment (Patient Death and Autopsy). This segment has the following fields:
log
Constructor and Description |
---|
PDA(Group parent,
ModelClassFactory factory)
Creates a new PDA segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID |
getAutopsyIndicator()
Returns
PDA-6: "Autopsy Indicator" - creates it if necessary
|
XCN |
getAutopsyPerformedBy()
Returns
PDA-8: "Autopsy Performed By" - creates it if necessary
|
DR |
getAutopsyStartAndEndDateTime()
Returns
PDA-7: "Autopsy Start and End Date/Time" - creates it if necessary
|
ID |
getCoronerIndicator()
Returns
PDA-9: "Coroner Indicator" - creates it if necessary
|
CE[] |
getDeathCauseCode()
Returns all repetitions of Death Cause Code (PDA-1).
|
CE |
getDeathCauseCode(int rep)
Returns a specific repetition of
PDA-1: "Death Cause Code" - creates it if necessary
|
int |
getDeathCauseCodeReps()
Returns a count of the current number of repetitions of Death Cause Code (PDA-1).
|
TS |
getDeathCertificateSignedDateTime()
Returns
PDA-4: "Death Certificate Signed Date/Time" - creates it if necessary
|
XCN |
getDeathCertifiedBy()
Returns
PDA-5: "Death Certified By" - creates it if necessary
|
ID |
getDeathCertifiedIndicator()
Returns
PDA-3: "Death Certified Indicator" - creates it if necessary
|
PL |
getDeathLocation()
Returns
PDA-2: "Death Location" - creates it if necessary
|
CE[] |
getPda1_DeathCauseCode()
Returns all repetitions of Death Cause Code (PDA-1).
|
CE |
getPda1_DeathCauseCode(int rep)
Returns a specific repetition of
PDA-1: "Death Cause Code" - creates it if necessary
|
int |
getPda1_DeathCauseCodeReps()
Returns a count of the current number of repetitions of Death Cause Code (PDA-1).
|
PL |
getPda2_DeathLocation()
Returns
PDA-2: "Death Location" - creates it if necessary
|
ID |
getPda3_DeathCertifiedIndicator()
Returns
PDA-3: "Death Certified Indicator" - creates it if necessary
|
TS |
getPda4_DeathCertificateSignedDateTime()
Returns
PDA-4: "Death Certificate Signed Date/Time" - creates it if necessary
|
XCN |
getPda5_DeathCertifiedBy()
Returns
PDA-5: "Death Certified By" - creates it if necessary
|
ID |
getPda6_AutopsyIndicator()
Returns
PDA-6: "Autopsy Indicator" - creates it if necessary
|
DR |
getPda7_AutopsyStartAndEndDateTime()
Returns
PDA-7: "Autopsy Start and End Date/Time" - creates it if necessary
|
XCN |
getPda8_AutopsyPerformedBy()
Returns
PDA-8: "Autopsy Performed By" - creates it if necessary
|
ID |
getPda9_CoronerIndicator()
Returns
PDA-9: "Coroner Indicator" - creates it if necessary
|
CE |
insertDeathCauseCode(int rep)
Inserts a repetition of
PDA-1: "Death Cause Code" at a specific index
|
CE |
insertPda1_DeathCauseCode(int rep)
Inserts a repetition of
PDA-1: "Death Cause Code" at a specific index
|
CE |
removeDeathCauseCode(int rep)
Removes a repetition of
PDA-1: "Death Cause Code" at a specific index
|
CE |
removePda1_DeathCauseCode(int rep)
Removes a repetition of
PDA-1: "Death Cause Code" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public PDA(Group parent, ModelClassFactory factory)
public CE[] getDeathCauseCode()
public CE[] getPda1_DeathCauseCode()
public int getDeathCauseCodeReps()
public CE getDeathCauseCode(int rep)
rep
- The repetition index (0-indexed)public CE getPda1_DeathCauseCode(int rep)
rep
- The repetition index (0-indexed)public int getPda1_DeathCauseCodeReps()
public CE insertDeathCauseCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE insertPda1_DeathCauseCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeDeathCauseCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removePda1_DeathCauseCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public PL getDeathLocation()
public PL getPda2_DeathLocation()
public ID getDeathCertifiedIndicator()
public ID getPda3_DeathCertifiedIndicator()
public TS getDeathCertificateSignedDateTime()
public TS getPda4_DeathCertificateSignedDateTime()
public XCN getDeathCertifiedBy()
public XCN getPda5_DeathCertifiedBy()
public ID getAutopsyIndicator()
public ID getPda6_AutopsyIndicator()
public DR getAutopsyStartAndEndDateTime()
public DR getPda7_AutopsyStartAndEndDateTime()
public XCN getAutopsyPerformedBy()
public XCN getPda8_AutopsyPerformedBy()
public ID getCoronerIndicator()
public ID getPda9_CoronerIndicator()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.