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.TimeRangeprotected @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.TimeRangeprotected final org.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRangeFields 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.protectedChPharmacyStableDocumentsQuery(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.TimeRangeorg.openehealth.ipf.commons.ihe.xds.core.metadata.TimeRangeList<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person>Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection ofPersoninstead of a collection ofString.getUuids()inthashCode()voidsetAuthorPersons(@Nullable List<String> authorPersons) voidsetConfidentialityCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> confidentialityCodes) voidsetEventCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> eventCodes) voidsetHealthcareFacilityTypeCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> healthcareFacilityTypeCodes) voidsetPracticeSettingCodes(@Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> practiceSettingCodes) voidsetTypedAuthorPersons(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person> authorPersons) Allows to use a collection ofPersoninstead of a collection ofStringfor specifying the query parameter "$XDSDocumentEntryAuthorPerson".voidsetUniqueIds(@Nullable List<String> uniqueIds) voidtoString()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 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.
-
setTypedAuthorPersons
public void setTypedAuthorPersons(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person> authorPersons) Allows to use a collection ofPersoninstead of a collection ofStringfor specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons- a collection ofPersonobjects.
-
equals
- Overrides:
equalsin classChPharmacyDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCodein classChPharmacyDocumentsQuery
-
toString
- Overrides:
toStringin classChPharmacyDocumentsQuery
-