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

public abstract class ChPharmacyStableDocumentsQuery extends ChPharmacyDocumentsQuery
Abstract stored query for CH:PHARM-1 stable documents queries.
Author:
Quentin Ligier
See Also:
  • 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

      protected @Nullable List<String> uuids
    • uniqueIds

      protected @Nullable List<String> 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

      protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> eventCodes
    • confidentialityCodes

      protected @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> confidentialityCodes
    • authorPersons

      protected @Nullable List<String> authorPersons
  • Constructor Details

    • ChPharmacyStableDocumentsQuery

      public ChPharmacyStableDocumentsQuery()
      For JAXB serialization only.
    • ChPharmacyStableDocumentsQuery

      protected ChPharmacyStableDocumentsQuery(ChPharm1QueryType queryType)
      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

      public @Nullable List<String> getUuids()
    • setUuids

      public void setUuids(@Nullable List<String> uuids)
    • getUniqueIds

      public @Nullable List<String> getUniqueIds()
    • setUniqueIds

      public void setUniqueIds(@Nullable List<String> uniqueIds)
    • 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

      public @Nullable List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> 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

      public @Nullable List<String> getAuthorPersons()
    • setAuthorPersons

      public void setAuthorPersons(@Nullable List<String> authorPersons)
    • getTypedAuthorPersons

      public List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Person> getTypedAuthorPersons()
      Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection of Person instead of a collection of String. 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 of Person instead of a collection of String for specifying the query parameter "$XDSDocumentEntryAuthorPerson".
      Parameters:
      authorPersons - a collection of Person objects.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ChPharmacyDocumentsQuery
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ChPharmacyDocumentsQuery
    • toString

      public String toString()
      Overrides:
      toString in class ChPharmacyDocumentsQuery