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 voidvoidaddReceiver(String applicationOID, String facilityOID) Add a Receiver with the supplied IDsGet the patient IDnet.ihe.gazelle.hl7v3.prpain201304UV02.PRPAIN201304UV02TypeGet the root elementprotected voidprotected voidprotected voidsetId()protected voidvoidsetObsoletePatientID(String extension, String root, String namespace) Set the obsolete patient IDprotected voidvoidsetProcessingCode(String processingCode) Set the processing code.protected voidvoidSet 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:
addControlActProcessin classV3Message
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersionin classV3Message
-
setProcessingCode
protected void setProcessingCode()- Specified by:
setProcessingCodein classV3Message
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCodein classV3Message
-
setId
protected void setId() -
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTimein classV3Message
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCodein classV3Message
-