Class PdqV3Query
java.lang.Object
org.projecthusky.communication.CamelService
org.projecthusky.communication.mpi.impl.PixPdqV3QueryBase
org.projecthusky.communication.mpi.impl.PdqV3Query
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
PdqV3Query
PdqV3Query implements the ITI-47 PDQ Consumer
-
Field Summary
Fields inherited from class org.projecthusky.communication.mpi.impl.PixPdqV3QueryBase
domainToReturnNamespace, domainToReturnOid, homeCommunityNamespace, homeCommunityOid, otherOidIds, pdqConsumerUri, pixQueryUri, pixSourceUri, receiverApplicationOid, receiverFacilityOid, senderApplicationOid, senderFacilityOid
-
Constructor Summary
ConstructorsConstructorDescriptionPdqV3Query
(AffinityDomain affinityDomain, String homeCommunityOid, String homeCommunityNameSpace, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditContext) PdqV3Query
(AffinityDomain affinityDomain, String homeCommunityOid, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.ihe.gazelle.hl7v3.prpamt201310UV02.PRPAMT201310UV02Patient
getPatientByIndex
(V3PdqConsumerResponse v3PdqConsumerResponse, int patientIndex) Get the specified patient object.getPatientsFromPdqQuery
(V3PdqConsumerResponse response) Gets the patients from pdq query.queryPatients
(V3PdqQuery mpiQuery, SecurityHeaderElement assertion, String messageId) Performs a PDQ Query (ITI-47)Methods inherited from class org.projecthusky.communication.mpi.impl.PixPdqV3QueryBase
addDemographicData, addDemographicData, addLanguageCommunications, addLanguageCommunications, addPatientAddresses, addPatientAddresses, addPatientIds, addPatientIds, addPatientName, addPatientName, addPatientTelecoms, addPatientTelecoms, getAddressFromAD, getMixedValue, getPatientAddress, setAffinityDomain, setBirthPlace, setBirthPlace, setDeceased, setDeceased, setEmployee, setEmployee, setMultipeBirth, setMultipeBirth, setNation, setNation, setPatientBirthTime, setPatientBirthTime, setPatientGender, setPatientGender, setPatientMaritalStatus, setPatientMaritalStatus, setPatientMothersMaidenName, setPatientMothersMaidenName, setPatientReligiousAffiliation, setPatientReligiousAffiliation, setScopingOrganization, setScopingOrganization
Methods inherited from class org.projecthusky.communication.CamelService
addHttpHeader, addWssHeader, getAuditContext, getCamelContext, send, setAuditContext, setCamelContext
-
Constructor Details
-
PdqV3Query
public PdqV3Query() -
PdqV3Query
public PdqV3Query(AffinityDomain affinityDomain, String homeCommunityOid, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditContext) -
PdqV3Query
public PdqV3Query(AffinityDomain affinityDomain, String homeCommunityOid, String homeCommunityNameSpace, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditContext)
-
-
Method Details
-
queryPatients
public V3PdqQueryResponse queryPatients(V3PdqQuery mpiQuery, SecurityHeaderElement assertion, String messageId) Performs a PDQ Query (ITI-47)- Parameters:
mpiQuery
- the mpi query objectassertion
- a security header element for example an assertion- Returns:
- the v3 pdq query response
-
getPatientsFromPdqQuery
Gets the patients from pdq query.- Parameters:
response
- the response- Returns:
- the patients from pdq query
-
getPatientByIndex
protected net.ihe.gazelle.hl7v3.prpamt201310UV02.PRPAMT201310UV02Patient getPatientByIndex(V3PdqConsumerResponse v3PdqConsumerResponse, int patientIndex) Get the specified patient object.- Parameters:
v3PdqConsumerResponse
- the consumer responsepatientIndex
- the patient index- Returns:
- PRPAMT201310UV02Patient - the patient object at the specified index.
-