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 aPixAddPatientRequestwith the supplied sender and receiver -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddReceiver(String applicationOID, String facilityOID) Add a Receiver with the supplied IDsnet.ihe.gazelle.hl7v3.prpain201301UV02.PRPAIN201301UV02TypeGet the root elementprotected voidprotected voidprotected voidsetId()protected voidprotected voidSet the processing code.protected voidvoidsetScopingOrganization(String organizationOID, String organizationName, String telecomValue) Deprecated.voidSet 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 aPixAddPatientRequestwith 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)
-
getRootElement
public net.ihe.gazelle.hl7v3.prpain201301UV02.PRPAIN201301UV02Type getRootElement()Get the root element- Returns:
PRPAIN201301UV02Type- the root element
-
setId
protected void setId()- Specified by:
setIdin classBaseRequest
-
setAcceptAckCode
protected void setAcceptAckCode()- Specified by:
setAcceptAckCodein classBaseRequest
-
setCreationTime
protected void setCreationTime()- Specified by:
setCreationTimein classBaseRequest
-
setProcessingCode
protected void setProcessingCode()Set the processing code.- Specified by:
setProcessingCodein classBaseRequest
-
setProcessingModeCode
protected void setProcessingModeCode()- Specified by:
setProcessingModeCodein 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:
setSenderin classBaseRequest- Parameters:
applicationOID- (Device ID)facilityOID- (Organization ID)
-
setITSVersion
protected void setITSVersion()- Specified by:
setITSVersionin classBaseRequest
-
BaseRequest.setProviderOrganization(List, String, String)instead