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
ConstructorsModifierConstructorDescriptionFor JAXB serialization only.protectedPharmacyStableDocumentsQuery(QueryType queryType) Constructs the query. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetUuids()inthashCode()voidsetAuthorPersons(List<String> authorPersons) voidsetConfidentialityCodes(List<Code> confidentialityCodes) voidsetEventCodes(List<Code> eventCodes) voidsetHealthcareFacilityTypeCodes(List<Code> healthcareFacilityTypeCodes) voidsetPracticeSettingCodes(List<Code> practiceSettingCodes) voidsetTypedAuthorPersons(List<Person> authorPersons) voidsetUniqueIds(List<String> uniqueIds) voidtoString()Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.PharmacyDocumentsQuery
getMetadataLevel, getPatientId, getStatus, setMetadataLevel, setPatientId, setStatusMethods 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 ofPersoninstead of a collection ofStringfor specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons- a collection ofPersonobjects.
-
getTypedAuthorPersons
Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection ofPersoninstead of a collection ofString. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used in one or more elements.- Returns:
- a collection of
Personobjects.
-
equals
- Overrides:
equalsin classPharmacyDocumentsQuery
-
canEqual
- Overrides:
canEqualin classPharmacyDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCodein classPharmacyDocumentsQuery
-
toString
- Overrides:
toStringin classPharmacyDocumentsQuery
-
getUuids
-
setUuids
-
getUniqueIds
-
setUniqueIds
-
getPracticeSettingCodes
-
setPracticeSettingCodes
-
getCreationTime
-
getServiceStartTime
-
getServiceStopTime
-
getHealthcareFacilityTypeCodes
-
setHealthcareFacilityTypeCodes
-
getEventCodes
-
setEventCodes
-
getConfidentialityCodes
-
setConfidentialityCodes
-
getAuthorPersons
-
setAuthorPersons
-