Package ca.uhn.hl7v2.model.v22.segment
Class PID
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.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) (CK) optional
- PID-3: Patient ID (Internal ID) (CM_PAT_ID) repeating
- PID-4: Alternate Patient ID (ST) optional
- PID-5: Patient Name (PN)
- PID-6: Mother's Maiden Name (ST) optional
- PID-7: Date of Birth (TS) optional
- PID-8: Sex (ID) optional
- PID-9: Patient Alias (PN) optional repeating
- PID-10: Race (ID) optional
- PID-11: Patient Address (AD) optional repeating
- PID-12: County code (ID) optional
- PID-13: Phone Number - Home (TN) optional repeating
- PID-14: Phone Number - Business (TN) optional repeating
- PID-15: Language - Patient (ST) optional
- PID-16: Marital Status (ID) optional
- PID-17: Religion (ID) optional
- PID-18: Patient Account Number (CK) optional
- PID-19: Social security number - patient (ST) optional
- PID-20: Driver's license number - patient (CM_LICENSE_NO) optional
- PID-21: Mother's Identifier (CK) optional
- PID-22: Ethnic Group (ID) optional
- PID-23: Birth Place (ST) optional
- PID-24: Multiple Birth Indicator (ID) optional
- PID-25: Birth Order (NM) optional
- PID-26: Citizenship (ID) optional repeating
- PID-27: Veterans Military Status (ST) 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 necessaryID[]Returns all repetitions of Citizenship (PID-26).getCitizenship(int rep) Returns a specific repetition of PID-26: "Citizenship" - creates it if necessaryintReturns a count of the current number of repetitions of Citizenship (PID-26).Returns PID-12: "County code" - creates it if necessaryReturns PID-7: "Date of Birth" - creates it if necessaryReturns PID-20: "Driver's license number - patient" - creates it if necessaryReturns PID-22: "Ethnic Group" - creates it if necessaryReturns PID-15: "Language - Patient" - creates it if necessaryReturns PID-16: "Marital Status" - creates it if necessaryReturns 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-18: "Patient Account Number" - creates it if necessaryAD[]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).PN[]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-2: "Patient ID (External ID)" - creates it if necessaryReturns 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).Returns PID-5: "Patient Name" - creates it if necessaryTN[]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).TN[]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 necessaryAD[]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 necessaryTN[]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).TN[]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: "Language - Patient" - creates it if necessaryReturns PID-16: "Marital Status" - creates it if necessaryReturns PID-17: "Religion" - creates it if necessaryReturns PID-18: "Patient Account Number" - creates it if necessaryReturns PID-19: "Social security number - patient" - creates it if necessaryReturns PID-2: "Patient ID (External ID)" - creates it if necessaryReturns PID-20: "Driver's license number - patient" - 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 necessaryID[]Returns all repetitions of Citizenship (PID-26).getPid26_Citizenship(int rep) Returns a specific repetition of PID-26: "Citizenship" - creates it if necessaryintReturns a count of the current number of repetitions of Citizenship (PID-26).Returns PID-27: "Veterans Military Status" - creates it if necessaryReturns 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-4: "Alternate Patient ID" - creates it if necessaryReturns PID-5: "Patient Name" - creates it if necessaryReturns 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 necessaryPN[]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).getRace()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: "Social security number - patient" - creates it if necessaryReturns PID-27: "Veterans Military Status" - creates it if necessaryinsertCitizenship(int rep) Inserts a repetition of PID-26: "Citizenship" 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 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 indexinsertPid26_Citizenship(int rep) Inserts a repetition of PID-26: "Citizenship" at a specific indexinsertPid3_PatientIDInternalID(int rep) Inserts a repetition of PID-3: "Patient ID (Internal ID)" at a specific indexinsertPid9_PatientAlias(int rep) Inserts a repetition of PID-9: "Patient Alias" at a specific indexremoveCitizenship(int rep) Removes a repetition of PID-26: "Citizenship" 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 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 indexremovePid26_Citizenship(int rep) Removes a repetition of PID-26: "Citizenship" at a specific indexremovePid3_PatientIDInternalID(int rep) Removes a repetition of PID-3: "Patient ID (Internal ID)" 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 PID-5: "Patient Name" - creates it if necessary -
getPid5_PatientName
Returns PID-5: "Patient Name" - creates it if necessary -
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)
-
getLanguagePatient
Returns PID-15: "Language - Patient" - creates it if necessary -
getPid15_LanguagePatient
Returns PID-15: "Language - Patient" - creates it if necessary -
getMaritalStatus
Returns PID-16: "Marital Status" - creates it if necessary -
getPid16_MaritalStatus
Returns PID-16: "Marital Status" - creates it if necessary -
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 -
getSocialSecurityNumberPatient
Returns PID-19: "Social security number - patient" - creates it if necessary -
getPid19_SocialSecurityNumberPatient
Returns PID-19: "Social security number - patient" - creates it if necessary -
getDriverSLicenseNumberPatient
Returns PID-20: "Driver's license number - patient" - creates it if necessary -
getPid20_DriverSLicenseNumberPatient
Returns PID-20: "Driver's license number - patient" - 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 all repetitions of Citizenship (PID-26). -
getPid26_Citizenship
Returns all repetitions of Citizenship (PID-26). -
getCitizenshipReps
Returns a count of the current number of repetitions of Citizenship (PID-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getCitizenship
Returns a specific repetition of PID-26: "Citizenship" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid26_Citizenship
Returns a specific repetition of PID-26: "Citizenship" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPid26_CitizenshipReps
Returns a count of the current number of repetitions of Citizenship (PID-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertCitizenship
Inserts a repetition of PID-26: "Citizenship" 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)
-
insertPid26_Citizenship
Inserts a repetition of PID-26: "Citizenship" 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)
-
removeCitizenship
Removes a repetition of PID-26: "Citizenship" 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)
-
removePid26_Citizenship
Removes a repetition of PID-26: "Citizenship" 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)
-
getVeteransMilitaryStatus
Returns PID-27: "Veterans Military Status" - creates it if necessary -
getPid27_VeteransMilitaryStatus
Returns PID-27: "Veterans Military Status" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-