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 voidvoidaddReceiver(String applicationOID, String facilityOID) Add a Receiver with the supplied IDsGet the patient IDnet.ihe.gazelle.hl7v3.prpain201302UV02.PRPAIN201302UV02TypeGet the root elementprotected voidprotected voidprotected voidsetId()protected voidprotected voidSet the processing code.protected voidvoidSet 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:
addControlActProcessin 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:
setProcessingCodein classBaseRequest
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCodein classBaseRequest
-
setSender
Set the sender ids- Overrides:
setSenderin classBaseRequest- Parameters:
applicationOID- (Device ID)facilityOID- (Organization ID)
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCodein classBaseRequest
-
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTimein classBaseRequest
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersionin classBaseRequest
-
setId
protected void setId()- Specified by:
setIdin classBaseRequest
-