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).
|
IS |
getHandicap()
Returns
PD1-6: "Handicap" - creates it if necessary
|
IS |
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
|
IS |
getLivingArrangement()
Returns
PD1-2: "Living Arrangement" - creates it if necessary
|
IS[] |
getLivingDependency()
Returns all repetitions of Living Dependency (PD1-1).
|
IS |
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).
|
IS |
getLivingWillCode()
Returns
PD1-7: "Living Will Code" - creates it if necessary
|
IS |
getMilitaryBranch()
Returns
PD1-19: "Military Branch" - creates it if necessary
|
IS |
getMilitaryRankGrade()
Returns
PD1-20: "Military Rank/Grade" - creates it if necessary
|
IS |
getMilitaryStatus()
Returns
PD1-21: "Military Status" - creates it if necessary
|
IS |
getOrganDonorCode()
Returns
PD1-8: "Organ Donor Code" - creates it if necessary
|
XCN[] |
getPatientPrimaryCareProviderNameIDNo()
Returns all repetitions of Patient Primary Care Provider Name & ID No.
|
XCN |
getPatientPrimaryCareProviderNameIDNo(int rep)
Returns a specific repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." - creates it if necessary
|
int |
getPatientPrimaryCareProviderNameIDNoReps()
Returns a count of the current number of repetitions of Patient Primary Care Provider Name & ID No.
|
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).
|
IS[] |
getPd11_LivingDependency()
Returns all repetitions of Living Dependency (PD1-1).
|
IS |
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).
|
IS |
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
|
IS |
getPd119_MilitaryBranch()
Returns
PD1-19: "Military Branch" - creates it if necessary
|
IS |
getPd12_LivingArrangement()
Returns
PD1-2: "Living Arrangement" - creates it if necessary
|
IS |
getPd120_MilitaryRankGrade()
Returns
PD1-20: "Military Rank/Grade" - creates it if necessary
|
IS |
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).
|
XCN[] |
getPd14_PatientPrimaryCareProviderNameIDNo()
Returns all repetitions of Patient Primary Care Provider Name & ID No.
|
XCN |
getPd14_PatientPrimaryCareProviderNameIDNo(int rep)
Returns a specific repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." - creates it if necessary
|
int |
getPd14_PatientPrimaryCareProviderNameIDNoReps()
Returns a count of the current number of repetitions of Patient Primary Care Provider Name & ID No.
|
IS |
getPd15_StudentIndicator()
Returns
PD1-5: "Student Indicator" - creates it if necessary
|
IS |
getPd16_Handicap()
Returns
PD1-6: "Handicap" - creates it if necessary
|
IS |
getPd17_LivingWillCode()
Returns
PD1-7: "Living Will Code" - creates it if necessary
|
IS |
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
|
IS |
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
|
IS |
insertLivingDependency(int rep)
Inserts a repetition of
PD1-1: "Living Dependency" at a specific index
|
XCN |
insertPatientPrimaryCareProviderNameIDNo(int rep)
Inserts a repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." at a specific index
|
XON |
insertPatientPrimaryFacility(int rep)
Inserts a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
IS |
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
|
XCN |
insertPd14_PatientPrimaryCareProviderNameIDNo(int rep)
Inserts a repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." 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
|
IS |
removeLivingDependency(int rep)
Removes a repetition of
PD1-1: "Living Dependency" at a specific index
|
XCN |
removePatientPrimaryCareProviderNameIDNo(int rep)
Removes a repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." at a specific index
|
XON |
removePatientPrimaryFacility(int rep)
Removes a repetition of
PD1-3: "Patient Primary Facility" at a specific index
|
IS |
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
|
XCN |
removePd14_PatientPrimaryCareProviderNameIDNo(int rep)
Removes a repetition of
PD1-4: "Patient Primary Care Provider Name & ID No." 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 IS[] getLivingDependency()
public IS[] getPd11_LivingDependency()
public int getLivingDependencyReps()
public IS getLivingDependency(int rep)
rep
- The repetition index (0-indexed)public IS getPd11_LivingDependency(int rep)
rep
- The repetition index (0-indexed)public int getPd11_LivingDependencyReps()
public IS 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 IS 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 IS 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 IS 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 IS getLivingArrangement()
public IS 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 XCN[] getPatientPrimaryCareProviderNameIDNo()
public XCN[] getPd14_PatientPrimaryCareProviderNameIDNo()
public int getPatientPrimaryCareProviderNameIDNoReps()
public XCN getPatientPrimaryCareProviderNameIDNo(int rep)
rep
- The repetition index (0-indexed)public XCN getPd14_PatientPrimaryCareProviderNameIDNo(int rep)
rep
- The repetition index (0-indexed)public int getPd14_PatientPrimaryCareProviderNameIDNoReps()
public XCN insertPatientPrimaryCareProviderNameIDNo(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 XCN insertPd14_PatientPrimaryCareProviderNameIDNo(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 XCN removePatientPrimaryCareProviderNameIDNo(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 XCN removePd14_PatientPrimaryCareProviderNameIDNo(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 IS getStudentIndicator()
public IS getPd15_StudentIndicator()
public IS getHandicap()
public IS getPd16_Handicap()
public IS getLivingWillCode()
public IS getPd17_LivingWillCode()
public IS getOrganDonorCode()
public IS 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 IS getImmunizationRegistryStatus()
public IS getPd116_ImmunizationRegistryStatus()
public DT getImmunizationRegistryStatusEffectiveDate()
public DT getPd117_ImmunizationRegistryStatusEffectiveDate()
public DT getPublicityCodeEffectiveDate()
public DT getPd118_PublicityCodeEffectiveDate()
public IS getMilitaryBranch()
public IS getPd119_MilitaryBranch()
public IS getMilitaryRankGrade()
public IS getPd120_MilitaryRankGrade()
public IS getMilitaryStatus()
public IS 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.