Class Iti83ResourceProvider
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.fhir.FhirProvider
-
- org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
-
- org.openehealth.ipf.commons.ihe.fhir.iti83.Iti83ResourceProvider
-
- All Implemented Interfaces:
Serializable
public class Iti83ResourceProvider extends AbstractPlainProvider
According to the PIXM specification, this resource provider must handle requests in the form GET [base]/Patient/$ihe-pix?sourceIdentifier=[token]]{&targetSystem=[uri]}{&_format=[mime-type]} Also allows a non-standard read with GET [base]/Patient/[id]/$ihe-pix- Since:
- 3.4
- Author:
- Christian Ohr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Iti83ResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.dstu3.model.Parameters
pixmQuery(org.hl7.fhir.dstu3.model.IdType resourceId, TokenParam sourceIdentifierParam, UriParam targetSystemParam, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Handles the PIXm Query-
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
-
-
-
-
Method Detail
-
pixmQuery
public org.hl7.fhir.dstu3.model.Parameters pixmQuery(org.hl7.fhir.dstu3.model.IdType resourceId, TokenParam sourceIdentifierParam, UriParam targetSystemParam, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Handles the PIXm Query- Parameters:
resourceId
- resource ID, optionalsourceIdentifierParam
- Identifier to search for. Should be anIdentifier
, but obviously non-primitive types are forbidden in GET operationstargetSystemParam
- target system URI- Returns:
Parameters
containing found identifiers
-
-