Class PixAddPatientRequest

java.lang.Object
org.projecthusky.communication.requests.BaseRequest
org.projecthusky.communication.requests.pix.PixAddPatientRequest

public class PixAddPatientRequest extends BaseRequest
A request class that collects all XML elements used in the transfer and allows the setting of the values.
Mostly a copy of the V3PixSourceRecordAdded class and was not reworked.
Author:
szalai
  • Constructor Details

    • PixAddPatientRequest

      public PixAddPatientRequest(String senderApplicationOID, String senderFacilityOID, String receiverApplicationOID, String receiverFacilityOID)
      Create a PixAddPatientRequest with the supplied sender and receiver
      Parameters:
      senderApplicationOID -
      senderFacilityOID -
      receiverApplicationOID -
      receiverFacilityOID -
  • Method Details

    • addControlActProcess

      protected void addControlActProcess()
      Overrides:
      addControlActProcess in class BaseRequest
    • addReceiver

      public void addReceiver(String applicationOID, String facilityOID)
      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 class BaseRequest
    • setAcceptAckCode

      protected void setAcceptAckCode()
      Specified by:
      setAcceptAckCode in class BaseRequest
    • setCreationTime

      protected void setCreationTime()
      Specified by:
      setCreationTime in class BaseRequest
    • setProcessingCode

      protected void setProcessingCode()
      Set the processing code.
      Specified by:
      setProcessingCode in class BaseRequest
    • setProcessingModeCode

      protected void setProcessingModeCode()
      Specified by:
      setProcessingModeCode in class BaseRequest
    • setScopingOrganization

      public void setScopingOrganization(String organizationOID, String organizationName, String telecomValue)
      Set the scoping organization for the patient
      Overrides:
      setScopingOrganization in class BaseRequest
      Parameters:
      organizationOID -
      organizationName -
      telecomValue -
    • setSender

      public void setSender(String applicationOID, String facilityOID)
      Set the sender ids
      Overrides:
      setSender in class BaseRequest
      Parameters:
      applicationOID - (Device ID)
      facilityOID - (Organization ID)
    • setITSVersion

      protected void setITSVersion()
      Specified by:
      setITSVersion in class BaseRequest