Class Iti67StrictResourceProvider

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.r4.model.DocumentReference
    documentReferenceRetrieve(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 DocumentReference Retrieve.
    ca.uhn.fhir.rest.api.server.IBundleProvider
    documentReferenceSearch(ca.uhn.fhir.rest.param.ReferenceParam patient, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.ReferenceAndListParam author, ca.uhn.fhir.rest.param.TokenOrListParam category, ca.uhn.fhir.rest.param.TokenOrListParam type, 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, ca.uhn.fhir.rest.param.ReferenceOrListParam related, 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

    • Iti67StrictResourceProvider

      public Iti67StrictResourceProvider()
  • Method Details

    • documentReferenceSearch

      public ca.uhn.fhir.rest.api.server.IBundleProvider documentReferenceSearch(ca.uhn.fhir.rest.param.ReferenceParam patient, ca.uhn.fhir.rest.param.TokenOrListParam status, ca.uhn.fhir.rest.param.TokenParam identifier, ca.uhn.fhir.rest.param.DateRangeParam date, ca.uhn.fhir.rest.param.ReferenceAndListParam author, ca.uhn.fhir.rest.param.TokenOrListParam category, ca.uhn.fhir.rest.param.TokenOrListParam type, 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, ca.uhn.fhir.rest.param.ReferenceOrListParam related, 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)
    • documentReferenceRetrieve

      public org.hl7.fhir.r4.model.DocumentReference documentReferenceRetrieve(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 DocumentReference Retrieve. This is not an actual part of the ITI-67 specification, but in the context of restful FHIR IHE transaction it makes sense to be able to retrieve a DocumentReference by its resource ID.
      Parameters:
      id - resource ID
      httpServletRequest - servlet request
      httpServletResponse - servlet response
      requestDetails - request details
      Returns:
      DocumentReference resource