Class ChPharmacyStableDocumentsQuery
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyDocumentsQuery
org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyStableDocumentsQuery
- All Implemented Interfaces:
Serializable
,org.openehealth.ipf.commons.ihe.xds.core.requests.query.PatientIdBasedStoredQuery
- Direct Known Subclasses:
ChFindDispensesQuery
,ChFindMedicationAdministrationsQuery
,ChFindMedicationTreatmentPlansQuery
,ChFindPrescriptionsForDispenseQuery
,ChFindPrescriptionsForValidationQuery
,ChFindPrescriptionsQuery
Abstract stored query for CH:PHARM-1 stable documents queries.
- Author:
- Quentin Ligier
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyDocumentsQuery
ChPharmacyDocumentsQuery.Visitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
Fields inherited from class org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyDocumentsQuery
extraParameters, formatCodes, homeCommunityId, metadataLevel, patientEprSpid, status, type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionFor JAXB serialization only.protected
ChPharmacyStableDocumentsQuery
(ChPharm1QueryType queryType) Constructs the query. -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange
List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person>
Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection ofPerson
instead of a collection ofString
.getUuids()
int
hashCode()
void
setAuthorPersons
(@Nullable List<String> authorPersons) void
setConfidentialityCodes
(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> confidentialityCodes) void
setEventCodes
(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> eventCodes) void
setHealthcareFacilityTypeCodes
(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> healthcareFacilityTypeCodes) void
setPracticeSettingCodes
(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> practiceSettingCodes) void
setTypedAuthorPersons
(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person> authorPersons) Allows to use a collection ofPerson
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryAuthorPerson".void
setUniqueIds
(@Nullable List<String> uniqueIds) void
toString()
Methods inherited from class org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyDocumentsQuery
accept, getExtraParameters, getFormatCodes, getHomeCommunityId, getMetadataLevel, getPatientId, getStatus, getType, setFormatCodes, setHomeCommunityId, setMetadataLevel, setPatientId, setStatus
-
Field Details
-
creationTime
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange creationTime -
serviceStartTime
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange serviceStartTime -
serviceStopTime
protected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange serviceStopTime -
uuids
-
uniqueIds
-
practiceSettingCodes
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> practiceSettingCodes -
healthcareFacilityTypeCodes
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> healthcareFacilityTypeCodes -
eventCodes
-
confidentialityCodes
protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> confidentialityCodes -
authorPersons
-
-
Constructor Details
-
ChPharmacyStableDocumentsQuery
public ChPharmacyStableDocumentsQuery()For JAXB serialization only. -
ChPharmacyStableDocumentsQuery
Constructs the query.- Parameters:
queryType
- the type of the query.
-
-
Method Details
-
getCreationTime
public org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange getCreationTime() -
getServiceStartTime
public org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange getServiceStartTime() -
getServiceStopTime
public org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRange getServiceStopTime() -
getUuids
-
setUuids
-
getUniqueIds
-
setUniqueIds
-
getPracticeSettingCodes
public @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> getPracticeSettingCodes() -
setPracticeSettingCodes
public void setPracticeSettingCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> practiceSettingCodes) -
getHealthcareFacilityTypeCodes
public @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> getHealthcareFacilityTypeCodes() -
setHealthcareFacilityTypeCodes
public void setHealthcareFacilityTypeCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> healthcareFacilityTypeCodes) -
getEventCodes
-
setEventCodes
public void setEventCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> eventCodes) -
getConfidentialityCodes
public @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> getConfidentialityCodes() -
setConfidentialityCodes
public void setConfidentialityCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> confidentialityCodes) -
getAuthorPersons
-
setAuthorPersons
-
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.
-
setTypedAuthorPersons
public void setTypedAuthorPersons(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person> authorPersons) Allows to use a collection ofPerson
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons
- a collection ofPerson
objects.
-
equals
- Overrides:
equals
in classChPharmacyDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChPharmacyDocumentsQuery
-
toString
- Overrides:
toString
in classChPharmacyDocumentsQuery
-