Class PharmacyStableDocumentsQuery
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
org.openehealth.ipf.commons.ihe.xds.core.requests.query.PharmacyDocumentsQuery
org.openehealth.ipf.commons.ihe.xds.core.requests.query.PharmacyStableDocumentsQuery
- All Implemented Interfaces:
Serializable
,PatientIdBasedStoredQuery
- Direct Known Subclasses:
FindDispensesQuery
,FindMedicationAdministrationsQuery
,FindMedicationTreatmentPlansQuery
,FindPrescriptionsForDispenseQuery
,FindPrescriptionsForValidationQuery
,FindPrescriptionsQuery
Abstract stored query for PHARM-1 stable documents queries.
- Since:
- 3.7
- Author:
- Quentin Ligier
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
Query.Visitor
-
Constructor Summary
ModifierConstructorDescriptionFor JAXB serialization only.protected
PharmacyStableDocumentsQuery
(QueryType queryType) Constructs the query. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getUuids()
int
hashCode()
void
setAuthorPersons
(List<String> authorPersons) void
setConfidentialityCodes
(List<Code> confidentialityCodes) void
setEventCodes
(List<Code> eventCodes) void
setHealthcareFacilityTypeCodes
(List<Code> healthcareFacilityTypeCodes) void
setPracticeSettingCodes
(List<Code> practiceSettingCodes) void
setTypedAuthorPersons
(List<Person> authorPersons) void
setUniqueIds
(List<String> uniqueIds) void
toString()
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.PharmacyDocumentsQuery
getMetadataLevel, getPatientId, getStatus, setMetadataLevel, setPatientId, setStatus
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
Constructor Details
-
PharmacyStableDocumentsQuery
public PharmacyStableDocumentsQuery()For JAXB serialization only. -
PharmacyStableDocumentsQuery
Constructs the query.- Parameters:
queryType
- the type of the query.
-
-
Method Details
-
setTypedAuthorPersons
Allows to use a collection ofPerson
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons
- a collection ofPerson
objects.
-
getTypedAuthorPersons
Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection ofPerson
instead of a collection ofString
. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used in one or more elements.- Returns:
- a collection of
Person
objects.
-
equals
- Overrides:
equals
in classPharmacyDocumentsQuery
-
canEqual
- Overrides:
canEqual
in classPharmacyDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPharmacyDocumentsQuery
-
toString
- Overrides:
toString
in classPharmacyDocumentsQuery
-
getUuids
-
setUuids
-
getUniqueIds
-
setUniqueIds
-
getPracticeSettingCodes
-
setPracticeSettingCodes
-
getCreationTime
-
getServiceStartTime
-
getServiceStopTime
-
getHealthcareFacilityTypeCodes
-
setHealthcareFacilityTypeCodes
-
getEventCodes
-
setEventCodes
-
getConfidentialityCodes
-
setConfidentialityCodes
-
getAuthorPersons
-
setAuthorPersons
-