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
  • 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

      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:
      comparatorFor in class org.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 the Pharm5SearchParameters to an equivalent Parameters, for the given FHIR context.
    • builder

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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:
      getSortSpec in class org.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()