Class PharmacyStableDocumentsQuery

All Implemented Interfaces:
Serializable, PatientIdBasedStoredQuery
Direct Known Subclasses:
FindDispensesQuery, FindMedicationAdministrationsQuery, FindMedicationTreatmentPlansQuery, FindPrescriptionsForDispenseQuery, FindPrescriptionsForValidationQuery, FindPrescriptionsQuery

public abstract class PharmacyStableDocumentsQuery extends PharmacyDocumentsQuery
Abstract stored query for PHARM-1 stable documents queries.
Since:
3.7
Author:
Quentin Ligier
See Also:
  • Constructor Details

    • PharmacyStableDocumentsQuery

      public PharmacyStableDocumentsQuery()
      For JAXB serialization only.
    • PharmacyStableDocumentsQuery

      protected PharmacyStableDocumentsQuery(QueryType queryType)
      Constructs the query.
      Parameters:
      queryType - the type of the query.
  • Method Details

    • setTypedAuthorPersons

      public void setTypedAuthorPersons(List<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.
    • getTypedAuthorPersons

      public List<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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class PharmacyDocumentsQuery
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class PharmacyDocumentsQuery
    • hashCode

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

      public String toString()
      Overrides:
      toString in class PharmacyDocumentsQuery
    • getUuids

      public List<String> getUuids()
    • setUuids

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

      public List<String> getUniqueIds()
    • setUniqueIds

      public void setUniqueIds(List<String> uniqueIds)
    • getPracticeSettingCodes

      public List<Code> getPracticeSettingCodes()
    • setPracticeSettingCodes

      public void setPracticeSettingCodes(List<Code> practiceSettingCodes)
    • getCreationTime

      public TimeRange getCreationTime()
    • getServiceStartTime

      public TimeRange getServiceStartTime()
    • getServiceStopTime

      public TimeRange getServiceStopTime()
    • getHealthcareFacilityTypeCodes

      public List<Code> getHealthcareFacilityTypeCodes()
    • setHealthcareFacilityTypeCodes

      public void setHealthcareFacilityTypeCodes(List<Code> healthcareFacilityTypeCodes)
    • getEventCodes

      public List<Code> getEventCodes()
    • setEventCodes

      public void setEventCodes(List<Code> eventCodes)
    • getConfidentialityCodes

      public List<Code> getConfidentialityCodes()
    • setConfidentialityCodes

      public void setConfidentialityCodes(List<Code> confidentialityCodes)
    • getAuthorPersons

      public List<String> getAuthorPersons()
    • setAuthorPersons

      public void setAuthorPersons(List<String> authorPersons)