Stream: cds hooks
Topic: Coding data type
Matt Varghese (May 13 2020 at 23:16):
Both card.source.topic
, and card.overrideReasons[i]
are objects which have properties code, system, and display. So should these be two different types Topic, and OverrideReason, or should we start defining datatypes in CDS Hooks? if we make a Coding, that can be the type for both card.source.topic
, and card.overrideReasons[i]
. And we can also make feedback[i].overrideReason
contain a Coding object and a string userComment
?
Matt Varghese (May 13 2020 at 23:17):
And that also leads to the question, should we reuse FHIR Coding type for this?
Last updated: Apr 12 2022 at 19:14 UTC