hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
1.94k stars 1.3k forks source link

Allow CDS hooks extensions to define arbitrary JSON instead of strings #6023

Open AD1306 opened 1 week ago

AD1306 commented 1 week ago

Describe the bug Currently, CDS hooks accepts a String for Extension and when calling cds service discovery endpoint we get a String back for extension. The same happens for request extension and response extension.

Expected behavior CDS hooks should be able to accept arbitrary JSON and return it via discovery endpoint or in the card response if set.