Class V3Message
java.lang.Object
org.projecthusky.communication.mpi.V3Message
- Direct Known Subclasses:
V3PdqConsumerQuery
,V3PdqContinuationBase
,V3PixSourceMergePatients
,V3PixSourceRecordAdded
,V3PixSourceRecordRevised
- Author:
- Anthony Larocca
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addPatientAddress
(net.ihe.gazelle.hl7v3.datatypes.AD patientAddress) Add an address for the patient.void
Add a confidentiality code to the patientvoid
Add Patient Ethnic Group Code to the patientvoid
addPatientID
(String extension, String root, String namespace) Set the patient idvoid
addPatientName
(String familyName, String givenName, String other, String prefixName, String suffixName) Add a patient name.void
addPatientOtherID
(String extension, String root) Add a Patient Other ID for the patientvoid
addPatientRaceCode
(String code) Add Patient Race Code to the patientvoid
addPatientTelecom
(String telecomValue, String useValue) Add a telecom value with the provided useValue ("HP" or "WP")void
addReceivingApplication
(String applicationOID) Adds the receiving application ID providedvoid
addReceivingFacility
(String facilityOID) Added the receiving facility ID providednet.ihe.gazelle.hl7v3.datatypes.II
getReceivingApplication
(int i) Gets the specified Receiving Application (Receiver Device ID)getReceivingFacility
(int i) Gets the specified Receiving Facility (Receiver Organization ID)Gets the Sending Application (Sender Device ID)Gets the Sending Facility (Sender Organization ID)protected abstract void
protected abstract void
protected abstract void
setId()
protected abstract void
void
setMessageId
(net.ihe.gazelle.hl7v3.datatypes.II messageId) void
setMultipleBirthIndicator
(boolean birthIndicator) Set whether there was a multiple birth.void
setMultipleBirthOrderNumber
(int birthNumber) Set the birth order number to the provided valuevoid
setPatientBirthTime
(String birthTime) Set the patient birth time.void
setPatientDeceased
(boolean patientDeceased) Set whether the patient is deceasedvoid
setPatientDeceasedTime
(String patientDeceasedTime) Set the patient deceased time.void
setPatientGender
(String gender) Set the patient gender to the provided value ("M", "F", or "U")void
setPatientMaritalStatus
(String maritalStatus) Set the marital status for the patientvoid
setPatientMothersMaidenName
(String family, String given, String other, String suffix, String prefix) Add a mother's maiden name for the patient.void
setPatientReligiousAffiliation
(String religiousAffiliation) Set the religious affiliation for the patientvoid
Set Patient Very Important Person codeprotected abstract void
protected abstract void
void
setProviderOrganization
(String organizationOID, String organizationName, String telecomValue) void
setScopingOrganization
(String organizationOID, String organizationName, String telecomValue) Set the scoping organization for the patientvoid
Set the sender for the query
-
Field Details
-
itsVersion
-
processingCode
-
processingModeCode
-
acceptAckCode
-
sendingApplication
-
sendingFacility
-
messageId
protected net.ihe.gazelle.hl7v3.datatypes.II messageId -
queryControlActProcess
-
-
Constructor Details
-
V3Message
-
V3Message
protected V3Message()
-
-
Method Details
-
addReceivingApplication
Adds the receiving application ID provided- Parameters:
applicationOID
- (Receiving Device ID)
-
addReceivingFacility
Added the receiving facility ID provided- Parameters:
facilityOID
- (Receiving Organization ID)
-
getReceivingApplication
Gets the specified Receiving Application (Receiver Device ID)- Parameters:
i
- (the index of the receiving application to get)- Returns:
- String - Receiving Application
-
getReceivingFacility
Gets the specified Receiving Facility (Receiver Organization ID)- Parameters:
i
- (the index of the receiving facility to get)- Returns:
- String - Receiving Facility
-
getSendingApplication
Gets the Sending Application (Sender Device ID)- Returns:
- String - Sending Application
-
getSendingFacility
Gets the Sending Facility (Sender Organization ID)- Returns:
- String - Sending Facility
-
getMessageId
public net.ihe.gazelle.hl7v3.datatypes.II getMessageId() -
setMessageId
public void setMessageId(net.ihe.gazelle.hl7v3.datatypes.II messageId) -
setSender
Set the sender for the query- Parameters:
applicationOID
- (Sender Device ID)facilityOID
- (Sender Organization ID)
-
setITSVersion
protected abstract void setITSVersion() -
setId
protected abstract void setId() -
setCreationTime
protected abstract void setCreationTime() -
setProcessingCode
protected abstract void setProcessingCode() -
setProcessingModeCode
protected abstract void setProcessingModeCode() -
setAcceptAckCode
protected abstract void setAcceptAckCode() -
addControlActProcess
protected void addControlActProcess() -
addPatientAddress
public void addPatientAddress(net.ihe.gazelle.hl7v3.datatypes.AD patientAddress) Add an address for the patient.- Parameters:
patientAddress
-
-
addPatientEthnicGroupCode
Add Patient Ethnic Group Code to the patient- Parameters:
code
-
-
addPatientName
public void addPatientName(String familyName, String givenName, String other, String prefixName, String suffixName) Add a patient name.- Parameters:
familyName
-givenName
-other
-prefixName
-suffixName
-
-
addPatientOtherID
Add a Patient Other ID for the patient- Parameters:
extension
-root
-
-
addPatientRaceCode
Add Patient Race Code to the patient- Parameters:
code
-
-
addPatientTelecom
Add a telecom value with the provided useValue ("HP" or "WP")- Parameters:
telecomValue
-useValue
-
-
setMultipleBirthIndicator
public void setMultipleBirthIndicator(boolean birthIndicator) Set whether there was a multiple birth.- Parameters:
birthIndicator
-
-
setMultipleBirthOrderNumber
public void setMultipleBirthOrderNumber(int birthNumber) Set the birth order number to the provided value- Parameters:
birthNumber
-
-
setPatientBirthTime
Set the patient birth time.- Parameters:
birthTime
-
-
setPatientDeceased
public void setPatientDeceased(boolean patientDeceased) Set whether the patient is deceased- Parameters:
patientDeceased
-
-
setPatientDeceasedTime
Set the patient deceased time.- Parameters:
patientDeceasedTime
-
-
setPatientGender
Set the patient gender to the provided value ("M", "F", or "U")- Parameters:
gender
-
-
setPatientMaritalStatus
Set the marital status for the patient- Parameters:
maritalStatus
-
-
setPatientMothersMaidenName
public void setPatientMothersMaidenName(String family, String given, String other, String suffix, String prefix) Add a mother's maiden name for the patient.- Parameters:
family
-given
-other
-suffix
-prefix
-
-
setPatientReligiousAffiliation
Set the religious affiliation for the patient- Parameters:
religiousAffiliation
-
-
addPatientConfidentialityCode
Add a confidentiality code to the patient- Parameters:
code
-
-
addPatientID
Set the patient id- Parameters:
extension
-root
-namespace
-
-
setPatientVeryImportantPerson
Set Patient Very Important Person code- Parameters:
code
-
-
setProviderOrganization
-
setScopingOrganization
public void setScopingOrganization(String organizationOID, String organizationName, String telecomValue) Set the scoping organization for the patient- Parameters:
organizationOID
-organizationName
-telecomValue
-
-