Class Pharm5SearchParameters
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters<DocumentReference>
org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5SearchParameters
- All Implemented Interfaces:
FhirSearchParameters
Search parameters for CMPD PHARM-5 transaction.
- Since:
- 4.3
- Author:
- Christian Ohr, Quentin Ligier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionPharm5SearchParameters(TokenParam patientIdentifier, DateRangeParam date, StringParam authorFamilyName, StringParam authorGivenName, TokenParam identifier, TokenOrListParam status, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam format, Pharm5Operations operation, SortSpec sortSpec, Set<Include> includeSpec, FhirContext fhirContext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()comparatorFor(String paramName) Returns aComparatorto sort resources of type T by given sort parameter name.getDate()getEvent()getQueryString(FhirContext context) setAuthor(ReferenceAndListParam author) voidsetAuthorFamilyName(StringParam authorFamilyName) voidsetAuthorGivenName(StringParam authorGivenName) voidsetDate(DateRangeParam date) voidsetEvent(TokenOrListParam event) voidsetFacility(TokenOrListParam facility) voidsetFormat(TokenOrListParam format) voidsetIdentifier(TokenParam identifier) voidsetIncludeSpec(Set<Include> includeSpec) voidsetOperation(Pharm5Operations operation) voidsetPatientIdentifier(TokenParam patientIdentifier) voidsetPeriod(DateRangeParam period) voidsetSecurityLabel(TokenOrListParam securityLabel) voidsetSetting(TokenOrListParam setting) voidsetSortSpec(SortSpec sortSpec) voidsetStatus(TokenOrListParam status) Maps thePharm5SearchParametersto an equivalentParameters, for the given FHIR context.toString()Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters
noop, sort
-
Constructor Details
-
Pharm5SearchParameters
public Pharm5SearchParameters(TokenParam patientIdentifier, DateRangeParam date, StringParam authorFamilyName, StringParam authorGivenName, TokenParam identifier, TokenOrListParam status, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam format, Pharm5Operations operation, SortSpec sortSpec, Set<Include> includeSpec, FhirContext fhirContext)
-
-
Method Details
-
getPatientIdParam
-
setAuthor
-
comparatorFor
Description copied from class:FhirSearchAndSortParametersReturns aComparatorto sort resources of type T by given sort parameter name. This default implementation keeps the current order, i.e. to implement actual sorting you MUST overwrite this method.- Overrides:
comparatorForin classFhirSearchAndSortParameters<DocumentReference>- Parameters:
paramName- sort parameter- Returns:
- comparator
-
getQueryString
-
toParameters
Maps thePharm5SearchParametersto an equivalentParameters, for the given FHIR context. -
builder
-
toString
-
getPatientIdentifier
-
setPatientIdentifier
-
getDate
-
setDate
-
getAuthorFamilyName
-
setAuthorFamilyName
-
getAuthorGivenName
-
setAuthorGivenName
-
getIdentifier
-
setIdentifier
-
getStatus
-
setStatus
-
getSetting
-
setSetting
-
getPeriod
-
setPeriod
-
getFacility
-
setFacility
-
getEvent
-
setEvent
-
getSecurityLabel
-
setSecurityLabel
-
getFormat
-
setFormat
-
getOperation
-
setOperation
-
getSortSpec
- Specified by:
getSortSpecin classFhirSearchAndSortParameters<DocumentReference>- Returns:
- the sort specification as requested by the client
-
setSortSpec
-
getIncludeSpec
-
setIncludeSpec
-
getFhirContext
-