|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.vmdb.hl7.HL7Object | +--org.vmdb.hl7.HL7Segment | +--org.vmdb.hl7.PIDSegment
Description: HL7 Network Connectivity For VMDB.
Copyright: Copyright (c) 2002-2003.
Company: Veterinary Medical Database (VMDB).
The PID segment is used as the primary means of communicating information concerning the veterinary patient identification. This segment is required for all VMDB reporting messages. For VMDB usage, only one PID segment per message is allowed.
See HL7 Standard Chapter 3 for additional details.
Constructor Summary | |
PIDSegment()
Construct an empty patient identification segment. |
|
PIDSegment(HL7SegmentContainer msgParent)
Construct an empty patient identification segment, setting its containing message object. |
Method Summary | |
void |
addPatientId(java.lang.String sId,
java.lang.String sAssigningAuthority)
Set the sending facility. |
CEElement |
getBreed()
Get the breed code as the complete CEElement |
java.lang.String |
getBreedCode()
Get just the breed code value. |
java.lang.String |
getBreedCodingSystem()
Get just the coding system of the breed code value. |
java.lang.String |
getBreedText()
Get just the text of the breed code value. |
java.lang.String |
getDateOfBirth()
Get birthdate string |
boolean |
getMultipleBirth()
Get birthdate string |
XADElement |
getPatientAddress()
Get the full patient address as XADElement |
java.lang.String |
getPatientCountry()
Get just the Country string from address |
XPNElement |
getPatientName()
Get the full patient name as XPNElement |
java.lang.String |
getPatientNameString()
Get just the name string stored in family name. |
java.lang.String |
getPatientZipcode()
Get just the zipcode string from address |
java.lang.String |
getSex()
Get birthdate string |
CEElement |
getSpecies()
Get the species code as the complete CEElement |
java.lang.String |
getSpeciesCode()
Get just the universal id of the sending facility, the VMDB identifier in this case. |
java.lang.String |
getSpeciesCodingSystem()
Get just the universal id of the sending facility, the VMDB identifier in this case. |
java.lang.String |
getSpeciesText()
Get just the universal id of the sending facility, the VMDB identifier in this case. |
java.lang.String |
getStrain()
Get strain string |
java.util.Iterator |
listPatientIds()
Get the patient identifier list as a Java iterator over the repeating Field. |
void |
setBreed(CEElement ceSpecies)
Set the coded breed. |
void |
setBreed(java.lang.String sCode,
java.lang.String sText,
java.lang.String sCodeType)
Set the coded breed. |
void |
setBreed(java.lang.String sCode,
java.lang.String sText,
java.lang.String sCodeType,
java.lang.String sAltCode,
java.lang.String sAltText,
java.lang.String sAltCodeType)
Set the coded breed. |
void |
setDateOfBirth(java.lang.String sBDate)
Set the date of birth (date time but who's going to include time) |
void |
setDateOfBirth(TSElement tsBDate)
Set the date of birth (date time but who's going to include time) |
void |
setMultipleBirth(boolean bMulti)
Set multiple birth indicator to true or false |
void |
setPatientAddress(XADElement xadAddress)
Set full patient address as XAD element defined as completely as you like |
void |
setPatientCountry(java.lang.String sCountry)
Set patient country as just a single string (ISO abbreviation prefered) |
void |
setPatientName(java.lang.String sPatName)
Set patient name as just a single string (usually "Confidential") TODO: Make "Confidential" the default for new PIDs? |
void |
setPatientName(XPNElement xpnName)
Set full patient name as XPN element defined as completely as you like. |
void |
setPatientZipcode(java.lang.String sZipcode)
Set patient zipcode as just a single string |
void |
setSex(java.lang.String sSex)
Set the administrative sex |
void |
setSpecies(CEElement ceSpecies)
Set the coded species. |
void |
setSpecies(java.lang.String sCode,
java.lang.String sText,
java.lang.String sCodeType)
Set the coded species. |
void |
setSpecies(java.lang.String sCode,
java.lang.String sText,
java.lang.String sCodeType,
java.lang.String sAltCode,
java.lang.String sAltText,
java.lang.String sAltCodeType)
Set the coded species. |
void |
setStrain(java.lang.String sStrain)
Set the Strain |
Methods inherited from class org.vmdb.hl7.HL7Segment |
clearField, getField, getFieldValue, iterator, listFields, setField, setField, setField, setField, setField, setField, setField, toString, toXML |
Methods inherited from class org.vmdb.hl7.HL7Object |
getRule |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PIDSegment()
public PIDSegment(HL7SegmentContainer msgParent)
msgParent
- HL7SegmentContainer (normally a Group 4 loop) object that
contains this segment.Method Detail |
public void addPatientId(java.lang.String sId, java.lang.String sAssigningAuthority)
public java.util.Iterator listPatientIds()
CXElement
public void setPatientName(java.lang.String sPatName)
sPatName
- String of patient namepublic void setPatientName(XPNElement xpnName)
xpnName
- XPNElement with name definedpublic java.lang.String getPatientNameString()
public XPNElement getPatientName()
public void setDateOfBirth(java.lang.String sBDate)
sBDate
- String with date in ISO formatpublic void setDateOfBirth(TSElement tsBDate)
public java.lang.String getDateOfBirth()
public void setSex(java.lang.String sSex)
sSex
- String with gender as M, C, T, F, S, O, U, H, or Xpublic java.lang.String getSex()
public void setPatientZipcode(java.lang.String sZipcode)
sZipcode
- String of patient zipcodepublic void setPatientCountry(java.lang.String sCountry)
sCountry
- String of patient countrypublic void setPatientAddress(XADElement xadAddress)
xadAddress
- XADElement with address setpublic java.lang.String getPatientZipcode()
public java.lang.String getPatientCountry()
public XADElement getPatientAddress()
public void setMultipleBirth(boolean bMulti)
bMulti
- boolean true if multiplepublic boolean getMultipleBirth()
public void setSpecies(java.lang.String sCode, java.lang.String sText, java.lang.String sCodeType)
sCode
- code value normally Snomed CTsText
- spelled out termpublic void setSpecies(java.lang.String sCode, java.lang.String sText, java.lang.String sCodeType, java.lang.String sAltCode, java.lang.String sAltText, java.lang.String sAltCodeType)
sCode
- code value normally Snomed CTsText
- spelled out termsAltCode
- alternate code value for the SAME speciessAltText
- spelled out termpublic void setSpecies(CEElement ceSpecies)
ceSpecies
- species as preformed CEElementpublic CEElement getSpecies()
public java.lang.String getSpeciesText()
public java.lang.String getSpeciesCode()
public java.lang.String getSpeciesCodingSystem()
public void setBreed(java.lang.String sCode, java.lang.String sText, java.lang.String sCodeType)
sCode
- code value normally Snomed CTsText
- spelled out termpublic void setBreed(java.lang.String sCode, java.lang.String sText, java.lang.String sCodeType, java.lang.String sAltCode, java.lang.String sAltText, java.lang.String sAltCodeType)
sCode
- code value normally Snomed CTsText
- spelled out termsAltCode
- alternate code for the same BreedsAltText
- spelled out termpublic void setBreed(CEElement ceSpecies)
ceSpecies
- public CEElement getBreed()
public java.lang.String getBreedCode()
public java.lang.String getBreedText()
public java.lang.String getBreedCodingSystem()
public void setStrain(java.lang.String sStrain)
sStrain
- String with strainpublic java.lang.String getStrain()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |