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
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.identifier query parameter. This parameter is of type (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) 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.6
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.DocumentReference
documentReferenceRetrieve
(org.hl7.fhir.r4.model.IdType id, RequestDetails requestDetails, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) Handles DocumentReference Retrieve.documentReferenceSearch
(ReferenceParam patient, TokenOrListParam status, TokenParam identifier, DateRangeParam date, DateRangeParam indexed, ReferenceAndListParam author, TokenOrListParam category, TokenOrListParam class_, TokenOrListParam type, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam label, TokenOrListParam format, ReferenceOrListParam related, TokenOrListParam relatedId, ReferenceOrListParam relatedRef, 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
-
Constructor Details
-
Iti67ResourceProvider
public Iti67ResourceProvider()
-
-
Method Details
-
documentReferenceSearch
public IBundleProvider documentReferenceSearch(ReferenceParam patient, TokenOrListParam status, TokenParam identifier, DateRangeParam date, DateRangeParam indexed, ReferenceAndListParam author, TokenOrListParam category, TokenOrListParam class_, TokenOrListParam type, TokenOrListParam setting, DateRangeParam period, TokenOrListParam facility, TokenOrListParam event, TokenOrListParam securityLabel, TokenOrListParam label, TokenOrListParam format, ReferenceOrListParam related, TokenOrListParam relatedId, ReferenceOrListParam relatedRef, TokenParam resourceId, SortSpec sortSpec, Set<Include> includeSpec, 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, 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
-