Class AbstractPcc44ResourceProvider<T extends IBaseResource>

All Implemented Interfaces:
IResourceProvider, Serializable
Direct Known Subclasses:
AllergyIntoleranceResourceProvider, ConditionResourceProvider, DiagnosticReportResourceProvider, EncounterResourceProvider, ImmunizationResourceProvider, MedicationRequestResourceProvider, MedicationStatementResourceProvider, ObservationResourceProvider, ProcedureResourceProvider

public abstract class AbstractPcc44ResourceProvider<T extends IBaseResource> extends AbstractResourceProvider
Since:
3.6
Author:
Christian Ohr
See Also:
  • Constructor Details

    • AbstractPcc44ResourceProvider

      protected AbstractPcc44ResourceProvider(Class<T> clazz)
  • Method Details

    • getResourceType

      public Class<T> getResourceType()
    • retrieve

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