Class Pharm5SearchParameters
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters<org.hl7.fhir.r4.model.DocumentReference>
org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5SearchParameters
- All Implemented Interfaces:
org.openehealth.ipf.commons.ihe.fhir.FhirSearchParameters
public class Pharm5SearchParameters
extends org.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters<org.hl7.fhir.r4.model.DocumentReference>
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(ca.uhn.fhir.rest.param.TokenParam patientIdentifier, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.StringParam authorFamilyName, ca.uhn.fhir.rest.param.StringParam authorGivenName, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenOrListParam setting, ca.uhn.fhir.rest.param.DateRangeParam period, ca.uhn.fhir.rest.param.TokenOrListParam facility, ca.uhn.fhir.rest.param.TokenOrListParam event, ca.uhn.fhir.rest.param.TokenOrListParam securityLabel, ca.uhn.fhir.rest.param.TokenOrListParam format, Pharm5Operations operation, ca.uhn.fhir.rest.api.SortSpec sortSpec, Set<ca.uhn.fhir.model.api.Include> includeSpec, ca.uhn.fhir.context.FhirContext fhirContext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Optional<Comparator<org.hl7.fhir.r4.model.DocumentReference>>comparatorFor(String paramName) ca.uhn.fhir.rest.param.StringParamca.uhn.fhir.rest.param.StringParamca.uhn.fhir.rest.param.DateRangeParamgetDate()ca.uhn.fhir.rest.param.TokenOrListParamgetEvent()ca.uhn.fhir.rest.param.TokenOrListParamca.uhn.fhir.context.FhirContextca.uhn.fhir.rest.param.TokenOrListParamca.uhn.fhir.rest.param.TokenParamSet<ca.uhn.fhir.model.api.Include>ca.uhn.fhir.rest.param.TokenParamList<ca.uhn.fhir.rest.param.TokenParam>ca.uhn.fhir.rest.param.DateRangeParamgetQueryString(ca.uhn.fhir.context.FhirContext context) ca.uhn.fhir.rest.param.TokenOrListParamca.uhn.fhir.rest.param.TokenOrListParamca.uhn.fhir.rest.api.SortSpecca.uhn.fhir.rest.param.TokenOrListParamsetAuthor(ca.uhn.fhir.rest.param.ReferenceAndListParam author) voidsetAuthorFamilyName(ca.uhn.fhir.rest.param.StringParam authorFamilyName) voidsetAuthorGivenName(ca.uhn.fhir.rest.param.StringParam authorGivenName) voidsetDate(ca.uhn.fhir.rest.param.DateRangeParam date) voidsetEvent(ca.uhn.fhir.rest.param.TokenOrListParam event) voidsetFacility(ca.uhn.fhir.rest.param.TokenOrListParam facility) voidsetFormat(ca.uhn.fhir.rest.param.TokenOrListParam format) voidsetIdentifier(ca.uhn.fhir.rest.param.TokenParam identifier) voidsetIncludeSpec(Set<ca.uhn.fhir.model.api.Include> includeSpec) voidsetOperation(Pharm5Operations operation) voidsetPatientIdentifier(ca.uhn.fhir.rest.param.TokenParam patientIdentifier) voidsetPeriod(ca.uhn.fhir.rest.param.DateRangeParam period) voidsetSecurityLabel(ca.uhn.fhir.rest.param.TokenOrListParam securityLabel) voidsetSetting(ca.uhn.fhir.rest.param.TokenOrListParam setting) voidsetSortSpec(ca.uhn.fhir.rest.api.SortSpec sortSpec) voidsetStatus(ca.uhn.fhir.rest.param.TokenOrListParam status) org.hl7.fhir.r4.model.ParametersMaps 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(ca.uhn.fhir.rest.param.TokenParam patientIdentifier, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.StringParam authorFamilyName, ca.uhn.fhir.rest.param.StringParam authorGivenName, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenOrListParam setting, ca.uhn.fhir.rest.param.DateRangeParam period, ca.uhn.fhir.rest.param.TokenOrListParam facility, ca.uhn.fhir.rest.param.TokenOrListParam event, ca.uhn.fhir.rest.param.TokenOrListParam securityLabel, ca.uhn.fhir.rest.param.TokenOrListParam format, Pharm5Operations operation, ca.uhn.fhir.rest.api.SortSpec sortSpec, Set<ca.uhn.fhir.model.api.Include> includeSpec, ca.uhn.fhir.context.FhirContext fhirContext)
-
-
Method Details
-
getPatientIdParam
-
setAuthor
-
comparatorFor
public Optional<Comparator<org.hl7.fhir.r4.model.DocumentReference>> comparatorFor(String paramName) - Overrides:
comparatorForin classorg.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters<org.hl7.fhir.r4.model.DocumentReference>
-
getQueryString
-
toParameters
public org.hl7.fhir.r4.model.Parameters toParameters()Maps thePharm5SearchParametersto an equivalentParameters, for the given FHIR context. -
builder
-
toString
-
getPatientIdentifier
public ca.uhn.fhir.rest.param.TokenParam getPatientIdentifier() -
setPatientIdentifier
public void setPatientIdentifier(ca.uhn.fhir.rest.param.TokenParam patientIdentifier) -
getDate
public ca.uhn.fhir.rest.param.DateRangeParam getDate() -
setDate
public void setDate(ca.uhn.fhir.rest.param.DateRangeParam date) -
getAuthorFamilyName
public ca.uhn.fhir.rest.param.StringParam getAuthorFamilyName() -
setAuthorFamilyName
public void setAuthorFamilyName(ca.uhn.fhir.rest.param.StringParam authorFamilyName) -
getAuthorGivenName
public ca.uhn.fhir.rest.param.StringParam getAuthorGivenName() -
setAuthorGivenName
public void setAuthorGivenName(ca.uhn.fhir.rest.param.StringParam authorGivenName) -
getIdentifier
public ca.uhn.fhir.rest.param.TokenParam getIdentifier() -
setIdentifier
public void setIdentifier(ca.uhn.fhir.rest.param.TokenParam identifier) -
getStatus
public ca.uhn.fhir.rest.param.TokenOrListParam getStatus() -
setStatus
public void setStatus(ca.uhn.fhir.rest.param.TokenOrListParam status) -
getSetting
public ca.uhn.fhir.rest.param.TokenOrListParam getSetting() -
setSetting
public void setSetting(ca.uhn.fhir.rest.param.TokenOrListParam setting) -
getPeriod
public ca.uhn.fhir.rest.param.DateRangeParam getPeriod() -
setPeriod
public void setPeriod(ca.uhn.fhir.rest.param.DateRangeParam period) -
getFacility
public ca.uhn.fhir.rest.param.TokenOrListParam getFacility() -
setFacility
public void setFacility(ca.uhn.fhir.rest.param.TokenOrListParam facility) -
getEvent
public ca.uhn.fhir.rest.param.TokenOrListParam getEvent() -
setEvent
public void setEvent(ca.uhn.fhir.rest.param.TokenOrListParam event) -
getSecurityLabel
public ca.uhn.fhir.rest.param.TokenOrListParam getSecurityLabel() -
setSecurityLabel
public void setSecurityLabel(ca.uhn.fhir.rest.param.TokenOrListParam securityLabel) -
getFormat
public ca.uhn.fhir.rest.param.TokenOrListParam getFormat() -
setFormat
public void setFormat(ca.uhn.fhir.rest.param.TokenOrListParam format) -
getOperation
-
setOperation
-
getSortSpec
public ca.uhn.fhir.rest.api.SortSpec getSortSpec()- Specified by:
getSortSpecin classorg.openehealth.ipf.commons.ihe.fhir.FhirSearchAndSortParameters<org.hl7.fhir.r4.model.DocumentReference>
-
setSortSpec
public void setSortSpec(ca.uhn.fhir.rest.api.SortSpec sortSpec) -
getIncludeSpec
-
setIncludeSpec
-
getFhirContext
public ca.uhn.fhir.context.FhirContext getFhirContext()
-