Class Iti66ListResourceProvider

java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirProvider
org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
org.openehealth.ipf.commons.ihe.fhir.iti66.Iti66ListResourceProvider
All Implemented Interfaces:
Serializable

public class Iti66ListResourceProvider extends org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
Resource Provider for MHD (ITI-66 List)
Since:
4.8
Author:
Christian Ohr
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.r4.model.ListResource
    listRetrieve(org.hl7.fhir.r4.model.IdType id, ca.uhn.fhir.rest.api.server.RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
    Handles List Retrieve.
    ca.uhn.fhir.rest.api.server.IBundleProvider
    listSearch(ca.uhn.fhir.rest.param.ReferenceParam patient, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.ReferenceAndListParam author, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.TokenOrListParam code, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenOrListParam sourceId, ca.uhn.fhir.rest.param.TokenOrListParam designationType, ca.uhn.fhir.rest.param.TokenParam resourceId, ca.uhn.fhir.rest.api.SortSpec sortSpec, Set<ca.uhn.fhir.model.api.Include> includeSpec, ca.uhn.fhir.rest.api.server.RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
     

    Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider

    getFhirContext, getRequestConsumer, requestAction, requestBundle, requestBundleProvider, requestResource, setConsumer, unsetConsumer

    Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.FhirProvider

    enrichParameters, requiresDeregistration, requiresRegistration

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Iti66ListResourceProvider

      public Iti66ListResourceProvider()
  • Method Details

    • listSearch

      public ca.uhn.fhir.rest.api.server.IBundleProvider listSearch(ca.uhn.fhir.rest.param.ReferenceParam patient, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.ReferenceAndListParam author, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.TokenOrListParam code, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenOrListParam sourceId, ca.uhn.fhir.rest.param.TokenOrListParam designationType, ca.uhn.fhir.rest.param.TokenParam resourceId, ca.uhn.fhir.rest.api.SortSpec sortSpec, Set<ca.uhn.fhir.model.api.Include> includeSpec, ca.uhn.fhir.rest.api.server.RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
    • listRetrieve

      public org.hl7.fhir.r4.model.ListResource listRetrieve(org.hl7.fhir.r4.model.IdType id, ca.uhn.fhir.rest.api.server.RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
      Handles List Retrieve. This is not an actual part of the ITI-66 specification, but in the context of restful FHIR IHE transaction it makes sense to be able to retrieve a ListResource by its resource ID.
      Parameters:
      id - resource ID
      httpServletRequest - servlet request
      httpServletResponse - servlet response
      requestDetails - request details
      Returns:
      ListResource resource