Class ConvenienceMasterPatientIndexV3

java.lang.Object
org.projecthusky.communication.ConvenienceMasterPatientIndexV3

@Component("convenienceMasterPatientIndexV3Client") public class ConvenienceMasterPatientIndexV3 extends Object
ConvenienceMasterPatientIndexV3 ConvenienceMasterPatientIndexV3 implements the Actor Patient Identity Source from ITI-44 Patient Identity Feed HL7 V3, the Actor Patient Identifier Cross-reference Consumer from ITI-45 PIXV3 Query and as well as the ITI-47 PDQ Consumer to communicate with an MPI.
Diese Klasse stellt Methoden für die Kommunikation mit einem Master Patient Index bereit (MPI) Die Kommunikation erfolgt in dieser Klasse mit HL7 V3 (PIX V3, PDQV3)
  • Constructor Details

    • ConvenienceMasterPatientIndexV3

      public ConvenienceMasterPatientIndexV3()
  • Method Details

    • addPatientDemographics

      public boolean addPatientDemographics(Patient patient, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId)
      adds a patient to the mpi. implements ITI-44 Patient Identity Source – Add Patient Record

      Registriert einen neuen Patienten mit demografischen Personendaten an einen Master Patient Index (Patient Identity Cross-Reference Manager Akteur gemäss IHE PIX).

      Rolle der API resp. der aufrufenden Anwendung für diese Methode: IHE PIX Patient Identity Source

      Parameters:
      patient - demographic data of the patient
      homeCommunityOid - local patient domain (oid) of the source
      affinityDomain - affinityDomain configuration with pixDestination, homeCommunityId and Atna configuration
      Returns:
      true, if successful
    • mergePatients

      public boolean mergePatients(Patient finalPatient, String mergeObsoleteId, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId)
      Merge patient. implements ITI-44 Patient Identity Source – Patient Identity Merge Patient Registry Duplicates Resolved message indicates that the Patient Identity Source has done a merge within a specific Patient Identification Domain. That is, the surviving identifier (patient ID) has subsumed a duplicate patient identifier.

      Vereinigt zwei Patienten im Master Patient Index (Patient Identity Cross-Reference Manager Akteur gemäss IHE PIX).

      Rolle der API resp. der aufrufenden Anwendung für diese Methode: IHE PIX Patient Identity Source

      Parameters:
      finalPatient - the patient with the surviving identifier
      homeCommunityOid - local patient domain (oid) of the source
      mergeObsoleteId - duplicate patient identifier
      affinityDomain - affinityDomain configuration with pixDestination, homeCommunityId and Atna configuration
      Returns:
      true, if successful
    • queryPatientDemographics

      public MasterPatientIndexQueryResponse queryPatientDemographics(MasterPatientIndexQuery mpiQuery, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId)
      queries the mpi for patient according to the demographics criteria specified.
      Parameters:
      mpiQuery - the mpi query criterias
      affinityDomain - affinityDomain configuration with pdqDestination, homeCommunityId and Atna configuration
      Returns:
      query response with patients
    • queryPatientId

      public List<Identificator> queryPatientId(Patient patient, String homeCommunityOid, List<String> requestedCommunityOIDs, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId)
      query the mpi with patient id and return the ids in the queried domains from the mpi. Implements ITI-45 Patient Identifier Cross-reference Consumer Queries the Patient Identifier Cross-reference Manager for a list of corresponding patientidentifiers, if any

      Fragt eine Patienten-ID beim Master Patient Index ab (Patient Identity Cross-Reference Manager Akteur gemäss IHE PIX).

      Rolle der API resp. der aufrufenden Anwendung für diese Methode: IHE PIX Patient Identifier Cross-Reference Concumer

      Parameters:
      patient - demographic data of the patient
      homeCommunityOid - local patient domain (oid) of the source
      requestedCommunityOIDs - array of oids for domains to query
      affinityDomain - affinityDomain configuration with pixDestination, homeCommunityId and Atna configuration
      Returns:
      list of ids
    • updatePatientDemographics

      public boolean updatePatientDemographics(Patient patient, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId)
      updates the demographic information of the patient in the mpi. implements ITI-44 Patient Identity Source – Revise Patient Record updates the demographic information of the patient in the mpi.

      Aktualisiert die demographischen Daten eines Patienten im Master Patient Index (Patient Identity Cross-Reference Manager Akteur gemäss IHE PIX)

      Rolle der API resp. der aufrufenden Anwendung für diese Methode: IHE PIX Patient Identity Source

      Parameters:
      patient - demographic data of the patient
      homeCommunityOid - local patient domain (oid) of the source
      affinityDomain - affinityDomain configuration with pixDestination, homeCommunityId and Atna configuration
      Returns:
      true, if successful
    • getContext

      public org.apache.camel.CamelContext getContext()
    • setContext

      public void setContext(org.apache.camel.CamelContext context)
    • getAuditContext

      public org.openehealth.ipf.commons.audit.AuditContext getAuditContext()
    • setAuditContext

      public void setAuditContext(org.openehealth.ipf.commons.audit.AuditContext context)