I setup up a CDS-Hook Launch Scenario and noticed that the draftOrders included in the invocation is invalid. The entry section of the bundle is just an array of the orders instead of being formatted as an entry with a "resource" attribute. For example, this is what I am seeing in the draftOrders bundle.
"entry": [
{
"resourceType": "MedicationRequest",
"id": "2a7879ba-161c-7a09-f499-94295ae9102c",
.... }
]
While it should be:
"entry": [
{ "resource" : {
"resourceType": "MedicationRequest",
"id": "2a7879ba-161c-7a09-f499-94295ae9102c",
.... }
}
]
I have not used a CDS-Hooks Launch Scenario before, has this been malformed for a while or could it be related to the recent changes that have been made?