Stream: conformance
Topic: capability to _revInclude
 John Moehrke (Jul 05 2019 at 20:06):
 John Moehrke (Jul 05 2019 at 20:06):
I see CapabilityStatement.rest.resource.searchRevInclude now in the CapabilityStatement, but I am not clear on how to use it. My use-case is to indicate that my server does support reverse include for Provenance resources. That is to say that all queries of all the resources I support can have a reverse include for Provenance of the results... what would this look like in a capability statement?
 Eric Haas (Jul 08 2019 at 15:14):
 Eric Haas (Jul 08 2019 at 15:14):
For example :
 Eric Haas (Jul 08 2019 at 15:14):
 Eric Haas (Jul 08 2019 at 15:14):
GET [base]/MedicationRequest?_revinclude=Provenance:target
 Eric Haas (Jul 08 2019 at 15:18):
 Eric Haas (Jul 08 2019 at 15:18):
in the CS would have
 Eric Haas (Jul 08 2019 at 15:18):
 Eric Haas (Jul 08 2019 at 15:18):
     ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchInclude" : [
            "MedicationRequest:medication"
          ],
          ,
          "searchRevInclude" : [
            "Provenance:target"
          ],
 Eric Haas (Jul 08 2019 at 15:21):
 Eric Haas (Jul 08 2019 at 15:21):
this would be in every CapabilityStatement.rest.resource
 John Moehrke (Jul 08 2019 at 15:43):
 John Moehrke (Jul 08 2019 at 15:43):
Excellent. thanks. I will try that.
Last updated: Apr 12 2022 at 19:14 UTC
 
                