Hello,
HAPI DSTU3 library returns an error when trying to request a DetectedIssue by a patient identifier using a chained request.
The query with the Chained command is:
https://localhost:3001/fhir/v1/DetectedIssue?patient.identifier=ABC123ABC
Error returned by hapi library:
Invalid search parameter "patient.identifier".Parameter contains a chain(.identifier) and chains are not supported for this parameter(chaining is allowed only on reference parameters)
As per FHIR search documentation below is allowed.(https://www.hl7.org/fhir/search.html)
GET [base]/DiagnosticReport?subject.name=peter
So,
GET [base]/DetectedIssue?patient.identifier=ABC123ABC should be allowed?
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/f6de8c92-6e86-4422-a6b5-19c3cd7e31fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi NDivvala,What version of the library are you seeing this with? And is this with JPA or with your own custom server?I'm not seeing the same behaviour on our public server, whcih is on the latest 2.5 snapshot ofg HAPI: http://fhirtest.uhn.ca/baseDstu3/DetectedIssue?patient.identifier=ABC123ABCCheers,James
On Fri, May 26, 2017 at 12:14 PM, <ndiv...@gmail.com> wrote:
Hello,
HAPI DSTU3 library returns an error when trying to request a DetectedIssue by a patient identifier using a chained request.
The query with the Chained command is:
https://localhost:3001/fhir/v1/DetectedIssue?patient.identifier=ABC123ABC
Error returned by hapi library:
Invalid search parameter "patient.identifier".Parameter contains a chain(.identifier) and chains are not supported for this parameter(chaining is allowed only on reference parameters)
As per FHIR search documentation below is allowed.(https://www.hl7.org/fhir/search.html)
GET [base]/DiagnosticReport?subject.name=peter
So,
GET [base]/DetectedIssue?patient.identifier=ABC123ABC should be allowed?
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/e14fd939-3db2-4ff9-9ec7-f4b420392cc5%40googlegroups.com.