Class PixUpdatePatientRequest
java.lang.Object
org.projecthusky.communication.requests.BaseRequest
org.projecthusky.communication.requests.pix.PixUpdatePatientRequest
Request class collecting all XML elements, starting by the root.
Mostly a copy of the
Mostly a copy of the
V3PixSourceRecordRevised
earlier class.- Author:
- szalai
-
Field Summary
Fields inherited from class org.projecthusky.communication.requests.BaseRequest
acceptAckCode, itsVersion, messageId, processingCode, processingModeCode, queryControlActProcess, sendingApplication, sendingFacility
-
Constructor Summary
ConstructorsConstructorDescriptionPixUpdatePatientRequest
(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create a UpdatePatientRequest 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.prpain201302UV02.PRPAIN201302UV02Type
Get the root elementprotected void
protected void
protected void
setId()
protected void
protected void
Set the processing code.protected void
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
-
PixUpdatePatientRequest
public PixUpdatePatientRequest(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID) Create a UpdatePatientRequest 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)
-
getPatientId
Get the patient ID- Returns:
- String - the patient id
-
getRootElement
public net.ihe.gazelle.hl7v3.prpain201302UV02.PRPAIN201302UV02Type getRootElement()Get the root element- Returns:
PRPAIN201302UV02Type
- the root element
-
setProcessingCode
protected void setProcessingCode()Set the processing code.- Specified by:
setProcessingCode
in classBaseRequest
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCode
in classBaseRequest
-
setSender
Set the sender ids- Overrides:
setSender
in classBaseRequest
- Parameters:
applicationOID
- (Device ID)facilityOID
- (Organization ID)
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCode
in classBaseRequest
-
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTime
in classBaseRequest
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersion
in classBaseRequest
-
setId
protected void setId()- Specified by:
setId
in classBaseRequest
-