public class PID extends AbstractSegment
Represents an HL7 PID message segment (PATIENT IDENTIFICATION). This segment has the following fields:
log
Constructor and Description |
---|
PID(Group parent,
ModelClassFactory factory)
Creates a new PID segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ST |
getALTERNATEPATIENTID()
Returns
PID-4: "ALTERNATE PATIENT ID" - creates it if necessary
|
ID |
getCOUNTYCODE()
Returns
PID-12: "COUNTY CODE" - creates it if necessary
|
DT |
getDATEOFBIRTH()
Returns
PID-7: "DATE OF BIRTH" - creates it if necessary
|
CM |
getDRIVERSLICNUMPATIENT()
Returns
PID-20: "DRIVER'S LIC NUM - PATIENT" - creates it if necessary
|
ID |
getETHNICGROUP()
Returns
PID-10: "ETHNIC GROUP" - creates it if necessary
|
ST |
getLANGUAGEPATIENT()
Returns
PID-15: "LANGUAGE - PATIENT" - creates it if necessary
|
ID |
getMARITALSTATUS()
Returns
PID-16: "MARITAL STATUS" - creates it if necessary
|
ST |
getMOTHERSMAIDENNAME()
Returns
PID-6: "MOTHER'S MAIDEN NAME" - creates it if necessary
|
CK |
getPATIENTACCOUNTNUMBER()
Returns
PID-18: "PATIENT ACCOUNT NUMBER" - creates it if necessary
|
AD |
getPATIENTADDRESS()
Returns
PID-11: "PATIENT ADDRESS" - creates it if necessary
|
PN[] |
getPATIENTALIAS()
Returns all repetitions of PATIENT ALIAS (PID-9).
|
PN |
getPATIENTALIAS(int rep)
Returns a specific repetition of
PID-9: "PATIENT ALIAS" - creates it if necessary
|
int |
getPATIENTALIASReps()
Returns a count of the current number of repetitions of PATIENT ALIAS (PID-9).
|
CK |
getPATIENTIDEXTERNALEXTERNALID()
Returns
PID-2: "PATIENT ID EXTERNAL (EXTERNAL ID)" - creates it if necessary
|
CK |
getPATIENTIDINTERNALINTERNALID()
Returns
PID-3: "PATIENT ID INTERNAL (INTERNAL ID)" - creates it if necessary
|
PN |
getPATIENTNAME()
Returns
PID-5: "PATIENT NAME" - creates it if necessary
|
TN[] |
getPHONENUMBERBUSINESS()
Returns all repetitions of PHONE NUMBER - BUSINESS (PID-14).
|
TN |
getPHONENUMBERBUSINESS(int rep)
Returns a specific repetition of
PID-14: "PHONE NUMBER - BUSINESS" - creates it if necessary
|
int |
getPHONENUMBERBUSINESSReps()
Returns a count of the current number of repetitions of PHONE NUMBER - BUSINESS (PID-14).
|
TN[] |
getPHONENUMBERHOME()
Returns all repetitions of PHONE NUMBER - HOME (PID-13).
|
TN |
getPHONENUMBERHOME(int rep)
Returns a specific repetition of
PID-13: "PHONE NUMBER - HOME" - creates it if necessary
|
int |
getPHONENUMBERHOMEReps()
Returns a count of the current number of repetitions of PHONE NUMBER - HOME (PID-13).
|
SI |
getPid1_SETIDPATIENTID()
Returns
PID-1: "SET ID - PATIENT ID" - creates it if necessary
|
ID |
getPid10_ETHNICGROUP()
Returns
PID-10: "ETHNIC GROUP" - creates it if necessary
|
AD |
getPid11_PATIENTADDRESS()
Returns
PID-11: "PATIENT ADDRESS" - creates it if necessary
|
ID |
getPid12_COUNTYCODE()
Returns
PID-12: "COUNTY CODE" - creates it if necessary
|
TN[] |
getPid13_PHONENUMBERHOME()
Returns all repetitions of PHONE NUMBER - HOME (PID-13).
|
TN |
getPid13_PHONENUMBERHOME(int rep)
Returns a specific repetition of
PID-13: "PHONE NUMBER - HOME" - creates it if necessary
|
int |
getPid13_PHONENUMBERHOMEReps()
Returns a count of the current number of repetitions of PHONE NUMBER - HOME (PID-13).
|
TN[] |
getPid14_PHONENUMBERBUSINESS()
Returns all repetitions of PHONE NUMBER - BUSINESS (PID-14).
|
TN |
getPid14_PHONENUMBERBUSINESS(int rep)
Returns a specific repetition of
PID-14: "PHONE NUMBER - BUSINESS" - creates it if necessary
|
int |
getPid14_PHONENUMBERBUSINESSReps()
Returns a count of the current number of repetitions of PHONE NUMBER - BUSINESS (PID-14).
|
ST |
getPid15_LANGUAGEPATIENT()
Returns
PID-15: "LANGUAGE - PATIENT" - creates it if necessary
|
ID |
getPid16_MARITALSTATUS()
Returns
PID-16: "MARITAL STATUS" - creates it if necessary
|
ID |
getPid17_RELIGION()
Returns
PID-17: "RELIGION" - creates it if necessary
|
CK |
getPid18_PATIENTACCOUNTNUMBER()
Returns
PID-18: "PATIENT ACCOUNT NUMBER" - creates it if necessary
|
ST |
getPid19_SSNNUMBERPATIENT()
Returns
PID-19: "SSN NUMBER - PATIENT" - creates it if necessary
|
CK |
getPid2_PATIENTIDEXTERNALEXTERNALID()
Returns
PID-2: "PATIENT ID EXTERNAL (EXTERNAL ID)" - creates it if necessary
|
CM |
getPid20_DRIVERSLICNUMPATIENT()
Returns
PID-20: "DRIVER'S LIC NUM - PATIENT" - creates it if necessary
|
CK |
getPid3_PATIENTIDINTERNALINTERNALID()
Returns
PID-3: "PATIENT ID INTERNAL (INTERNAL ID)" - creates it if necessary
|
ST |
getPid4_ALTERNATEPATIENTID()
Returns
PID-4: "ALTERNATE PATIENT ID" - creates it if necessary
|
PN |
getPid5_PATIENTNAME()
Returns
PID-5: "PATIENT NAME" - creates it if necessary
|
ST |
getPid6_MOTHERSMAIDENNAME()
Returns
PID-6: "MOTHER'S MAIDEN NAME" - creates it if necessary
|
DT |
getPid7_DATEOFBIRTH()
Returns
PID-7: "DATE OF BIRTH" - creates it if necessary
|
ID |
getPid8_SEX()
Returns
PID-8: "SEX" - creates it if necessary
|
PN[] |
getPid9_PATIENTALIAS()
Returns all repetitions of PATIENT ALIAS (PID-9).
|
PN |
getPid9_PATIENTALIAS(int rep)
Returns a specific repetition of
PID-9: "PATIENT ALIAS" - creates it if necessary
|
int |
getPid9_PATIENTALIASReps()
Returns a count of the current number of repetitions of PATIENT ALIAS (PID-9).
|
ID |
getRELIGION()
Returns
PID-17: "RELIGION" - creates it if necessary
|
SI |
getSETIDPATIENTID()
Returns
PID-1: "SET ID - PATIENT ID" - creates it if necessary
|
ID |
getSEX()
Returns
PID-8: "SEX" - creates it if necessary
|
ST |
getSSNNUMBERPATIENT()
Returns
PID-19: "SSN NUMBER - PATIENT" - creates it if necessary
|
PN |
insertPATIENTALIAS(int rep)
Inserts a repetition of
PID-9: "PATIENT ALIAS" at a specific index
|
TN |
insertPHONENUMBERBUSINESS(int rep)
Inserts a repetition of
PID-14: "PHONE NUMBER - BUSINESS" at a specific index
|
TN |
insertPHONENUMBERHOME(int rep)
Inserts a repetition of
PID-13: "PHONE NUMBER - HOME" at a specific index
|
TN |
insertPid13_PHONENUMBERHOME(int rep)
Inserts a repetition of
PID-13: "PHONE NUMBER - HOME" at a specific index
|
TN |
insertPid14_PHONENUMBERBUSINESS(int rep)
Inserts a repetition of
PID-14: "PHONE NUMBER - BUSINESS" at a specific index
|
PN |
insertPid9_PATIENTALIAS(int rep)
Inserts a repetition of
PID-9: "PATIENT ALIAS" at a specific index
|
PN |
removePATIENTALIAS(int rep)
Removes a repetition of
PID-9: "PATIENT ALIAS" at a specific index
|
TN |
removePHONENUMBERBUSINESS(int rep)
Removes a repetition of
PID-14: "PHONE NUMBER - BUSINESS" at a specific index
|
TN |
removePHONENUMBERHOME(int rep)
Removes a repetition of
PID-13: "PHONE NUMBER - HOME" at a specific index
|
TN |
removePid13_PHONENUMBERHOME(int rep)
Removes a repetition of
PID-13: "PHONE NUMBER - HOME" at a specific index
|
TN |
removePid14_PHONENUMBERBUSINESS(int rep)
Removes a repetition of
PID-14: "PHONE NUMBER - BUSINESS" at a specific index
|
PN |
removePid9_PATIENTALIAS(int rep)
Removes a repetition of
PID-9: "PATIENT ALIAS" 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 PID(Group parent, ModelClassFactory factory)
public SI getSETIDPATIENTID()
public SI getPid1_SETIDPATIENTID()
public CK getPATIENTIDEXTERNALEXTERNALID()
public CK getPid2_PATIENTIDEXTERNALEXTERNALID()
public CK getPATIENTIDINTERNALINTERNALID()
public CK getPid3_PATIENTIDINTERNALINTERNALID()
public ST getALTERNATEPATIENTID()
public ST getPid4_ALTERNATEPATIENTID()
public PN getPATIENTNAME()
public PN getPid5_PATIENTNAME()
public ST getMOTHERSMAIDENNAME()
public ST getPid6_MOTHERSMAIDENNAME()
public DT getDATEOFBIRTH()
public DT getPid7_DATEOFBIRTH()
public ID getPid8_SEX()
public PN[] getPATIENTALIAS()
public PN[] getPid9_PATIENTALIAS()
public int getPATIENTALIASReps()
public PN getPATIENTALIAS(int rep)
rep
- The repetition index (0-indexed)public PN getPid9_PATIENTALIAS(int rep)
rep
- The repetition index (0-indexed)public int getPid9_PATIENTALIASReps()
public PN insertPATIENTALIAS(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 PN insertPid9_PATIENTALIAS(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 PN removePATIENTALIAS(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 PN removePid9_PATIENTALIAS(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 ID getETHNICGROUP()
public ID getPid10_ETHNICGROUP()
public AD getPATIENTADDRESS()
public AD getPid11_PATIENTADDRESS()
public ID getCOUNTYCODE()
public ID getPid12_COUNTYCODE()
public TN[] getPHONENUMBERHOME()
public TN[] getPid13_PHONENUMBERHOME()
public int getPHONENUMBERHOMEReps()
public TN getPHONENUMBERHOME(int rep)
rep
- The repetition index (0-indexed)public TN getPid13_PHONENUMBERHOME(int rep)
rep
- The repetition index (0-indexed)public int getPid13_PHONENUMBERHOMEReps()
public TN insertPHONENUMBERHOME(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 TN insertPid13_PHONENUMBERHOME(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 TN removePHONENUMBERHOME(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 TN removePid13_PHONENUMBERHOME(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 TN[] getPHONENUMBERBUSINESS()
public TN[] getPid14_PHONENUMBERBUSINESS()
public int getPHONENUMBERBUSINESSReps()
public TN getPHONENUMBERBUSINESS(int rep)
rep
- The repetition index (0-indexed)public TN getPid14_PHONENUMBERBUSINESS(int rep)
rep
- The repetition index (0-indexed)public int getPid14_PHONENUMBERBUSINESSReps()
public TN insertPHONENUMBERBUSINESS(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 TN insertPid14_PHONENUMBERBUSINESS(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 TN removePHONENUMBERBUSINESS(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 TN removePid14_PHONENUMBERBUSINESS(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 ST getLANGUAGEPATIENT()
public ST getPid15_LANGUAGEPATIENT()
public ID getMARITALSTATUS()
public ID getPid16_MARITALSTATUS()
public ID getRELIGION()
public ID getPid17_RELIGION()
public CK getPATIENTACCOUNTNUMBER()
public CK getPid18_PATIENTACCOUNTNUMBER()
public ST getSSNNUMBERPATIENT()
public ST getPid19_SSNNUMBERPATIENT()
public CM getDRIVERSLICNUMPATIENT()
public CM getPid20_DRIVERSLICNUMPATIENT()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.