cds-hooks / docs

CDS Hooks website & specification
http://cds-hooks.org
Apache License 2.0
166 stars 61 forks source link

CDS Client capability endpoint proposal #606

Open isaacvetter opened 2 years ago

isaacvetter commented 2 years ago

During the Jan HL7 WGM as part of CDS Hooks 1.1 issue resolution, we talked through this jira, from @bvdh: https://jira.hl7.org/browse/FHIR-28684

Proposal:

CDS Client hosts a well-known json file of key/value pairs describing a CDS Client's support of CDS Hooks towards the goal of enabling sufficiently advanced CDS Services to dynamically re-configuring itself.

GET {some base url, see below}/.well-known/cds-hooks-configuration

{
   "CDS_Client_capabilities":{
      "supported_cards":[
         "info",
         "link",
         "smart-link",
         "suggestion"
      ],
      "support_override_reasons":true,
      "support_feedback_service":false,
      "suggestions_supported":[
         "Condition.create",
         "Condition.update",
         "MedicationRequest.create/update/delete",
         "ServiceRequest.create/update/delete",
         "NutritionOrder.create/update/delete"
      ]
   }
}