Class Iti67ResourceProvider
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.fhir.FhirProvider
-
- org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
-
- org.openehealth.ipf.commons.ihe.fhir.iti67.Iti67ResourceProvider
-
- All Implemented Interfaces:
Serializable
public class Iti67ResourceProvider extends AbstractPlainProvider
Resource Provider for MHD (ITI-67).Note (CP by Rick Riemer): When searching for XDS documents with specific referenceIdList values, MHD specifies to use the related-id query parameter. This parameter is of type token (https://www.hl7.org/fhir/search.html#token). The token type does not allow searching for the Identifier.type attribute, which would be a primary use case.
IHE should provide a mechanism to search for referenceIdList values by type, in addition to system and value. Suggestion: don’t use token, but use composite, (https://www.hl7.org/fhir/search.html#composite) and define how to use it for searching against referenceIdList values. A composite parameter could look like: related id=urn:oid:1.2.3.4.5.6|2013001$urn:ihe:iti:xds:2013:accession.
- Since:
- 3.4
- Author:
- Christian Ohr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Iti67ResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.dstu3.model.DocumentReference
documentReferenceRetrieve(org.hl7.fhir.dstu3.model.IdType id, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Handles DocumentReference Retrieve.IBundleProvider
documentReferenceSearch(ReferenceParam patient, TokenOrListParam status, DateRangeParam indexed, ReferenceAndListParam author, TokenOrListParam class_, TokenOrListParam type, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam format, TokenOrListParam relatedId, TokenParam resourceId, SortSpec sortSpec, Set<Include> includeSpec, 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
-
-
-
-
Method Detail
-
documentReferenceSearch
public IBundleProvider documentReferenceSearch(ReferenceParam patient, TokenOrListParam status, DateRangeParam indexed, ReferenceAndListParam author, TokenOrListParam class_, TokenOrListParam type, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam format, TokenOrListParam relatedId, TokenParam resourceId, SortSpec sortSpec, Set<Include> includeSpec, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
-
documentReferenceRetrieve
public org.hl7.fhir.dstu3.model.DocumentReference documentReferenceRetrieve(org.hl7.fhir.dstu3.model.IdType id, 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 IDhttpServletRequest
- servlet requesthttpServletResponse
- servlet responserequestDetails
- request details- Returns:
DocumentReference
resource
-
-