Class ConvenienceMasterPatientIndexV3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPatientDemographics(Patient patient, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId) adds a patient to the mpi.org.openehealth.ipf.commons.audit.AuditContextorg.apache.camel.CamelContextbooleanmergePatients(Patient finalPatient, String mergeObsoleteId, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId) Merge patient.queryPatientDemographics(MasterPatientIndexQuery mpiQuery, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId) queries the mpi for patient according to the demographics criteria specified.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.voidsetAuditContext(org.openehealth.ipf.commons.audit.AuditContext context) voidsetContext(org.apache.camel.CamelContext context) booleanupdatePatientDemographics(Patient patient, String homeCommunityOid, AffinityDomain affinityDomain, SecurityHeaderElement security, String messageId) updates the demographic information of the patient in the mpi.
-
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 RecordRegistriert 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 patienthomeCommunityOid- local patient domain (oid) of the sourceaffinityDomain- 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 identifierhomeCommunityOid- local patient domain (oid) of the sourcemergeObsoleteId- duplicate patient identifieraffinityDomain- 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 criteriasaffinityDomain- 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 anyFragt 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 patienthomeCommunityOid- local patient domain (oid) of the sourcerequestedCommunityOIDs- array of oids for domains to queryaffinityDomain- 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 patienthomeCommunityOid- local patient domain (oid) of the sourceaffinityDomain- 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)
-