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 interfaceVisitor 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 Stringprotected Integerprotected org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiableprotected List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus>protected ChPharm1QueryType -
Constructor Summary
ConstructorsModifierConstructorDescriptionFor JAXB serialization only.protectedChPharmacyDocumentsQuery(ChPharm1QueryType queryType) Constructs the query. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaccept(ChPharmacyDocumentsQuery.Visitor visitor) Accept a visitor to process an instance of this class.booleanList<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code>org.openehealth.ipf.commons.ihe.xds.core.metadata.IdentifiableList<org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus>getType()inthashCode()voidsetFormatCodes(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Code> formatCodes) voidsetHomeCommunityId(String homeCommunityId) voidsetMetadataLevel(Integer metadataLevel) voidsetPatientId(org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable patientEprSpid) voidtoString()
-
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:
getPatientIdin 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:
setPatientIdin 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
-