Package ca.uhn.hl7v2.model.v23.segment
Class PID
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.PID
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PID message segment (Patient Identification). This segment has the following fields:
- PID-1: Set ID - Patient ID (SI) optional
- PID-2: Patient ID (External ID) (CX) optional
- PID-3: Patient ID (Internal ID) (CX) repeating
- PID-4: Alternate Patient ID (CX) optional
- PID-5: Patient Name (XPN) repeating
- PID-6: Mother's Maiden Name (XPN) optional
- PID-7: Date of Birth (TS) optional
- PID-8: Sex (IS) optional
- PID-9: Patient Alias (XPN) optional repeating
- PID-10: Race (IS) optional
- PID-11: Patient Address (XAD) optional repeating
- PID-12: County Code (IS) optional
- PID-13: Phone Number - Home (XTN) optional repeating
- PID-14: Phone Number - Business (XTN) optional repeating
- PID-15: Primary Language (CE) optional
- PID-16: Marital Status (IS) optional repeating
- PID-17: Religion (IS) optional
- PID-18: Patient Account Number (CX) optional
- PID-19: SSN Number - Patient (ST) optional
- PID-20: Driver's License Number (DLN) optional
- PID-21: Mother's Identifier (CX) optional
- PID-22: Ethnic Group (IS) optional
- PID-23: Birth Place (ST) optional
- PID-24: Multiple Birth Indicator (ID) optional
- PID-25: Birth Order (NM) optional
- PID-26: Citizenship (IS) optional
- PID-27: Veterans Military Status (CE) optional
- PID-28: Nationality Code (CE) optional
- PID-29: Patient Death Date and Time (TS) optional
- PID-30: Patient Death 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 PID-4: "Alternate Patient ID" - creates it if necessaryReturns PID-25: "Birth Order" - creates it if necessaryReturns PID-23: "Birth Place" - creates it if necessaryReturns PID-26: "Citizenship" - creates it if necessaryReturns PID-12: "County Code" - creates it if necessaryReturns PID-7: "Date of Birth" - creates it if necessaryReturns PID-20: "Driver's License Number" - creates it if necessaryReturns PID-22: "Ethnic Group" - creates it if necessaryIS[]Returns all repetitions of Marital Status (PID-16).getMaritalStatus(int rep) Returns a specific repetition of PID-16: "Marital Status" - creates it if necessaryintReturns a count of the current number of repetitions of Marital Status (PID-16).Returns PID-21: "Mother's Identifier" - creates it if necessaryReturns PID-6: "Mother's Maiden Name" - creates it if necessaryReturns PID-24: "Multiple Birth Indicator" - creates it if necessaryReturns PID-28: "Nationality Code" - creates it if necessaryReturns PID-18: "Patient Account Number" - creates it if necessaryXAD[]Returns all repetitions of Patient Address (PID-11).getPatientAddress(int rep) Returns a specific repetition of PID-11: "Patient Address" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Address (PID-11).XPN[]Returns all repetitions of Patient Alias (PID-9).getPatientAlias(int rep) Returns a specific repetition of PID-9: "Patient Alias" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Alias (PID-9).Returns PID-29: "Patient Death Date and Time" - creates it if necessaryReturns PID-30: "Patient Death Indicator" - creates it if necessaryReturns PID-2: "Patient ID (External ID)" - creates it if necessaryCX[]Returns all repetitions of Patient ID (Internal ID) (PID-3).getPatientIDInternalID(int rep) Returns a specific repetition of PID-3: "Patient ID (Internal ID)" - creates it if necessaryintReturns a count of the current number of repetitions of Patient ID (Internal ID) (PID-3).XPN[]Returns all repetitions of Patient Name (PID-5).getPatientName(int rep) Returns a specific repetition of PID-5: "Patient Name" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Name (PID-5).XTN[]Returns all repetitions of Phone Number - Business (PID-14).getPhoneNumberBusiness(int rep) Returns a specific repetition of PID-14: "Phone Number - Business" - creates it if necessaryintReturns a count of the current number of repetitions of Phone Number - Business (PID-14).XTN[]Returns all repetitions of Phone Number - Home (PID-13).getPhoneNumberHome(int rep) Returns a specific repetition of PID-13: "Phone Number - Home" - creates it if necessaryintReturns a count of the current number of repetitions of Phone Number - Home (PID-13).Returns PID-1: "Set ID - Patient ID" - creates it if necessaryReturns PID-10: "Race" - creates it if necessaryXAD[]Returns all repetitions of Patient Address (PID-11).getPid11_PatientAddress(int rep) Returns a specific repetition of PID-11: "Patient Address" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Address (PID-11).Returns PID-12: "County Code" - creates it if necessaryXTN[]Returns all repetitions of Phone Number - Home (PID-13).getPid13_PhoneNumberHome(int rep) Returns a specific repetition of PID-13: "Phone Number - Home" - creates it if necessaryintReturns a count of the current number of repetitions of Phone Number - Home (PID-13).XTN[]Returns all repetitions of Phone Number - Business (PID-14).getPid14_PhoneNumberBusiness(int rep) Returns a specific repetition of PID-14: "Phone Number - Business" - creates it if necessaryintReturns a count of the current number of repetitions of Phone Number - Business (PID-14).Returns PID-15: "Primary Language" - creates it if necessaryIS[]Returns all repetitions of Marital Status (PID-16).getPid16_MaritalStatus(int rep) Returns a specific repetition of PID-16: "Marital Status" - creates it if necessaryintReturns a count of the current number of repetitions of Marital Status (PID-16).Returns PID-17: "Religion" - creates it if necessaryReturns PID-18: "Patient Account Number" - creates it if necessaryReturns PID-19: "SSN Number - Patient" - creates it if necessaryReturns PID-2: "Patient ID (External ID)" - creates it if necessaryReturns PID-20: "Driver's License Number" - creates it if necessaryReturns PID-21: "Mother's Identifier" - creates it if necessaryReturns PID-22: "Ethnic Group" - creates it if necessaryReturns PID-23: "Birth Place" - creates it if necessaryReturns PID-24: "Multiple Birth Indicator" - creates it if necessaryReturns PID-25: "Birth Order" - creates it if necessaryReturns PID-26: "Citizenship" - creates it if necessaryReturns PID-27: "Veterans Military Status" - creates it if necessaryReturns PID-28: "Nationality Code" - creates it if necessaryReturns PID-29: "Patient Death Date and Time" - creates it if necessaryCX[]Returns all repetitions of Patient ID (Internal ID) (PID-3).getPid3_PatientIDInternalID(int rep) Returns a specific repetition of PID-3: "Patient ID (Internal ID)" - creates it if necessaryintReturns a count of the current number of repetitions of Patient ID (Internal ID) (PID-3).Returns PID-30: "Patient Death Indicator" - creates it if necessaryReturns PID-4: "Alternate Patient ID" - creates it if necessaryXPN[]Returns all repetitions of Patient Name (PID-5).getPid5_PatientName(int rep) Returns a specific repetition of PID-5: "Patient Name" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Name (PID-5).Returns PID-6: "Mother's Maiden Name" - creates it if necessaryReturns PID-7: "Date of Birth" - creates it if necessaryReturns PID-8: "Sex" - creates it if necessaryXPN[]Returns all repetitions of Patient Alias (PID-9).getPid9_PatientAlias(int rep) Returns a specific repetition of PID-9: "Patient Alias" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Alias (PID-9).Returns PID-15: "Primary Language" - creates it if necessarygetRace()Returns PID-10: "Race" - creates it if necessaryReturns PID-17: "Religion" - creates it if necessaryReturns PID-1: "Set ID - Patient ID" - creates it if necessarygetSex()Returns PID-8: "Sex" - creates it if necessaryReturns PID-19: "SSN Number - Patient" - creates it if necessaryReturns PID-27: "Veterans Military Status" - creates it if necessaryinsertMaritalStatus(int rep) Inserts a repetition of PID-16: "Marital Status" at a specific indexinsertPatientAddress(int rep) Inserts a repetition of PID-11: "Patient Address" at a specific indexinsertPatientAlias(int rep) Inserts a repetition of PID-9: "Patient Alias" at a specific indexinsertPatientIDInternalID(int rep) Inserts a repetition of PID-3: "Patient ID (Internal ID)" at a specific indexinsertPatientName(int rep) Inserts a repetition of PID-5: "Patient Name" at a specific indexinsertPhoneNumberBusiness(int rep) Inserts a repetition of PID-14: "Phone Number - Business" at a specific indexinsertPhoneNumberHome(int rep) Inserts a repetition of PID-13: "Phone Number - Home" at a specific indexinsertPid11_PatientAddress(int rep) Inserts a repetition of PID-11: "Patient Address" at a specific indexinsertPid13_PhoneNumberHome(int rep) Inserts a repetition of PID-13: "Phone Number - Home" at a specific indexinsertPid14_PhoneNumberBusiness(int rep) Inserts a repetition of PID-14: "Phone Number - Business" at a specific indexinsertPid16_MaritalStatus(int rep) Inserts a repetition of PID-16: "Marital Status" at a specific indexinsertPid3_PatientIDInternalID(int rep) Inserts a repetition of PID-3: "Patient ID (Internal ID)" at a specific indexinsertPid5_PatientName(int rep) Inserts a repetition of PID-5: "Patient Name" at a specific indexinsertPid9_PatientAlias(int rep) Inserts a repetition of PID-9: "Patient Alias" at a specific indexremoveMaritalStatus(int rep) Removes a repetition of PID-16: "Marital Status" at a specific indexremovePatientAddress(int rep) Removes a repetition of PID-11: "Patient Address" at a specific indexremovePatientAlias(int rep) Removes a repetition of PID-9: "Patient Alias" at a specific indexremovePatientIDInternalID(int rep) Removes a repetition of PID-3: "Patient ID (Internal ID)" at a specific indexremovePatientName(int rep) Removes a repetition of PID-5: "Patient Name" at a specific indexremovePhoneNumberBusiness(int rep) Removes a repetition of PID-14: "Phone Number - Business" at a specific indexremovePhoneNumberHome(int rep) Removes a repetition of PID-13: "Phone Number - Home" at a specific indexremovePid11_PatientAddress(int rep) Removes a repetition of PID-11: "Patient Address" at a specific indexremovePid13_PhoneNumberHome(int rep) Removes a repetition of PID-13: "Phone Number - Home" at a specific indexremovePid14_PhoneNumberBusiness(int rep) Removes a repetition of PID-14: "Phone Number - Business" at a specific indexremovePid16_MaritalStatus(int rep) Removes a repetition of PID-16: "Marital Status" at a specific indexremovePid3_PatientIDInternalID(int rep) Removes a repetition of PID-3: "Patient ID (Internal ID)" at a specific indexremovePid5_PatientName(int rep) Removes a repetition of PID-5: "Patient Name" at a specific indexremovePid9_PatientAlias(int rep) Removes a repetition of PID-9: "Patient Alias" 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
-
PID
Creates a new PID segment
-
-
Method Details
-
getSetIDPatientID
Returns PID-1: "Set ID - Patient ID" - creates it if necessary -
getPid1_SetIDPatientID
Returns PID-1: "Set ID - Patient ID" - creates it if necessary -
getPatientIDExternalID
Returns PID-2: "Patient ID (External ID)" - creates it if necessary -
getPid2_PatientIDExternalID
Returns PID-2: "Patient ID (External ID)" - creates it if necessary -
getPatientIDInternalID
Returns all repetitions of Patient ID (Internal ID) (PID-3). -
getPid3_PatientIDInternalID
Returns all repetitions of Patient ID (Internal ID) (PID-3). -
getPatientIDInternalIDReps
Returns a count of the current number of repetitions of Patient ID (Internal ID) (PID-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPatientIDInternalID
Returns a specific repetition of PID-3: "Patient ID (Internal ID)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid3_PatientIDInternalID
Returns a specific repetition of PID-3: "Patient ID (Internal ID)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid3_PatientIDInternalIDReps
Returns a count of the current number of repetitions of Patient ID (Internal ID) (PID-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPatientIDInternalID
Inserts a repetition of PID-3: "Patient ID (Internal ID)" 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)
-
insertPid3_PatientIDInternalID
Inserts a repetition of PID-3: "Patient ID (Internal ID)" 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)
-
removePatientIDInternalID
Removes a repetition of PID-3: "Patient ID (Internal ID)" 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)
-
removePid3_PatientIDInternalID
Removes a repetition of PID-3: "Patient ID (Internal ID)" 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)
-
getAlternatePatientID
Returns PID-4: "Alternate Patient ID" - creates it if necessary -
getPid4_AlternatePatientID
Returns PID-4: "Alternate Patient ID" - creates it if necessary -
getPatientName
Returns all repetitions of Patient Name (PID-5). -
getPid5_PatientName
Returns all repetitions of Patient Name (PID-5). -
getPatientNameReps
Returns a count of the current number of repetitions of Patient Name (PID-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPatientName
Returns a specific repetition of PID-5: "Patient Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid5_PatientName
Returns a specific repetition of PID-5: "Patient Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid5_PatientNameReps
Returns a count of the current number of repetitions of Patient Name (PID-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPatientName
Inserts a repetition of PID-5: "Patient Name" 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)
-
insertPid5_PatientName
Inserts a repetition of PID-5: "Patient Name" 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)
-
removePatientName
Removes a repetition of PID-5: "Patient Name" 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)
-
removePid5_PatientName
Removes a repetition of PID-5: "Patient Name" 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)
-
getMotherSMaidenName
Returns PID-6: "Mother's Maiden Name" - creates it if necessary -
getPid6_MotherSMaidenName
Returns PID-6: "Mother's Maiden Name" - creates it if necessary -
getDateOfBirth
Returns PID-7: "Date of Birth" - creates it if necessary -
getPid7_DateOfBirth
Returns PID-7: "Date of Birth" - creates it if necessary -
getSex
Returns PID-8: "Sex" - creates it if necessary -
getPid8_Sex
Returns PID-8: "Sex" - creates it if necessary -
getPatientAlias
Returns all repetitions of Patient Alias (PID-9). -
getPid9_PatientAlias
Returns all repetitions of Patient Alias (PID-9). -
getPatientAliasReps
Returns a count of the current number of repetitions of Patient Alias (PID-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPatientAlias
Returns a specific repetition of PID-9: "Patient Alias" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid9_PatientAlias
Returns a specific repetition of PID-9: "Patient Alias" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid9_PatientAliasReps
Returns a count of the current number of repetitions of Patient Alias (PID-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPatientAlias
Inserts a repetition of PID-9: "Patient Alias" 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)
-
insertPid9_PatientAlias
Inserts a repetition of PID-9: "Patient Alias" 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)
-
removePatientAlias
Removes a repetition of PID-9: "Patient Alias" 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)
-
removePid9_PatientAlias
Removes a repetition of PID-9: "Patient Alias" 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)
-
getRace
Returns PID-10: "Race" - creates it if necessary -
getPid10_Race
Returns PID-10: "Race" - creates it if necessary -
getPatientAddress
Returns all repetitions of Patient Address (PID-11). -
getPid11_PatientAddress
Returns all repetitions of Patient Address (PID-11). -
getPatientAddressReps
Returns a count of the current number of repetitions of Patient Address (PID-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPatientAddress
Returns a specific repetition of PID-11: "Patient Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid11_PatientAddress
Returns a specific repetition of PID-11: "Patient Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid11_PatientAddressReps
Returns a count of the current number of repetitions of Patient Address (PID-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPatientAddress
Inserts a repetition of PID-11: "Patient Address" 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)
-
insertPid11_PatientAddress
Inserts a repetition of PID-11: "Patient Address" 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)
-
removePatientAddress
Removes a repetition of PID-11: "Patient Address" 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)
-
removePid11_PatientAddress
Removes a repetition of PID-11: "Patient Address" 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)
-
getCountyCode
Returns PID-12: "County Code" - creates it if necessary -
getPid12_CountyCode
Returns PID-12: "County Code" - creates it if necessary -
getPhoneNumberHome
Returns all repetitions of Phone Number - Home (PID-13). -
getPid13_PhoneNumberHome
Returns all repetitions of Phone Number - Home (PID-13). -
getPhoneNumberHomeReps
Returns a count of the current number of repetitions of Phone Number - Home (PID-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPhoneNumberHome
Returns a specific repetition of PID-13: "Phone Number - Home" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid13_PhoneNumberHome
Returns a specific repetition of PID-13: "Phone Number - Home" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid13_PhoneNumberHomeReps
Returns a count of the current number of repetitions of Phone Number - Home (PID-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPhoneNumberHome
Inserts a repetition of PID-13: "Phone Number - Home" 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)
-
insertPid13_PhoneNumberHome
Inserts a repetition of PID-13: "Phone Number - Home" 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)
-
removePhoneNumberHome
Removes a repetition of PID-13: "Phone Number - Home" 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)
-
removePid13_PhoneNumberHome
Removes a repetition of PID-13: "Phone Number - Home" 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)
-
getPhoneNumberBusiness
Returns all repetitions of Phone Number - Business (PID-14). -
getPid14_PhoneNumberBusiness
Returns all repetitions of Phone Number - Business (PID-14). -
getPhoneNumberBusinessReps
Returns a count of the current number of repetitions of Phone Number - Business (PID-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPhoneNumberBusiness
Returns a specific repetition of PID-14: "Phone Number - Business" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid14_PhoneNumberBusiness
Returns a specific repetition of PID-14: "Phone Number - Business" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid14_PhoneNumberBusinessReps
Returns a count of the current number of repetitions of Phone Number - Business (PID-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPhoneNumberBusiness
Inserts a repetition of PID-14: "Phone Number - Business" 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)
-
insertPid14_PhoneNumberBusiness
Inserts a repetition of PID-14: "Phone Number - Business" 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)
-
removePhoneNumberBusiness
Removes a repetition of PID-14: "Phone Number - Business" 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)
-
removePid14_PhoneNumberBusiness
Removes a repetition of PID-14: "Phone Number - Business" 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)
-
getPrimaryLanguage
Returns PID-15: "Primary Language" - creates it if necessary -
getPid15_PrimaryLanguage
Returns PID-15: "Primary Language" - creates it if necessary -
getMaritalStatus
Returns all repetitions of Marital Status (PID-16). -
getPid16_MaritalStatus
Returns all repetitions of Marital Status (PID-16). -
getMaritalStatusReps
Returns a count of the current number of repetitions of Marital Status (PID-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getMaritalStatus
Returns a specific repetition of PID-16: "Marital Status" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid16_MaritalStatus
Returns a specific repetition of PID-16: "Marital Status" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid16_MaritalStatusReps
Returns a count of the current number of repetitions of Marital Status (PID-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertMaritalStatus
Inserts a repetition of PID-16: "Marital Status" 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)
-
insertPid16_MaritalStatus
Inserts a repetition of PID-16: "Marital Status" 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)
-
removeMaritalStatus
Removes a repetition of PID-16: "Marital Status" 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)
-
removePid16_MaritalStatus
Removes a repetition of PID-16: "Marital Status" 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)
-
getReligion
Returns PID-17: "Religion" - creates it if necessary -
getPid17_Religion
Returns PID-17: "Religion" - creates it if necessary -
getPatientAccountNumber
Returns PID-18: "Patient Account Number" - creates it if necessary -
getPid18_PatientAccountNumber
Returns PID-18: "Patient Account Number" - creates it if necessary -
getSSNNumberPatient
Returns PID-19: "SSN Number - Patient" - creates it if necessary -
getPid19_SSNNumberPatient
Returns PID-19: "SSN Number - Patient" - creates it if necessary -
getDriverSLicenseNumber
Returns PID-20: "Driver's License Number" - creates it if necessary -
getPid20_DriverSLicenseNumber
Returns PID-20: "Driver's License Number" - creates it if necessary -
getMotherSIdentifier
Returns PID-21: "Mother's Identifier" - creates it if necessary -
getPid21_MotherSIdentifier
Returns PID-21: "Mother's Identifier" - creates it if necessary -
getEthnicGroup
Returns PID-22: "Ethnic Group" - creates it if necessary -
getPid22_EthnicGroup
Returns PID-22: "Ethnic Group" - creates it if necessary -
getBirthPlace
Returns PID-23: "Birth Place" - creates it if necessary -
getPid23_BirthPlace
Returns PID-23: "Birth Place" - creates it if necessary -
getMultipleBirthIndicator
Returns PID-24: "Multiple Birth Indicator" - creates it if necessary -
getPid24_MultipleBirthIndicator
Returns PID-24: "Multiple Birth Indicator" - creates it if necessary -
getBirthOrder
Returns PID-25: "Birth Order" - creates it if necessary -
getPid25_BirthOrder
Returns PID-25: "Birth Order" - creates it if necessary -
getCitizenship
Returns PID-26: "Citizenship" - creates it if necessary -
getPid26_Citizenship
Returns PID-26: "Citizenship" - creates it if necessary -
getVeteransMilitaryStatus
Returns PID-27: "Veterans Military Status" - creates it if necessary -
getPid27_VeteransMilitaryStatus
Returns PID-27: "Veterans Military Status" - creates it if necessary -
getNationalityCode
Returns PID-28: "Nationality Code" - creates it if necessary -
getPid28_NationalityCode
Returns PID-28: "Nationality Code" - creates it if necessary -
getPatientDeathDateAndTime
Returns PID-29: "Patient Death Date and Time" - creates it if necessary -
getPid29_PatientDeathDateAndTime
Returns PID-29: "Patient Death Date and Time" - creates it if necessary -
getPatientDeathIndicator
Returns PID-30: "Patient Death Indicator" - creates it if necessary -
getPid30_PatientDeathIndicator
Returns PID-30: "Patient Death Indicator" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-