IHE / ITI.PDQm

The Patient Demographics Query for Mobile (PDQm) Profile defines a lightweight RESTful interface to a patient demographics supplier leveraging technologies readily available to mobile applications and lightweight browser based applications.
https://profiles.ihe.net/ITI/PDQm/index.html
Creative Commons Attribution 4.0 International
4 stars 1 forks source link

2: 3.78.4.1.3 - recommended improvement to Case 4 #40

Closed lynnfel closed 3 years ago

lynnfel commented 3 years ago

Section Number 2: 3.78.4.1.3 https://profiles.ihe.net/ITI/PDQm/ITI-78.html#2378413-expected-actions.

Issue there are two possible responses to Case 4, but the Operation Outcome is only returned for the 404, right? In that case, move the alternative response after the operation outcome table.

Proposed Change recommend to update case 4 as follows:

The Patient Demographics Supplier does not recognize one or more of the domains specified per Section 3.78.4.1.2.4.

There are two different acceptable return results. The preferred response is a HTTP 404 to indicate that the domain is not recognized, An OperationOutcome Resource is returned indicating that the patient identity domain is not recognized in an issue having:

Otherwise, when the Patient Demographics Supplier cannot determine that the domain is not recognized, it may return a HTTP 200 and a Resource Bundle representing the zero result set. The Patient Demographics Supplier populates the total with a value of 0 indicating no results were found. No entry attributes are provided in the result. **Priority**: - Medium
JohnMoehrke commented 3 years ago

There are two acceptable responses, the choice of which is a policy decision.

I might be convinced that only 404 should be defined.

JohnMoehrke commented 3 years ago

decision: shall return 404 but, ask ititech for reaction to this potential change.

JohnMoehrke commented 3 years ago

question has been asked of ITI-Tech https://groups.google.com/g/ititech/c/3fxc3VgojEI

JohnMoehrke commented 3 years ago
  1. Write it up as closed issue.
  2. Change "does not recognize" to "is not an authority for"
  3. change Operation Outcome to a "warning", not an "error"
  4. change "HTTP 200 with an empty result is" to "HTTP 200 with the results available is"
  5. add to 78.4.3.2 a reminder to the client to follow the safety guidance https://www.hl7.org/fhir/safety.html#search