|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.PD1
public class PD1
Represents an HL7 PD1 message segment (patient additional demographic). This segment has the following fields:
| Constructor Summary | |
|---|---|
PD1(Group parent,
ModelClassFactory factory)
Creates a new PD1 segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
CE[] |
getAdvanceDirectiveCode()
Returns all repetitions of Advance Directive Code (PD1-15). |
CE |
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). |
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(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(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). |
CE |
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(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). |
CE |
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 |
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(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 |
CE |
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 |
CE |
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 |
CE |
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 |
CE |
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 |
CE |
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 |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PD1(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public IS[] getLivingDependency()
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 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 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 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 CE getPublicityCode()
public CE getPd111_PublicityCode()
public ID getProtectionIndicator()
public ID getPd112_ProtectionIndicator()
public DT getProtectionIndicatorEffectiveDate()
public DT getPd113_ProtectionIndicatorEffectiveDate()
public XON[] getPlaceOfWorship()
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 CE[] getAdvanceDirectiveCode()
public int getAdvanceDirectiveCodeReps()
public CE getAdvanceDirectiveCode(int rep)
rep - The repetition index (0-indexed)public CE getPd115_AdvanceDirectiveCode(int rep)
rep - The repetition index (0-indexed)public int getPd115_AdvanceDirectiveCodeReps()
public CE 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 CE 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 CE 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 CE 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()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||