Class AbstractPcc44ResourceProvider<T extends IBaseResource>
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirProvider
org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
org.openehealth.ipf.commons.ihe.fhir.AbstractResourceProvider
org.openehealth.ipf.commons.ihe.fhir.pcc44.AbstractPcc44ResourceProvider<T>
- 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrieve
(org.hl7.fhir.r4.model.IdType id, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) Handles Retrieve.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
-
Constructor Details
-
AbstractPcc44ResourceProvider
-
-
Method Details
-
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 IDhttpServletRequest
- servlet requesthttpServletResponse
- servlet responserequestDetails
- request details- Returns:
DocumentManifest
resource
-