public class PD1 extends AbstractSegment
Represents an HL7 PD1 message segment (Patient Additional Demographic). This segment has the following fields:
log
Constructor and Description |
---|
PD1(Group parent,
ModelClassFactory factory)
Creates a new PD1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CWE[] |
getAdvanceDirectiveCode()
Returns all repetitions of Advance Directive Code (PD1-15).
|
CWE |
getAdvanceDirectiveCode(int rep)
Returns a specific repetition of
PD1-15: "Advance Directive Code" - creates it if necessary
|
int |
getAdvanceDirectiveCodeReps()
Returns a count of the current number of repetitions of Advance Directive Code (PD1-15).
|
DT |
getAdvanceDirectiveLastVerifiedDate()
Returns
PD1-22: "Advance Directive Last Verified Date" - creates it if necessary
|
CX[] |
getDuplicatePatient()
Returns all repetitions of Duplicate Patient (PD1-10).
|
CX |
getDuplicatePatient(int rep)
Returns a specific repetition of
PD1-10: "Duplicate Patient" - creates it if necessary
|
int |
getDuplicatePatientReps()
Returns a count of the current number of repetitions of Duplicate Patient (PD1-10).
|
CWE |
getHandicap()
Returns
PD1-6: "Handicap" - creates it if necessary
|
CWE |
getImmunizationRegistryStatus()
Returns
PD1-16: "Immunization Registry Status" - creates it if necessary
|
DT |
getImmunizationRegistryStatusEffectiveDate()
Returns
PD1-17: "Immunization Registry Status Effective Date" - creates it if necessary
|
CWE |
getLivingArrangement()
Returns
PD1-2: "Living Arrangement" - creates it if necessary
|
CWE[] |
getLivingDependency()
Returns all repetitions of Living Dependency (PD1-1).
|
CWE |
getLivingDependency(int rep)
Returns a specific repetition of
PD1-1: "Living Dependency" - creates it if necessary
|
int |
getLivingDependencyReps()
Returns a count of the current number of repetitions of Living Dependency (PD1-1).
|
CWE |
getLivingWillCode()
Returns
PD1-7: "Living Will Code" - creates it if necessary
|
CWE |
getMilitaryBranch()
Returns
PD1-19: "Military Branch" - creates it if necessary
|
CWE |
getMilitaryRankGrade()
Returns
PD1-20: "Military Rank/Grade" - creates it if necessary
|
CWE |
getMilitaryStatus()
Returns
PD1-21: "Military Status" - creates it if necessary
|
CWE |
getOrganDonorCode()
Returns
PD1-8: "Organ Donor Code" - creates it if necessary
|
NULLDT |
getPatientPrimaryCareProviderNameIDNo()
Returns
PD1-4: "Patient Primary Care Provider Name & ID No." - creates it if necessary
|
XON[] |
getPatientPrimaryFacility()
Returns all repetitions of Patient Primary Facility (PD1-3).
|
XON |
getPatientPrimaryFacility(int rep)
Returns a specific repetition of
PD1-3: "Patient Primary Facility" - creates it if necessary
|
int |
getPatientPrimaryFacilityReps()
Returns a count of the current number of repetitions of Patient Primary Facility (PD1-3).
|
CWE[] |
getPd11_LivingDependency()
Returns all repetitions of Living Dependency (PD1-1).
|
CWE |
getPd11_LivingDependency(int rep)
Returns a specific repetition of
PD1-1: "Living Dependency" - creates it if necessary
|
int |
getPd11_LivingDependencyReps()
Returns a count of the current number of repetitions of Living Dependency (PD1-1).
|
CX[] |
getPd110_DuplicatePatient()
Returns all repetitions of Duplicate Patient (PD1-10).
|
CX |
getPd110_DuplicatePatient(int rep)
Returns a specific repetition of
PD1-10: "Duplicate Patient" - creates it if necessary
|
int |
getPd110_DuplicatePatientReps()
Returns a count of the current number of repetitions of Duplicate Patient (PD1-10).
|
CWE |
getPd111_PublicityCode()
Returns
PD1-11: "Publicity Code" - creates it if necessary
|
ID |
getPd112_ProtectionIndicator()
Returns
PD1-12: "Protection Indicator" - creates it if necessary
|
DT |
getPd113_ProtectionIndicatorEffectiveDate()
Returns
PD1-13: "Protection Indicator Effective Date" - creates it if necessary
|
XON[] |
getPd114_PlaceOfWorship()
Returns all repetitions of Place of Worship (PD1-14).
|
XON |
getPd114_PlaceOfWorship(int rep)
Returns a specific repetition of
PD1-14: "Place of Worship" - creates it if necessary
|
int |
getPd114_PlaceOfWorshipReps()
Returns a count of the current number of repetitions of Place of Worship (PD1-14).
|
CWE[] |
getPd115_AdvanceDirectiveCode()
Returns all repetitions of Advance Directive Code (PD1-15).
|
CWE |
getPd115_AdvanceDirectiveCode(int rep)
Returns a specific repetition of
PD1-15: "Advance Directive Code" - creates it if necessary
|
int |
getPd115_AdvanceDirectiveCodeReps()
Returns a count of the current number of repetitions of Advance Directive Code (PD1-15).
|
CWE |
getPd116_ImmunizationRegistryStatus()
Returns
PD1-16: "Immunization Registry Status" - creates it if necessary
|
DT |
getPd117_ImmunizationRegistryStatusEffectiveDate()
Returns
PD1-17: "Immunization Registry Status Effective Date" - creates it if necessary
|
DT |
getPd118_PublicityCodeEffectiveDate()
Returns
PD1-18: "Publicity Code Effective Date" - creates it if necessary
|
CWE |
getPd119_MilitaryBranch()
Returns
PD1-19: "Military Branch" - creates it if necessary
|
CWE |
getPd12_LivingArrangement()
Returns
PD1-2: "Living Arrangement" - creates it if necessary
|
CWE |
getPd120_MilitaryRankGrade()
Returns
PD1-20: "Military Rank/Grade" - creates it if necessary
|
CWE |
getPd121_MilitaryStatus()
Returns
PD1-21: "Military Status" - creates it if necessary
|
DT |
getPd122_AdvanceDirectiveLastVerifiedDate()
Returns
PD1-22: "Advance Directive Last Verified Date" - creates it if necessary
|
XON[] |
getPd13_PatientPrimaryFacility()
Returns all repetitions of Patient Primary Facility (PD1-3).
|
XON |
getPd13_PatientPrimaryFacility(int rep)
Returns a specific repetition of
PD1-3: "Patient Primary Facility" - creates it if necessary
|
int |
getPd13_PatientPrimaryFacilityReps()
Returns a count of the current number of repetitions of Patient Primary Facility (PD1-3).
|
NULLDT |
getPd14_PatientPrimaryCareProviderNameIDNo()
Returns
PD1-4: "Patient Primary Care Provider Name & ID No." - creates it if necessary
|
CWE |
getPd15_StudentIndicator()
Returns
PD1-5: "Student Indicator" - creates it if necessary
|
CWE |
getPd16_Handicap()
Returns
PD1-6: "Handicap" - creates it if necessary
|
CWE |
getPd17_LivingWillCode()
Returns
PD1-7: "Living Will Code" - creates it if necessary
|
CWE |
getPd18_OrganDonorCode()
Returns
PD1-8: "Organ Donor Code" - creates it if necessary
|
ID |
getPd19_SeparateBill()
Returns
PD1-9: "Separate Bill" - creates it if necessary
|
XON[] |
getPlaceOfWorship()
Returns all repetitions of Place of Worship (PD1-14).
|
XON |
getPlaceOfWorship(int rep)
Returns a specific repetition of
PD1-14: "Place of Worship" - creates it if necessary
|
int |
getPlaceOfWorshipReps()
Returns a count of the current number of repetitions of Place of Worship (PD1-14).
|
ID |
getProtectionIndicator()
Returns
PD1-12: "Protection Indicator" - creates it if necessary
|
DT |
getProtectionIndicatorEffectiveDate()
Returns
PD1-13: "Protection Indicator Effective Date" - creates it if necessary
|
CWE |
getPublicityCode()
Returns
PD1-11: "Publicity Code" - creates it if necessary
|
DT |
getPublicityCodeEffectiveDate()
Returns
PD1-18: "Publicity Code Effective Date" - creates it if necessary
|
ID |
getSeparateBill()
Returns
PD1-9: "Separate Bill" - creates it if necessary
|
CWE |
getStudentIndicator()
Returns
PD1-5: "Student Indicator" - creates it if necessary
|
CWE |
insertAdvanceDirectiveCode(int rep)
Inserts a repetition of
PD1-15: "Advance Directive Code" at a specific index
|
CX |
insertDuplicatePatient(int rep)
Inserts a repetition of
PD1-10: "Duplicate Patient" at a specific index
|
CWE |
insertLivingDependency(int rep)
Inserts a repetition of
PD1-1: "Living Dependency" at a specific index
|
XON |
insertPatientPrimaryFacility(int rep)
Inserts a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
CWE |
insertPd11_LivingDependency(int rep)
Inserts a repetition of
PD1-1: "Living Dependency" at a specific index
|
CX |
insertPd110_DuplicatePatient(int rep)
Inserts a repetition of
PD1-10: "Duplicate Patient" at a specific index
|
XON |
insertPd114_PlaceOfWorship(int rep)
Inserts a repetition of
PD1-14: "Place of Worship" at a specific index
|
CWE |
insertPd115_AdvanceDirectiveCode(int rep)
Inserts a repetition of
PD1-15: "Advance Directive Code" at a specific index
|
XON |
insertPd13_PatientPrimaryFacility(int rep)
Inserts a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
XON |
insertPlaceOfWorship(int rep)
Inserts a repetition of
PD1-14: "Place of Worship" at a specific index
|
CWE |
removeAdvanceDirectiveCode(int rep)
Removes a repetition of
PD1-15: "Advance Directive Code" at a specific index
|
CX |
removeDuplicatePatient(int rep)
Removes a repetition of
PD1-10: "Duplicate Patient" at a specific index
|
CWE |
removeLivingDependency(int rep)
Removes a repetition of
PD1-1: "Living Dependency" at a specific index
|
XON |
removePatientPrimaryFacility(int rep)
Removes a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
CWE |
removePd11_LivingDependency(int rep)
Removes a repetition of
PD1-1: "Living Dependency" at a specific index
|
CX |
removePd110_DuplicatePatient(int rep)
Removes a repetition of
PD1-10: "Duplicate Patient" at a specific index
|
XON |
removePd114_PlaceOfWorship(int rep)
Removes a repetition of
PD1-14: "Place of Worship" at a specific index
|
CWE |
removePd115_AdvanceDirectiveCode(int rep)
Removes a repetition of
PD1-15: "Advance Directive Code" at a specific index
|
XON |
removePd13_PatientPrimaryFacility(int rep)
Removes a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
XON |
removePlaceOfWorship(int rep)
Removes a repetition of
PD1-14: "Place of Worship" 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 PD1(Group parent, ModelClassFactory factory)
public CWE[] getLivingDependency()
public CWE[] getPd11_LivingDependency()
public int getLivingDependencyReps()
public CWE getLivingDependency(int rep)
rep
- The repetition index (0-indexed)public CWE getPd11_LivingDependency(int rep)
rep
- The repetition index (0-indexed)public int getPd11_LivingDependencyReps()
public CWE insertLivingDependency(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 CWE insertPd11_LivingDependency(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 CWE removeLivingDependency(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 CWE removePd11_LivingDependency(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 CWE getLivingArrangement()
public CWE getPd12_LivingArrangement()
public XON[] getPatientPrimaryFacility()
public XON[] getPd13_PatientPrimaryFacility()
public int getPatientPrimaryFacilityReps()
public XON getPatientPrimaryFacility(int rep)
rep
- The repetition index (0-indexed)public XON getPd13_PatientPrimaryFacility(int rep)
rep
- The repetition index (0-indexed)public int getPd13_PatientPrimaryFacilityReps()
public XON insertPatientPrimaryFacility(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 XON insertPd13_PatientPrimaryFacility(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 XON removePatientPrimaryFacility(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 XON removePd13_PatientPrimaryFacility(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 NULLDT getPatientPrimaryCareProviderNameIDNo()
public NULLDT getPd14_PatientPrimaryCareProviderNameIDNo()
public CWE getStudentIndicator()
public CWE getPd15_StudentIndicator()
public CWE getHandicap()
public CWE getPd16_Handicap()
public CWE getLivingWillCode()
public CWE getPd17_LivingWillCode()
public CWE getOrganDonorCode()
public CWE getPd18_OrganDonorCode()
public ID getSeparateBill()
public ID getPd19_SeparateBill()
public CX[] getDuplicatePatient()
public CX[] getPd110_DuplicatePatient()
public int getDuplicatePatientReps()
public CX getDuplicatePatient(int rep)
rep
- The repetition index (0-indexed)public CX getPd110_DuplicatePatient(int rep)
rep
- The repetition index (0-indexed)public int getPd110_DuplicatePatientReps()
public CX insertDuplicatePatient(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 CX insertPd110_DuplicatePatient(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 CX removeDuplicatePatient(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 CX removePd110_DuplicatePatient(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 CWE getPublicityCode()
public CWE getPd111_PublicityCode()
public ID getProtectionIndicator()
public ID getPd112_ProtectionIndicator()
public DT getProtectionIndicatorEffectiveDate()
public DT getPd113_ProtectionIndicatorEffectiveDate()
public XON[] getPlaceOfWorship()
public XON[] getPd114_PlaceOfWorship()
public int getPlaceOfWorshipReps()
public XON getPlaceOfWorship(int rep)
rep
- The repetition index (0-indexed)public XON getPd114_PlaceOfWorship(int rep)
rep
- The repetition index (0-indexed)public int getPd114_PlaceOfWorshipReps()
public XON insertPlaceOfWorship(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 XON insertPd114_PlaceOfWorship(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 XON removePlaceOfWorship(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 XON removePd114_PlaceOfWorship(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 CWE[] getAdvanceDirectiveCode()
public CWE[] getPd115_AdvanceDirectiveCode()
public int getAdvanceDirectiveCodeReps()
public CWE getAdvanceDirectiveCode(int rep)
rep
- The repetition index (0-indexed)public CWE getPd115_AdvanceDirectiveCode(int rep)
rep
- The repetition index (0-indexed)public int getPd115_AdvanceDirectiveCodeReps()
public CWE insertAdvanceDirectiveCode(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 CWE insertPd115_AdvanceDirectiveCode(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 CWE removeAdvanceDirectiveCode(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 CWE removePd115_AdvanceDirectiveCode(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 CWE getImmunizationRegistryStatus()
public CWE getPd116_ImmunizationRegistryStatus()
public DT getImmunizationRegistryStatusEffectiveDate()
public DT getPd117_ImmunizationRegistryStatusEffectiveDate()
public DT getPublicityCodeEffectiveDate()
public DT getPd118_PublicityCodeEffectiveDate()
public CWE getMilitaryBranch()
public CWE getPd119_MilitaryBranch()
public CWE getMilitaryRankGrade()
public CWE getPd120_MilitaryRankGrade()
public CWE getMilitaryStatus()
public CWE getPd121_MilitaryStatus()
public DT getAdvanceDirectiveLastVerifiedDate()
public DT getPd122_AdvanceDirectiveLastVerifiedDate()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.