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 Classes Modifier and Type Class Description static classPharm5SearchParameters.Pharm5SearchParametersBuilder
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Pharm5SearchParameters.Pharm5SearchParametersBuilderbuilder()Optional<Comparator<org.hl7.fhir.r4.model.DocumentReference>>comparatorFor(String paramName)ca.uhn.fhir.rest.param.StringParamgetAuthorFamilyName()ca.uhn.fhir.rest.param.StringParamgetAuthorGivenName()ca.uhn.fhir.rest.param.DateRangeParamgetDate()ca.uhn.fhir.rest.param.TokenOrListParamgetEvent()ca.uhn.fhir.rest.param.TokenOrListParamgetFacility()ca.uhn.fhir.context.FhirContextgetFhirContext()ca.uhn.fhir.rest.param.TokenOrListParamgetFormat()ca.uhn.fhir.rest.param.TokenParamgetIdentifier()Set<ca.uhn.fhir.model.api.Include>getIncludeSpec()Pharm5OperationsgetOperation()ca.uhn.fhir.rest.param.TokenParamgetPatientIdentifier()List<ca.uhn.fhir.rest.param.TokenParam>getPatientIdParam()ca.uhn.fhir.rest.param.DateRangeParamgetPeriod()StringgetQueryString(ca.uhn.fhir.context.FhirContext context)ca.uhn.fhir.rest.param.TokenOrListParamgetSecurityLabel()ca.uhn.fhir.rest.param.TokenOrListParamgetSetting()ca.uhn.fhir.rest.api.SortSpecgetSortSpec()ca.uhn.fhir.rest.param.TokenOrListParamgetStatus()Pharm5SearchParameterssetAuthor(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.ParameterstoParameters()Maps thePharm5SearchParametersto an equivalentParameters, for the given FHIR context.StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
getPatientIdParam
public List<ca.uhn.fhir.rest.param.TokenParam> getPatientIdParam()
-
setAuthor
public Pharm5SearchParameters setAuthor(ca.uhn.fhir.rest.param.ReferenceAndListParam author)
-
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
public String getQueryString(ca.uhn.fhir.context.FhirContext context)
-
toParameters
public org.hl7.fhir.r4.model.Parameters toParameters()
Maps thePharm5SearchParametersto an equivalentParameters, for the given FHIR context.
-
builder
public static Pharm5SearchParameters.Pharm5SearchParametersBuilder builder()
-
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
public Pharm5Operations getOperation()
-
setOperation
public void setOperation(Pharm5Operations operation)
-
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
public Set<ca.uhn.fhir.model.api.Include> getIncludeSpec()
-
setIncludeSpec
public void setIncludeSpec(Set<ca.uhn.fhir.model.api.Include> includeSpec)
-
getFhirContext
public ca.uhn.fhir.context.FhirContext getFhirContext()
-
-