Class V3PixSourceMergePatients
java.lang.Object
org.projecthusky.communication.mpi.V3Message
org.projecthusky.communication.mpi.impl.pix.V3PixSourceMergePatients
- Author:
- Anthony Larocca
-
Field Summary
Fields inherited from class org.projecthusky.communication.mpi.V3Message
acceptAckCode, itsVersion, messageId, processingCode, processingModeCode, queryControlActProcess, sendingApplication, sendingFacility
-
Constructor Summary
ConstructorsConstructorDescriptionV3PixSourceMergePatients
(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create a V3PixSourceMergePatients with the supplied sender and receiver -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addReceiver
(String applicationOID, String facilityOID) Add a Receiver with the supplied IDsGet the patient IDnet.ihe.gazelle.hl7v3.prpain201304UV02.PRPAIN201304UV02Type
Get the root elementprotected void
protected void
protected void
setId()
protected void
void
setObsoletePatientID
(String extension, String root, String namespace) Set the obsolete patient IDprotected void
void
setProcessingCode
(String processingCode) Set the processing code.protected void
void
Set the sender idsMethods inherited from class org.projecthusky.communication.mpi.V3Message
addPatientAddress, addPatientConfidentialityCode, addPatientEthnicGroupCode, addPatientID, addPatientName, addPatientOtherID, addPatientRaceCode, addPatientTelecom, addReceivingApplication, addReceivingFacility, getMessageId, getReceivingApplication, getReceivingFacility, getSendingApplication, getSendingFacility, setMessageId, setMultipleBirthIndicator, setMultipleBirthOrderNumber, setPatientBirthTime, setPatientDeceased, setPatientDeceasedTime, setPatientGender, setPatientMaritalStatus, setPatientMothersMaidenName, setPatientReligiousAffiliation, setPatientVeryImportantPerson, setProviderOrganization, setScopingOrganization
-
Constructor Details
-
V3PixSourceMergePatients
public V3PixSourceMergePatients(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create a V3PixSourceMergePatients with the supplied sender and receiver- Parameters:
senderApplicationOID
-senderFacilityOID
-receiverApplicationOID
-receiverFacilityOID
-
-
-
Method Details
-
addReceiver
Add a Receiver with the supplied IDs- Parameters:
applicationOID
- (Device ID)facilityOID
- (Organization ID)
-
getPatientId
Get the patient ID- Returns:
- String - the patient id
-
getRootElement
public net.ihe.gazelle.hl7v3.prpain201304UV02.PRPAIN201304UV02Type getRootElement()Get the root element- Returns:
- PRPAIN201304UV02Type - the root element
-
setObsoletePatientID
Set the obsolete patient ID- Parameters:
extension
-root
-namespace
-
-
setProcessingCode
Set the processing code.- Parameters:
processingCode
-
-
setSender
Set the sender ids -
addControlActProcess
protected void addControlActProcess()- Overrides:
addControlActProcess
in classV3Message
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersion
in classV3Message
-
setProcessingCode
protected void setProcessingCode()- Specified by:
setProcessingCode
in classV3Message
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCode
in classV3Message
-
setId
protected void setId() -
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTime
in classV3Message
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCode
in classV3Message
-