Class PixAddPatientRequest
java.lang.Object
org.projecthusky.communication.requests.BaseRequest
org.projecthusky.communication.requests.pix.PixAddPatientRequest
A request class that collects all XML elements used in the transfer and allows the setting of the values.
Mostly a copy of the
Mostly a copy of the
V3PixSourceRecordAdded
class and was not reworked.- Author:
- szalai
-
Field Summary
Fields inherited from class org.projecthusky.communication.requests.BaseRequest
acceptAckCode, itsVersion, messageId, processingCode, processingModeCode, queryControlActProcess, sendingApplication, sendingFacility
-
Constructor Summary
ConstructorsConstructorDescriptionPixAddPatientRequest
(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create aPixAddPatientRequest
with the supplied sender and receiver -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addReceiver
(String applicationOID, String facilityOID) Add a Receiver with the supplied IDsnet.ihe.gazelle.hl7v3.prpain201301UV02.PRPAIN201301UV02Type
Get the root elementprotected void
protected void
protected void
setId()
protected void
protected void
Set the processing code.protected void
void
setScopingOrganization
(String organizationOID, String organizationName, String telecomValue) Deprecated.void
Set the sender idsMethods inherited from class org.projecthusky.communication.requests.BaseRequest
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, setProviderOrganization
-
Constructor Details
-
PixAddPatientRequest
public PixAddPatientRequest(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create aPixAddPatientRequest
with the supplied sender and receiver- Parameters:
senderApplicationOID
-senderFacilityOID
-receiverApplicationOID
-receiverFacilityOID
-
-
-
Method Details
-
addControlActProcess
protected void addControlActProcess()- Overrides:
addControlActProcess
in classBaseRequest
-
addReceiver
Add a Receiver with the supplied IDs- Parameters:
applicationOID
- (Device ID)facilityOID
- (Organization ID)
-
getRootElement
public net.ihe.gazelle.hl7v3.prpain201301UV02.PRPAIN201301UV02Type getRootElement()Get the root element- Returns:
PRPAIN201301UV02Type
- the root element
-
setId
protected void setId()- Specified by:
setId
in classBaseRequest
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCode
in classBaseRequest
-
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTime
in classBaseRequest
-
setProcessingCode
protected void setProcessingCode()Set the processing code.- Specified by:
setProcessingCode
in classBaseRequest
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCode
in classBaseRequest
-
setScopingOrganization
public void setScopingOrganization(String organizationOID, String organizationName, String telecomValue) Deprecated.Set the scoping organization for the patient- Parameters:
organizationOID
-organizationName
-telecomValue
-
-
setSender
Set the sender ids- Overrides:
setSender
in classBaseRequest
- Parameters:
applicationOID
- (Device ID)facilityOID
- (Organization ID)
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersion
in classBaseRequest
-
BaseRequest.setProviderOrganization(List, String, String)
instead