Stream: hapi
Topic: Searching Extensions
Naminder Soorma (May 25 2016 at 12:22):
Hi, I have created an extension to a Patient profile on HAPI server and want to use RESTful to search for this extension type. For example [base]/Patient?extension=http://fhir.nhs.net/StructureDefinition/extension-patient-eye-colour|black
Is this possible as it doesn't work out of the box?
David Hay (May 25 2016 at 18:04):
If you want the extension definition, you actually need to search for the StructureDefinition that defines the extension - eg StructureDefinition?url=http://fhir.nhs.net/StructureDefinition/extension-patient-eye-colour should do it
David Hay (May 25 2016 at 18:05):
If you want patients who have that value for that extension then yes, there is no standard way to do that - the server would need to implement a custom search parameter...
Last updated: Apr 12 2022 at 19:14 UTC