Class ChPharmacyDocumentsQuery
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharmacyDocumentsQuery
- All Implemented Interfaces:
Serializable
,org.openehealth.ipf.commons.ihe.xds.core.requests.query.PatientIdBasedStoredQuery
- Direct Known Subclasses:
ChFindMedicationCardQuery
,ChFindMedicationListQuery
,ChPharmacyStableDocumentsQuery
public abstract class ChPharmacyDocumentsQuery
extends Object
implements org.openehealth.ipf.commons.ihe.xds.core.requests.query.PatientIdBasedStoredQuery, Serializable
Base class for Pharmacy Documents Queries (CH:PHARM-1).
- Author:
- Quentin Ligier
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Visitor interface used for this class to implement the visitor pattern. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String,
org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryList<String>> protected List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
protected String
protected Integer
protected org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable
protected List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus>
protected ChPharm1QueryType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionFor JAXB serialization only.protected
ChPharmacyDocumentsQuery
(ChPharm1QueryType queryType) Constructs the query. -
Method Summary
Modifier and TypeMethodDescriptionabstract void
accept
(ChPharmacyDocumentsQuery.Visitor visitor) Accept a visitor to process an instance of this class.boolean
List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>
org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable
List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus>
getType()
int
hashCode()
void
setFormatCodes
(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> formatCodes) void
setHomeCommunityId
(String homeCommunityId) void
setMetadataLevel
(Integer metadataLevel) void
setPatientId
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable patientEprSpid) void
toString()
-
Field Details
-
type
-
homeCommunityId
-
extraParameters
-
patientEprSpid
protected org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable patientEprSpid -
status
-
metadataLevel
-
formatCodes
-
-
Constructor Details
-
ChPharmacyDocumentsQuery
public ChPharmacyDocumentsQuery()For JAXB serialization only. -
ChPharmacyDocumentsQuery
Constructs the query.- Parameters:
queryType
- the type of the query.
-
-
Method Details
-
getType
-
getHomeCommunityId
-
setHomeCommunityId
-
getExtraParameters
-
getPatientId
public org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable getPatientId()- Specified by:
getPatientId
in interfaceorg.openehealth.ipf.commons.ihe.xds.core.requests.query.PatientIdBasedStoredQuery
-
setPatientId
public void setPatientId(org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable patientEprSpid) - Specified by:
setPatientId
in interfaceorg.openehealth.ipf.commons.ihe.xds.core.requests.query.PatientIdBasedStoredQuery
-
getStatus
-
setStatus
public void setStatus(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus> status) -
getMetadataLevel
-
setMetadataLevel
-
getFormatCodes
-
setFormatCodes
public void setFormatCodes(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> formatCodes) -
accept
Accept a visitor to process an instance of this class.- Parameters:
visitor
- the visitor implementation.
-
equals
-
hashCode
public int hashCode() -
toString
-