| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--org.vmdb.hl7.HL7Object
        |
        +--org.vmdb.hl7.HL7SegmentContainer
              |
              +--org.vmdb.hl7.HL7Message
                    |
                    +--org.vmdb.hl7.QBPMessage
Description: HL7 Network Connectivity For VMDB.
Copyright: Copyright (c) 2002-2003.
Company: Veterinary Medical Database (VMDB).
This is a quickly assembled message type used to demonstrate extensibility of the general library model. A more production ready solution would have been to develope a full, general purpose QBP/RSP pair of messages and extend them to the specific case of the QBP-Z01 defined here, but the point was to show a quick and easy extension example.
| Constructor Summary | |
QBPMessage()
Construct an empty QBP Message with type and event set.  | 
|
| Method Summary | |
 CEElement | 
getBreed()
Get the breed as a predefined CE Element.  | 
 java.lang.String | 
getBreedText()
Get the breed text.  | 
 java.lang.String | 
getDateOfBirth()
Get the date of birth.  | 
 CEElement | 
getDiagnosis()
Set the Diagnosis as a predefined CE Element.  | 
 java.lang.String | 
getMedicalRecordNumber()
Get the Medical record number.  | 
 OBXSegment | 
getOBX()
Get the Observation segment (containing results) from this message  | 
 java.lang.String | 
getPatientZipcode()
Get the postal code.  | 
 PIDSegment | 
getPID()
Get the PID segment from this message.  | 
 QPDSegment | 
getQPD()
Get the Input Parameter Field Description and Commentary segment from this message  | 
 RCPSegment | 
getRCP()
Get the Response Control Parameter segment from this message  | 
 java.lang.String | 
getSex()
Get the gender.  | 
 CEElement | 
getSpecies()
Get the species as a predefined CE Element.  | 
 java.lang.String | 
getSpeciesText()
Get the species text.  | 
 void | 
setBreed(CEElement ceBreed)
Set the breed as a predefined CE Element.  | 
 void | 
setBreed(java.lang.String sBreedCode,
                 java.lang.String sBreedText,
                 java.lang.String sCodeSystem)
Set the breed as the individual components of a CE Element.  | 
 void | 
setDateOfBirth(java.lang.String sBDate)
Set the date of birth as ISO format data string YYYYMMDD  | 
 void | 
setDateOfBirth(TSElement tsBDate)
Set the date of birth as ISO format data string YYYYMMDD  | 
 void | 
setDiagnosis(CEElement ceDiagnosis)
Set the Diagnosis for which we want the prevalence as a predefined CE Element.  | 
 void | 
setMedicalRecordNumber(java.lang.String sMRN)
Set the Medical record number.  | 
 void | 
setPatientZipcode(java.lang.String sZipcode)
Set the postal code of animal's residence.  | 
 void | 
setSex(java.lang.String sSex)
Set the gender.  | 
 void | 
setSpecies(CEElement ceSpecies)
Set the species as a predefined CE Element.  | 
 void | 
setSpecies(java.lang.String sSpeciesCode,
                     java.lang.String sSpeciesText,
                     java.lang.String sCodeSystem)
Set the species as the individual components of a CE Element  | 
| Methods inherited from class org.vmdb.hl7.HL7SegmentContainer | 
findSegment, listsSegments, setSeparators, toString | 
| 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 QBPMessage()
| Method Detail | 
public QPDSegment getQPD()
public PIDSegment getPID()
public OBXSegment getOBX()
public RCPSegment getRCP()
public void setMedicalRecordNumber(java.lang.String sMRN)
sMRN - String with facility's MRNpublic java.lang.String getMedicalRecordNumber()
public void setSpecies(CEElement ceSpecies)
ceSpecies - CEElement populated with the coded species
public void setSpecies(java.lang.String sSpeciesCode,
                       java.lang.String sSpeciesText,
                       java.lang.String sCodeSystem)
sSpeciesCode - String with the code for speciessSpeciesText - String with the species spelled outsCodeSystem - String, usually "SCT," with the type of codepublic CEElement getSpecies()
public java.lang.String getSpeciesText()
public void setBreed(CEElement ceBreed)
ceBreed - CEElement populated with breed
public void setBreed(java.lang.String sBreedCode,
                     java.lang.String sBreedText,
                     java.lang.String sCodeSystem)
sBreedCode - String snomed code for breedsBreedText - String breed spelled outsCodeSystem - String usually SCT with type of codepublic CEElement getBreed()
public java.lang.String getBreedText()
public void setDateOfBirth(java.lang.String sBDate)
public 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)
public java.lang.String getPatientZipcode()
public void setDiagnosis(CEElement ceDiagnosis)
ceDiagnosis - CEElement populated with the coded Diagnosispublic CEElement getDiagnosis()
  | 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||