Open KelvinKaYiuLok opened 5 years ago
Suggest support for this is removed as it doesn't make sense operationally without parameters. (If current medication is required it should really be a FHIR operation)
It is not recommended in Care Connect Query API, so no issue there.
I think it would be useful to find relating resources for a specific patient. The _revinclude operation in the above statement works fine on other HAPI servers.
This GET request https://data.developer.nhs.uk/ccri-fhir/STU3/MedicationStatement?patient=1010&_format=json will return the payload of the MedicationStatement where the patient logical id is 1010. However, this GET request https://data.developer.nhs.uk/ccri-fhir/STU3/Patient?_id=1010&_format=json&_revinclude=MedicationStatement:patient returns the patient with the logical id of 1010 but the MedicationStatement payload does not return.